Configuration

This module contains functionality related to the the configuration module for embedding.vector_stores.qdrant.

Configuration

QDrantVectorStoreConfiguration

Bases: VectorStoreConfiguration

Configuration settings specific to QDrant vector store.

Extends the base VectorStoreConfiguration with QDrant-specific properties and functionality.

Source code in src/embedding/vector_stores/qdrant/configuration.py
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
class QDrantVectorStoreConfiguration(VectorStoreConfiguration):
    """
    Configuration settings specific to QDrant vector store.

    Extends the base VectorStoreConfiguration with QDrant-specific properties
    and functionality.
    """

    name: Literal[VectorStoreName.QDRANT] = Field(
        ..., description="The name of the vector store."
    )

    @property
    def url(self) -> str:
        """
        Constructs the full URL for connecting to the QDrant service.

        Returns:
            str: The complete URL with protocol, host, and port.
        """
        return f"{self.protocol}://{self.host}:{self.port}"

url property

Constructs the full URL for connecting to the QDrant service.

Returns:
  • str( str ) –

    The complete URL with protocol, host, and port.