File size: 648 Bytes
88e511a
 
 
3b8655b
 
88e511a
 
3b8655b
923418b
88e511a
 
3b8655b
88e511a
3b8655b
a8e2a77
 
 
 
795dc3a
 
8b61324
b0803f3
 
 
 
88e511a
 
795dc3a
88e511a
795dc3a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from pydantic_settings import BaseSettings

class Settings(BaseSettings):
    DATABASE_URL: str
    SECRET_KEY: str
    ALGORITHM: str = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES: int = 30

    APP_NAME: str = "prepAI"
    APP_VERSION: str = "1.0.0"
    APP_DESCRIPTION: str = "FastAPI + PostgreSQL with SQLAlchemy async"

    CORS_ORIGINS: list = ["*"]

    chroma_host: str
    chroma_port: int
    chroma_collection: str

    GROQ_API_KEY: str
    

    VAPI_ASSISTANT_ID: str = "your-vapi-assistant-id"
    VAPI_PRIVATE_KEY: str
    VAPI_PUBLIC_KEY: str

    class Config:
        env_file = ".env"
        extra = "ignore"

settings = Settings()