Skip to content

Environment Variables

VariablePurpose
LLM_API_KEYAPI key for the OpenAI-compatible chat provider
LLM_BASE_URLChat provider base URL, usually ending in /v1
LLM_MODELChat model identifier
EMBEDDING_API_KEYOptional separate key for embedding provider
EMBEDDING_BASE_URLOptional separate embedding provider base URL
EMBEDDING_MODELText embedding model used for Qdrant vectors
DATABASE_URLPostgreSQL connection string
QDRANT_URLQdrant vector database URL
REDIS_URLRedis connection string
FRED_API_KEYOptional key for live FRED macro data
SEC_USER_AGENTRequired identifiable user agent for live SEC requests

Notes

  • Do not commit .env
  • Qdrant requires a text embedding model, not a reranker
  • FRED has sample fallback for local demo
  • SEC live ingestion should always use a real user agent

Built as a Senior AI Engineer and AI Solution Architect portfolio project.