class SingleStoreVectorStoreClass for interacting with SingleStoreDB, a high-performance distributed SQL database. It provides vector storage and vector functions.
Embeddings interface for generating vector embeddings from text queries, enabling vector-based similarity searches.
Defines the filter type used in search and delete operations. Can be an object for structured conditions or a string for simpler filtering.
Returns a string representing the type of vector store, which subclasses must implement to identify their specific vector storage type.
Adds new documents to the SingleStoreDB database.
Adds new vectors to the SingleStoreDB database.
Creates a VectorStoreRetriever instance with flexible configuration options.
Creates a new table in the SingleStoreDB database if it does not already exist.
Deletes documents from the vector store based on the specified parameters.
Ends the connection to the SingleStoreDB database.
Return documents selected using the maximal marginal relevance. Maximal marginal relevance optimizes for similarity to the query AND diversity among selected documents.
Sets the search configuration for the SingleStoreVectorStore instance.
Performs a similarity search on the texts stored in the SingleStoreDB
Performs a similarity search on the texts stored in the SingleStoreDB using the specified search strategy and distance metric.
Performs a similarity search on the vectors stored in the SingleStoreDB database.
Performs a similarity search on the texts stored in the SingleStoreDB
Creates a new instance of the SingleStoreVectorStore class from a list of Document objects.
Creates a new instance of the SingleStoreVectorStore class from a list of texts.
The name of the serializable. Override to provide an alias or to preserve the serialized module name in minified environments.
Implemented as a static method to support loading logic.