Kinetica is a database with integrated support for vector similarity searchIt supports:
- 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.
Similarity Search with Euclidean Distance (Default)
Working with vectorstore
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.Add documents
We can add documents to the existing vectorstore.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 programmatically to Claude, VSCode, and more via MCP for real-time answers.