Spaces:
Runtime error

nutribot-api / .env.example
LeeHan23's picture
Initial commit
747ecf5
Raw History Blame Contribute Delete
1.18 kB
# ------------------------------
# API KEYS & MODELS
# ------------------------------
# Your secret API key from OpenAI.
OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# The model to use for the chatbot's main responses.
# Options: "gpt-4-turbo", "gpt-3.5-turbo"
OPENAI_MODEL="gpt-4-turbo"
# The model to use for generating embeddings.
# "text-embedding-3-small" is efficient and cost-effective.
EMBEDDING_MODEL="text-embedding-3-small"
# ------------------------------
# DATABASE & FILE PATHS
# ------------------------------
# The file path for the SQLite user database.
DATABASE_URL="postgresql://user:password@host:port/dbname"
# The directory where persistent data (like vector stores) will be saved.
# For local development, this can be the same as the local data path.
PERSISTENT_DISK_PATH="./data"
# ------------------------------
# SERVER CONFIGURATION
# ------------------------------
# The port your FastAPI backend will run on.
PORT=8000
# ------------------------------
# OPTIONAL SERVICES
# ------------------------------
# If you are using Redis for session management or caching, provide the URL here.
REDIS_URL="redis://localhost:6379"