class CassandraStoreClass for interacting with the Cassandra database. It extends the VectorStore class and provides methods for adding vectors and documents, searching for similar vectors, and creating instances from texts or documents.
Embeddings 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 to add documents to the Cassandra database.
Method to save vectors to the Cassandra database.
Creates a VectorStoreRetriever instance with flexible configuration options.
Deletes documents from the vector store based on the specified parameters.
Method to search for vectors that are similar to a given query vector, but with the results selected using the maximal marginal relevance.
Helper method to search for vectors that are similar to a given query vector.
Searches for documents similar to a text query by embedding the query and performing a similarity search on the resulting vector.
Method to search for vectors that are similar to a given query vector.
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 CassandraStore from documents.
Static method to create an instance of CassandraStore from an existing index.
Static method to create an instance of CassandraStore 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.