Skip to content

Vector datastore written in kdb+/q. Requires a kdb+ license and QHOME to be set.

Notifications You must be signed in to change notification settings

lethalazo/kVecDb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kVecDb

WIP

Requires a kdb+ license and ability to run q.
Follow this link to download and setup kdb+ https://code.kx.com/q/learn/install/
Once kdb+ is installed and q is setup, the datastore server can be run by doing q kVecDb.q -p <port> in this directory.

A vector datastore implementation in kbd+/q.
Python client and an example notebook included.

Generating embeddings in the Python client using SentenceTransformer and the open source all-MiniLM-L6-v2 model. The datastore does not generate embeddings, it only accepts a vector of floats (embeddings) and the corresponding string to store the data.

The datastore takes care of performing a similarity operation (cosine similarity) when retrieving the data given a vector of floats (embeddings).

About

Vector datastore written in kdb+/q. Requires a kdb+ license and QHOME to be set.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages