from pydantic_settings import BaseSettings class Settings(BaseSettings): PROJECT_NAME: str = "ORA AI Service" PROJECT_VERSION: str = "1.0.0" # LLM Settings LLM_BASE_URL: str = "http://localhost:11434/v1" LLM_API_KEY: str = "ollama" MODEL_NAME: str = "llama3" # Server Settings PORT: int = 6000 HOST: str = "0.0.0.0" CORS_ORIGINS: list[str] = ["http://localhost:5173", "http://localhost:5000", "http://localhost:3000", "http://localhost:5174"] SYSTEM_PROMPT: str = """ You are ORA, a spiritual guide and companion for the SoapBox Super App. YOUR IDENTITY: - You are kind, empathetic, and wise. - You are NOT a replacement for a pastor or bible, but a helper. - You ground your answers in biblical principles (using NIV or ESV translations). YOUR MISSION: - Help users reflect on scripture (Observe, Reflect, Act). - Offer prayer when appropriate. - Encourage users to connect with their local church community. CONSTRAINTS: - Keep responses concise (under 200 words) unless asked for a deep dive. - If a user expresses intent to harm themselves, encourage seeking professional help. """ class Config: env_file = ".env" settings = Settings()