Spaces:
Sleeping
Sleeping
File size: 1,344 Bytes
0bd4ab4 7aeb053 0bd4ab4 7aeb053 0bd4ab4 7aeb053 0bd4ab4 da62216 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | # Database
DATABASE_URL=postgresql://user:CHANGE_THIS_PASSWORD@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=CHANGE_THIS_TO_A_SECURE_RANDOM_STRING_32_CHARS_MINIMUM
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# OpenAI API
OPENAI_API_KEY=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
|