pdf-qa-chatbot / backend /.env.example
Amin23's picture
Initial commit
e86a49a
raw
history blame contribute delete
624 Bytes
# API Configuration
API_V1_STR=/api/v1
PROJECT_NAME=PDF Q&A Chatbot
# Security
SECRET_KEY=your-secret-key-here-change-this-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=11520
# Database
DATABASE_URL=sqlite:///./pdf_chatbot.db
# Vector Database
CHROMA_PERSIST_DIRECTORY=./chroma_db
# AI Providers (set at least one)
OPENAI_API_KEY=your-openai-api-key-here
ANTHROPIC_API_KEY=your-anthropic-api-key-here
# File Storage
UPLOAD_DIR=./uploads
MAX_FILE_SIZE=10485760
ALLOWED_EXTENSIONS=[".pdf"]
# CORS Origins
BACKEND_CORS_ORIGINS=["http://localhost:3000","http://localhost:3001","http://127.0.0.1:3000","http://127.0.0.1:3001"]