Spaces:
Runtime error
Runtime error
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| openai_api_key: str | None = None | |
| azure_openai_api_key: str | None = None | |
| qdrant_api_key: str | None = None | |
| qdrant_url: str | None = None | |
| qdrant_host: str | None = None | |
| qdrant_port: int | None = None | |
| # embedding setting | |
| embedding_use_azure: bool = False | |
| embedding_azure_openai_api_base: str | None = None | |
| embedding_azure_openai_model_name: str | None = None | |
| embedding_azure_openai_api_key: str | None = None | |
| model_config = SettingsConfigDict(env_file='.env', env_file_encoding='utf-8') |