- exact and approximate nearest neighbor search
- L2 distance, inner product, and cosine distance
Kinetica).
This needs an instance of Kinetica which can easily be setup using the instructions given here - installation instruction.
OpenAIEmbeddings so we have to get the OpenAI API Key.
.env file of the project:
KINETICA_URL: Database connection URL (e.g.http://localhost:9191)KINETICA_USER: Database userKINETICA_PASSWD: Secure password.
Similarity search with euclidean distance (Default)
The Kinetica Module will try to create a table with the name of the collection. So, make sure that the collection name is unique and the user has the permission to create a table.Working with vectorstore
Adding documents
Above, we created a vectorstore from scratch. However, often times we want to work with an existing vectorstore. In order to do that, we can initialize it directly.Overriding a vectorstore
If you have an existing collection, you override it by doingfrom_documents and setting pre_delete_collection = True
Using a VectorStore as a retriever
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.