Skip to main content
Version: latest

agrag.vectordb.qdrant.QdrantSettings

Bases: BaseSettings

Qdrant connection and per-graph collection names.

Attributes:

  • url (str) – HTTP endpoint. Env: QDRANT_URL.
  • api_key (SecretStr | None) – Optional authentication secret. Env: QDRANT_API_KEY.
  • require_tls (bool) – Require HTTPS for remote hosts without credentials too. Loopback is exempt. Env: QDRANT_REQUIRE_TLS.
  • collection_prefix (CollectionPrefix) – Required unique graph prefix, beginning with a letter. Env: QDRANT_COLLECTION_PREFIX.

api_key​

api_key: SecretStr | None = None

collection_prefix​

collection_prefix: CollectionPrefix

model_config​

model_config = SettingsConfigDict(env_prefix='QDRANT_', env_file='.env', extra='ignore', hide_input_in_errors=True)

require_tls​

require_tls: bool = False

url​

url: str = 'http://localhost:6333'