scientific-backend / .env.example
Dama12's picture
feat: integrate Google OAuth, ArXiv discovery and project-based analysis
da62216
Raw
History Blame
1.36 kB
# Database
DATABASE_URL=postgresql://user:onion123@localhost:5432/scoinvestigator
DB_ECHO=false
# API Settings
API_TITLE=AI Scientific Co-Investigator
API_VERSION=1.0.0
API_DESCRIPTION=Advanced AI system for multi-document scientific analysis and experimental protocol design
# Security (CHANGE IN PRODUCTION!)
SECRET_KEY=your-super-secret-key-change-this-in-production-must-be-at-least-32-characters
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# OpenAI API
OPENAI_API_KEY=sk-your-openai-key-here
LLM_MODEL=gpt-4-turbo
EMBEDDINGS_MODEL=text-embedding-3-small
# K2 Think API
K2_THINK_API_KEY=your-k2-think-api-key
K2_THINK_API_URL=https://api.k2think.com/v1
# Vector Database (Qdrant)
VECTOR_DB_URL=http://localhost:6333
QDRANT_API_KEY=your-qdrant-api-key
# RAG Configuration
CHUNK_SIZE=500
CHUNK_OVERLAP=50
# File Upload
UPLOAD_DIR=./uploaded_files
MAX_FILE_SIZE_MB=100
# Celery & Redis
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/1
# Logging
LOG_LEVEL=INFO
LOG_FILE=./logs/app.log
# Environment
ENVIRONMENT=development
DEBUG=true
# Frontend CORS
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080,http://127.0.0.1:3000
# Google OAuth
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_REDIRECT_URI=http://localhost:8000/api/v1/auth/google/callback