vectorstores#

Classes

vectorstores.inmemorydb.base.InMemoryVectorStore(...)

InMemoryVectorStore vector database.

vectorstores.inmemorydb.base.InMemoryVectorStoreRetriever

Retriever for InMemoryVectorStore.

vectorstores.inmemorydb.filters.InMemoryDBFilter()

Collection of InMemoryDBFilterFields.

vectorstores.inmemorydb.filters.InMemoryDBFilterExpression([...])

Logical expression of InMemoryDBFilterFields.

vectorstores.inmemorydb.filters.InMemoryDBFilterField(field)

Base class for InMemoryDBFilterFields.

vectorstores.inmemorydb.filters.InMemoryDBFilterOperator(value)

InMemoryDBFilterOperator enumerator is used to create InMemoryDBFilterExpressions

vectorstores.inmemorydb.filters.InMemoryDBNum(field)

InMemoryDBFilterField representing a numeric field in a InMemoryDB index.

vectorstores.inmemorydb.filters.InMemoryDBTag(field)

InMemoryDBFilterField representing a tag in a InMemoryDB index.

vectorstores.inmemorydb.filters.InMemoryDBText(field)

InMemoryDBFilterField representing a text field in a InMemoryDB index.

vectorstores.inmemorydb.schema.FlatVectorField

Schema for flat vector fields in Redis.

vectorstores.inmemorydb.schema.HNSWVectorField

Schema for HNSW vector fields in Redis.

vectorstores.inmemorydb.schema.InMemoryDBDistanceMetric(value)

Distance metrics for Redis vector fields.

vectorstores.inmemorydb.schema.InMemoryDBField

Base class for Redis fields.

vectorstores.inmemorydb.schema.InMemoryDBModel

Schema for MemoryDB index.

vectorstores.inmemorydb.schema.InMemoryDBVectorField

Base class for Redis vector fields.

vectorstores.inmemorydb.schema.NumericFieldSchema

Schema for numeric fields in Redis.

vectorstores.inmemorydb.schema.TagFieldSchema

Schema for tag fields in Redis.

vectorstores.inmemorydb.schema.TextFieldSchema

Schema for text fields in Redis.

Functions

vectorstores.inmemorydb.base.check_index_exists(...)

Check if MemoryDB index exists.

vectorstores.inmemorydb.filters.check_operator_misuse(func)

Decorator to check for misuse of equality operators.

vectorstores.inmemorydb.schema.read_schema(...)

Read in the index schema from a dict or yaml file.