class AstraDBVectorStoreEmbeddings interface for generating vector embeddings from text queries, enabling vector-based similarity searches.
Returns a string representing the type of vector store, which subclasses must implement to identify their specific vector storage type.
Method that adds documents to AstraDB.
Method to save vectors to AstraDB.
Creates a VectorStoreRetriever instance with flexible configuration options.
Method that deletes documents from AstraDB.
Create a new collection in your Astra DB vector database and then connects to it. If the collection already exists, it will connect to it as well.
Return documents selected using the maximal marginal relevance. Maximal marginal relevance optimizes for similarity to the query AND diversity among selected documents.
Searches for documents similar to a text query by embedding the query and performing a similarity search on the resulting vector.
Method that performs a similarity search in AstraDB and returns and similarity scores.
Searches for documents similar to a text query by embedding the query, and returns results with similarity scores.
Static method to create an instance of AstraDBVectorStore from documents.
Static method to create an instance of AstraDBVectorStore from an existing index.
Static method to create an instance of AstraDBVectorStore from 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.