-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (27 loc) · 1.05 KB
/
.env.example
File metadata and controls
33 lines (27 loc) · 1.05 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
# OpenAI API key
OPENAI_API_KEY=your_openai_api_key_here
# Instagram credentials (required for downloading Instagram videos)
INSTAGRAM_USERNAME=your_instagram_username
INSTAGRAM_PASSWORD=your_instagram_password
# Instagram download settings
INSTAGRAM_MAX_RETRIES=3
INSTAGRAM_RETRY_DELAY=2
USE_YTDLP=true
USE_DIRECT_DOWNLOAD=true
INSTAGRAM_DEBUG=false
# CORS settings (comma-separated list of allowed origins, or * for all)
ALLOWED_ORIGINS=http://localhost:3000,https://your-production-domain.com
# OpenAI models - these determine the quality and speed of analysis
# For best fact-checking quality use gpt-4 models
FACT_CHECK_MODEL=chatgpt-4o-latest
IMAGE_ANALYSIS_MODEL=gpt-4o
TRANSCRIPTION_MODEL=whisper-1
# Web search configuration for real-time fact checking
USE_WEB_SEARCH=true
WEB_SEARCH_MODEL=gpt-4o-search-preview
WEB_SEARCH_CONTEXT_SIZE=medium # Options: low, medium, high
# Fact checking reliability settings
# These settings control the retry behavior for fact checking operations
FACT_CHECK_MAX_RETRIES=3
FACT_CHECK_RETRY_DELAY=2
FACT_CHECK_TEMPERATURE=0.2