-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
103 lines (86 loc) · 2.28 KB
/
.env.example
File metadata and controls
103 lines (86 loc) · 2.28 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Application
APP_NAME=AI-CoScientist
APP_VERSION=0.1.0
ENVIRONMENT=development
DEBUG=true
LOG_LEVEL=INFO
# API
API_HOST=0.0.0.0
API_PORT=8000
API_WORKERS=4
API_RELOAD=true
# Security
SECRET_KEY=your-secret-key-change-this-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=60
REFRESH_TOKEN_EXPIRE_DAYS=7
# Database
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/ai_coscientist
DATABASE_ECHO=false
DATABASE_POOL_SIZE=5
DATABASE_MAX_OVERFLOW=10
# Redis
REDIS_URL=redis://localhost:6379/0
REDIS_CACHE_TTL=3600
REDIS_MAX_CONNECTIONS=10
# RabbitMQ
RABBITMQ_URL=amqp://guest:guest@localhost:5672/
RABBITMQ_EXCHANGE=ai_coscientist
RABBITMQ_QUEUE=tasks
# LLM Providers
OPENAI_API_KEY=your-openai-api-key
OPENAI_MODEL=gpt-5 # GPT-5 (Released Aug 2025)
OPENAI_MAX_TOKENS=4000
OPENAI_TEMPERATURE=0.7
ANTHROPIC_API_KEY=your-anthropic-api-key
ANTHROPIC_MODEL=claude-sonnet-4-5 # Claude Sonnet 4.5 (Released Sep 2025)
ANTHROPIC_MAX_TOKENS=8000 # Supports up to 8K output
GOOGLE_API_KEY=your-google-api-key
GEMINI_MODEL=gemini-2.5-pro # Gemini 2.5 Pro (Released Mar 2025)
GEMINI_MAX_TOKENS=8192
GEMINI_TEMPERATURE=0.7
# LLM Configuration
LLM_PRIMARY_PROVIDER=openai
LLM_FALLBACK_PROVIDER=anthropic
LLM_CACHE_ENABLED=true
LLM_CACHE_TTL=3600
LLM_MAX_RETRIES=3
LLM_TIMEOUT=60
# Vector Database
CHROMADB_HOST=localhost
CHROMADB_PORT=8001
CHROMADB_COLLECTION=scientific_papers
EMBEDDING_MODEL=allenai/scibert_scivocab_uncased
EMBEDDING_DIMENSION=384
# External APIs
SEMANTIC_SCHOLAR_API_KEY=your-semantic-scholar-key
CROSSREF_EMAIL=your-email@example.com
# Celery
CELERY_BROKER_URL=redis://localhost:6379/1
CELERY_RESULT_BACKEND=redis://localhost:6379/2
CELERY_TASK_ALWAYS_EAGER=false
# Monitoring
PROMETHEUS_PORT=9090
ENABLE_METRICS=true
GRAFANA_PORT=3000
GRAFANA_USER=admin
GRAFANA_PASSWORD=change-this-password
GRAFANA_ROOT_URL=http://localhost:3000
GRAFANA_PLUGINS=
# CORS
CORS_ORIGINS=["http://localhost:3000", "http://localhost:8000"]
CORS_ALLOW_CREDENTIALS=true
CORS_ALLOW_METHODS=["*"]
CORS_ALLOW_HEADERS=["*"]
# Rate Limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_PER_MINUTE=100
# Storage
UPLOAD_DIR=./uploads
MAX_UPLOAD_SIZE=10485760 # 10MB
# Email (optional)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_FROM=noreply@ai-coscientist.com