25 lines
728 B
Python
25 lines
728 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 = "http://gemma-server:8080/v1"
|
|
llm_api_key: str = "llama-cpp-local"
|
|
# llm_model: str = "gemma-4-E4B-it-UD-Q4_K_XL.gguf"
|
|
|
|
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")
|
|
|
|
|
|
settings = Settings() |