Spaces:
Sleeping
Sleeping
| # app/core/config.py | |
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| PROJECT_NAME: str = "Tuklascope API" | |
| API_V1_STR: str = "/api/v1" | |
| GEMINI_API_KEY: str | |
| ALLOWED_ORIGINS: list[str] = [ | |
| "http://localhost:3000", | |
| "http://localhost:8080", | |
| "http://localhost:8000" | |
| ] | |
| # Database Keys | |
| SUPABASE_URL: str | None = None | |
| SUPABASE_ANON_KEY: str | None = None | |
| SUPABASE_JWT_SECRET: str | None = None | |
| # Vector Database Keys | |
| QDRANT_URL: str | None = None | |
| QDRANT_API_KEY: str | None = None | |
| # Neo4j Graph Database Keys | |
| NEO4J_URI: str | None = None | |
| NEO4J_USERNAME: str | None = None | |
| NEO4J_PASSWORD: str | None = None | |
| model_config = SettingsConfigDict( | |
| env_file=".env", | |
| env_file_encoding="utf-8", | |
| extra="ignore" | |
| ) | |
| settings = Settings() | |