File size: 662 Bytes
6830eb0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from __future__ import annotations
import os
from dotenv import load_dotenv
# Load environment variables from .env file
load_dotenv()

class Settings:
    OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY", "")
    LANGCHAIN_API_KEY = os.environ.get("LANGCHAIN_API_KEY", "")
    GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY", "")
    DEEPGRAM_API_KEY = os.environ.get("DEEPGRAM_API_KEY", "")
    
    # Provider can be "openai" or "google_gemini"
    MODEL_PROVIDER = os.environ.get("MODEL_PROVIDER", "openai") # "openai"
    
    # Default model names
    OPENAI_MODEL_NAME = "gpt-4o-mini"
    GEMINI_MODEL_NAME = "gemini-2.0-flash-exp"

settings = Settings()