# SPARC Configuration # SerpAPI key for patent search API_KEY=your_serpapi_key_here # OpenRouter API key for LLM analysis OPENROUTER_API_KEY=your_openrouter_key_here # Database configuration # All messages are stored in the database for persistence and caching DATABASE_URL=postgresql://postgres:postgres@localhost:5432/sparc # Cache configuration # When USE_CACHE=true: check database for cached responses before making API calls # When USE_CACHE=false: always make fresh API calls (still stores results in database) # Default: true USE_CACHE=true # JWT Secret for authentication # IMPORTANT: Change this to a secure random string in production JWT_SECRET=your-secure-jwt-secret-change-in-production