indexing#

Code to help indexing data into a vectorstore.

This package contains helper logic to help deal with indexing data into a vectorstore while avoiding duplicated content and over-writing content if it’s unchanged.

Classes

indexing.api.IndexingException

Raised when an indexing operation fails.

indexing.api.IndexingResult

Return a detailed a breakdown of the result of the indexing operation.

indexing.base.DeleteResponse

A generic response for delete operation.

indexing.base.DocumentIndex

indexing.base.InMemoryRecordManager(namespace)

An in-memory record manager for testing purposes.

indexing.base.RecordManager(namespace)

Abstract base class representing the interface for a record manager.

indexing.base.UpsertResponse

A generic response for upsert operations.

indexing.in_memory.InMemoryDocumentIndex

Functions

indexing.api.aindex(docs_source,Β ...[,Β ...])

Async index data from the loader into the vector store.

indexing.api.index(docs_source,Β ...[,Β ...])

Index data from the loader into the vector store.