vectorstores
#
Vector store stores embedded data and performs vector search.
One of the most common ways to store and search over unstructured data is to embed it and store the resulting embedding vectors, and then query the store and retrieve the data that are ‘most similar’ to the embedded query.
Class hierarchy:
VectorStore --> <name> # Examples: Annoy, FAISS, Milvus
BaseRetriever --> VectorStoreRetriever --> <name>Retriever # Example: VespaRetriever
Main helpers:
Embeddings, Document
Classes
|
Aerospike vector store. |
|
Alibaba Cloud OpenSearch vector store. |
|
Alibaba Cloud Opensearch` client configuration. |
|
AnalyticDB (distributed PostgreSQL) vector store. |
|
Annoy vector store. |
|
Apache Doris vector store. |
Apache Doris client configuration. |
|
|
Create a vectorstore backed by ApertureDB |
|
Atlas vector store. |
|
AwaDB vector store. |
Azure Cosmos DB for MongoDB vCore vector store. |
|
Cosmos DB Similarity Type as enumerator. |
|
|
Cosmos DB Vector Search Type as enumerator. |
|
Azure Cosmos DB for NoSQL vector store. |
|
Azure Cognitive Search vector store. |
Retriever that uses Azure Cognitive Search. |
|
|
|
Baidu Elasticsearch vector store. |
|
Baidu VectorDB as a vector store. |
|
Baidu VectorDB Connection params. |
|
|
Baidu VectorDB table params. |
|
Apache Cassandra(R) for vector-store workloads. |
|
Clarifai AI vector store. |
|
ClickHouse vector store integration. |
ClickHouse client configuration. |
|
DashVector vector store. |
|
Activeloop Deep Lake vector store. |
|
|
Dingo vector store. |
Base class for DocArray based vector stores. |
|
HnswLib storage using DocArray package. |
|
In-memory DocArray storage for exact search. |
|
DocumentDB Similarity Type as enumerator. |
|
Amazon DocumentDB (with MongoDB compatibility) vector store. |
|
|
DuckDB vector store. |
ecloud Elasticsearch vector store. |
|
Base class for Elasticsearch retrieval strategies. |
|
|
Wrapper around Epsilla vector database. |
|
FAISS vector store integration. |
|
SAP HANA Cloud Vector Engine |
|
Hippo vector store. |
|
Hologres API vector store. |
Helper class for Infinispan REST interface. |
|
Infinispan VectorStore interface. |
|
|
Jaguar API vector store. |
|
KDB.AI vector store. |
|
Some default dimensions for known embeddings. |
Enumerator of the Distance strategies. |
|
|
Kinetica vector store. |
Kinetica client configuration. |
|
|
LanceDB vector store. |
Base class for the Lantern embedding store. |
|
Enumerator of the Distance strategies. |
|
|
Postgres with the lantern extension as a vector store. |
Result from a query. |
|
Implementation of Vector Store using LLMRails. |
|
Retriever for LLMRails. |
|
ManticoreSearch Engine vector store. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
|
Marqo vector store. |
|
Meilisearch vector store. |
Momento Vector Index (MVI) vector store. |
|
|
MyScale vector store. |
MyScale client configuration. |
|
MyScale vector store without metadata column |
|
|
Enumerator of the index types. |
|
Neo4j vector index. |
Enumerator of the Distance strategies. |
|
|
NucliaDB vector store. |
|
Amazon OpenSearch Vector Engine vector store. |
|
OracleVS vector store. |
VectorStore connecting to Pathway Vector Store. |
|
|
Base model for all SQL stores. |
Collection store. |
|
|
Embedding store. |
|
Postgres with the pg_embedding extension as a vector store. |
Result from a query. |
|
|
VectorStore backed by pgvecto_rs. |
|
Base model for the SQL stores. |
Enumerator of the Distance strategies. |
|
Qdrant related exceptions. |
|
|
Redis vector database. |
Retriever for Redis VectorStore. |
|
Collection of RedisFilterFields. |
|
Logical expression of RedisFilterFields. |
|
Base class for RedisFilterFields. |
|
RedisFilterOperator enumerator is used to create RedisFilterExpressions. |
|
RedisFilterField representing a numeric field in a Redis index. |
|
RedisFilterField representing a tag in a Redis index. |
|
RedisFilterField representing a text field in a Redis index. |
|
Schema for flat vector fields in Redis. |
|
Schema for HNSW vector fields in Redis. |
|
Schema for numeric fields in Redis. |
|
Distance metrics for Redis vector fields. |
|
Base class for Redis fields. |
|
Schema for Redis index. |
|
Base class for Redis vector fields. |
|
Schema for tag fields in Redis. |
|
Schema for text fields in Redis. |
|
|
Relyt (distributed PostgreSQL) vector store. |
|
Rockset vector store. |
|
ScaNN vector store. |
|
SemaDB vector store. |
SingleStore DB vector store. |
|
|
Base class for serializing data. |
|
Serialize data in Binary JSON using the bson python package. |
|
Serialize data in JSON using the json package from python standard library. |
Serialize data in Apache Parquet format using the pyarrow package. |
|
Simple in-memory vector store based on the scikit-learn library NearestNeighbors. |
|
Exception raised by SKLearnVectorStore. |
|
|
SQLite with Vec extension as a vector database. |
|
SQLite with VSS extension as a vector database. |
|
StarRocks vector store. |
StarRocks client configuration. |
|
Supabase Postgres vector store. |
|
SurrealDB as Vector Store. |
|
|
Tair vector store. |
Tencent vector DB Connection params. |
|
Tencent vector DB Index params. |
|
MetaData Field for Tencent vector DB. |
|
Tencent VectorDB as a vector store. |
|
Vectorstore that uses ThirdAI's NeuralDB Enterprise Python Client for NeuralDBs. |
|
Vectorstore that uses ThirdAI's NeuralDB. |
|
TiDB Vector Store. |
|
|
Tigris vector store. |
|
TileDB vector store. |
Timescale Postgres vector store |
|
|
Typesense vector store. |
Upstash Vector vector store |
|
|
USearch vector store. |
|
Enumerator of the Distance strategies for calculating distances between vectors. |
|
Vald vector database. |
|
Intel Lab's VDMS for vector-store workloads. |
|
Initialize vearch vector store flag 1 for cluster,0 for standalone |
|
Configuration for Maximal Marginal Relevance (MMR) search. |
Configuration for Reranker. |
|
Configuration for summary generation. |
|
|
Vectara API vector store. |
|
Configuration for Vectara query. |
|
Vectara RAG runnable. |
Vectara Retriever class. |
|
|
Vespa vector store. |
|
vikingdb as a vector store |
|
vikingdb connection config |
|
VLite is a simple and fast vector database for semantic search. |
|
Weaviate vector store. |
|
Xata vector store. |
|
Yellowbrick as a vector database. |
|
Configuration for a Zep Collection. |
|
Zep vector store. |
Zep vector store. |
|
|
Zilliz vector store. |
Functions
|
Create metadata from fields. |
Import annoy if available, otherwise raise error. |
|
|
Check if a string contains multiple substrings. |
Import faiss if available, otherwise raise error. |
|
Import lancedb package. |
|
Converts a dict filter to a LanceDB filter string. |
|
Get the embedding store class. |
|
|
Check if a string contains multiple substrings. |
Check if the values are not None or empty string |
|
Transform the input data into the desired format. |
|
Combine multiple queries with an operator. |
|
Construct a metadata filter. |
|
Convert a dictionary to a YAML-like string without using external libraries. |
|
Remove Lucene special characters |
|
Sort first element to match the index_name if exists |
|
|
Create an index on the vector store. |
Drop an index if it exists. |
|
Drop a table and purge it from the database. |
|
Decorator to call the synchronous method of the class if the async method is not implemented. |
|
Check if Redis index exists. |
|
Decorator to check for misuse of equality operators. |
|
Read in the index schema from a dict or yaml file. |
|
Import scann if available, otherwise raise error. |
|
Normalize vectors to unit length. |
|
Serializes a list of floats into a compact "raw bytes" format |
|
Print a debug message if DEBUG is True. |
|
Get a named result from a query. |
|
|
Check if a string has multiple substrings. |
Translate LangChain filter to Tencent VectorDB filter. |
|
Import tiledb-vector-search if available, otherwise raise error. |
|
Get the URI of the documents array. |
|
|
Get the URI of the documents array from group. |
Get the URI of the vector index. |
|
Get the URI of the vector index. |
|
Import usearch if available, otherwise raise error. |
|
Filter out metadata types that are not supported for a vector store. |
|
Calculate maximal marginal relevance. |
|
|
VDMS client for the VDMS server. |
|
Convert embedding to bytes. |
Deprecated classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|