aibilly_backend_code/.env.example
laxmanhalaki b793ac859a
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / build (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-production (push) Has been cancelled
modification done to up the project
2026-03-12 20:52:08 +05:30

38 lines
1.0 KiB
Plaintext

# Application Settings
APP_NAME="AI Detection API"
APP_VERSION="1.0.0"
DEBUG=True
PORT=8000
HOST=0.0.0.0
# Database Settings
# For Docker Compose, use 'postgres' as the host. For local, use 'localhost'.
DATABASE_URL="postgresql://postgres:postgres@postgres:5432/test_project_db"
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=test_project_db
POSTGRES_PORT=5432
# Redis Settings
# For Docker Compose, use 'redis' as the host. For local, use 'localhost'.
REDIS_HOST=redis
REDIS_PORT=6379
# Security Settings
# Generate a secure key for production
JWT_SECRET="your-super-secret-jwt-key-change-me"
JWT_REFRESH_SECRET="your-super-secret-refresh-key-change-me"
JWT_ISSUER="ai-detection-app"
JWT_AUDIENCE="ai-detection-users"
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
# RAG / AI Configuration
OPENAI_API_KEY="sk-..."
ANTHROPIC_API_KEY="xpk-..."
EMBEDDING_PROVIDER="huggingface" # "openai" or "huggingface"
LLM_PROVIDER="openai" # "openai" or "anthropic"
VECTOR_DB_DIR="./chroma_db"
RAG_CHUNK_SIZE=1000
RAG_CHUNK_OVERLAP=100