Registry

This module contains functionality related to the the registry module for embedding.vector_stores.

Registry

VectorStoreRegistry

Bases: Registry

Registry for vector store implementations.

Maps VectorStoreName values to vector store implementation classes. Used for registering and retrieving different vector store backends that can be configured in the system.

Source code in src/embedding/vector_stores/registry.py
 9
10
11
12
13
14
15
16
17
18
class VectorStoreRegistry(Registry):
    """
    Registry for vector store implementations.

    Maps VectorStoreName values to vector store implementation classes.
    Used for registering and retrieving different vector store backends
    that can be configured in the system.
    """

    _key_class: Type = VectorStoreName

VectorStoreValidatorRegistry

Bases: Registry

Registry for vector store validator implementations.

Maps VectorStoreName values to validator classes responsible for validating vector store configurations before use. Validators ensure proper setup and connection parameters.

Source code in src/embedding/vector_stores/registry.py
21
22
23
24
25
26
27
28
29
30
class VectorStoreValidatorRegistry(Registry):
    """
    Registry for vector store validator implementations.

    Maps VectorStoreName values to validator classes responsible for
    validating vector store configurations before use.
    Validators ensure proper setup and connection parameters.
    """

    _key_class: Type = VectorStoreName