28 lines
707 B
Python
28 lines
707 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
class Settings(BaseSettings):
|
|
app_name: str = "ARC Backend"
|
|
app_env: str = "dev"
|
|
app_host: str = "0.0.0.0"
|
|
app_port: int = 8000
|
|
|
|
qdrant_url: str = "http://localhost:6333"
|
|
qdrant_collection: str = "arc_projects"
|
|
|
|
redis_url: str = "redis://localhost:6379/0"
|
|
|
|
llm_base_url: str
|
|
llm_api_key: str
|
|
llm_model: str
|
|
llm_model_dev: str
|
|
|
|
embedding_base_url: str = "http://localhost:8002/v1"
|
|
embedding_model: str = "snowflake-arctic-embed-m-v1.5"
|
|
|
|
model_config = SettingsConfigDict(
|
|
env_file=".env",
|
|
env_file_encoding="utf-8",
|
|
extra="ignore"
|
|
)
|
|
|
|
settings = Settings() |