Skip to content

Class swarmauri_base.vector_stores.VectorStorePersistentMixin.VectorStorePersistentMixin

swarmauri_base.vector_stores.VectorStorePersistentMixin.VectorStorePersistentMixin

Bases: IPersistentVectorStore, BaseModel

Mixin class for persistent-based vector stores.

collection_name instance-attribute

collection_name

collection class-attribute instance-attribute

collection = Field(
    None,
    description="Collection object for interacting with the persistent-based store",
)

path class-attribute instance-attribute

path = Field(
    None,
    description="URL of the persistent-based store to connect to",
)

vector_size class-attribute instance-attribute

vector_size = Field(
    None,
    description="Size of the vectors used in the store",
)

client class-attribute instance-attribute

client = Field(
    None,
    description="Client object for interacting with the persistent-based store",
)

vectorizer class-attribute instance-attribute

vectorizer = Field(
    None,
    description="Vectorizer object for converting documents to vectors",
)