-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (30 loc) · 874 Bytes
/
.env.example
File metadata and controls
37 lines (30 loc) · 874 Bytes
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
# AI-Video-Comment-Analyzer Environment Config
# Copy this file to .env and fill in your values
# cp .env.example .env
# YOUTUBE EXTRACTION
YOUTUBE_MAX_COMMENTS=100
YOUTUBE_SEARCH_MAX_RESULTS=8
YOUTUBE_METADATA_TIMEOUT=30
YOUTUBE_COMMENTS_TIMEOUT=120
YOUTUBE_SEARCH_TIMEOUT=30
# ML MODELS
SENTIMENT_MODEL=nlptown/bert-base-multilingual-uncased-sentiment
EMBEDDING_MODEL=all-MiniLM-L6-v2
# ML PROCESSING
SENTIMENT_BATCH_SIZE=32
SENTIMENT_MAX_LENGTH=512
# TOPIC MODELING
MAX_TOPICS=5
MAX_TOPICS_ML=10
TOPIC_MIN_COMMENTS=2
# DISPLAY LIMITS
HISTORY_LIMIT=10
SEARCH_RESULTS_LIMIT=5
# OLLAMA (Local LLM for AI Summaries)
# Install Ollama: https://ollama.ai
# Pull model: ollama pull llama3.2:3b
OLLAMA_URL=http://localhost:11434
OLLAMA_MODEL=llama3.2:3b
OLLAMA_ENABLED=true
# FRONTEND (prefix with NEXT_PUBLIC_ for browser access)
NEXT_PUBLIC_API_URL=http://localhost:8000