AlexFoxalt's picture
Deploying Pythonic RAG
2be9eb9
import os
from dotenv import load_dotenv
load_dotenv()
class Settings:
openai_api_key = os.getenv("OPENAI_API_KEY")
# large instead of small with 3,072 dimensions
embeddings_model_name = "text-embedding-3-small"
# not mini but classic
llm_model = "gpt-4o-mini"
settings = Settings()