Spaces:
Build error
Build error
| # Database configuration | |
| DATABASE_URL="postgresql://user:password@host:port/database" | |
| # API Keys | |
| OPENAI_API_KEY="" | |
| TOGETHER_API_KEY="" | |
| # LLM Configuration | |
| LLM_PROVIDER="openai" # Options: "openai", "ollama" | |
| LLM_MODEL="gpt-4o" # For OpenAI: "gpt-4o" or "gpt-4-turbo", for Ollama: "llama2:latest" | |
| # Ollama Configuration (if using) | |
| OLLAMA_API_URL="http://localhost:11434/api/generate" | |
| OLLAMA_TEMPERATURE=0.1 | |
| OLLAMA_MAX_TOKENS=4000 | |
| OLLAMA_BASE_URL="http://localhost:11434" | |
| # OpenAI Configuration | |
| OPENAI_TEMPERATURE=0.1 | |
| OPENAI_MAX_TOKENS=4000 | |
| # Parser Configuration | |
| CONTEXT_LENGTH=8000 | |
| ENABLE_LLM=true | |
| # Tesseract OCR path (update this to your local path) | |
| TESSERACT_PATH="C:/Program Files/Tesseract-OCR/tesseract.exe" # Windows example | |
| # TESSERACT_PATH="/usr/bin/tesseract" # Linux example | |
| # TESSERACT_PATH="/usr/local/bin/tesseract" # macOS example |