-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (37 loc) · 1.15 KB
/
.env.example
File metadata and controls
47 lines (37 loc) · 1.15 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
# Telegram Bot Token from BotFather
TELOXIDE_TOKEN=
# User ID of the bot owner
OWNER_ID=
# URL for the SQLite database file
# Local: sqlite:persona_forge.db
# Docker: sqlite:/app/data/persona_forge.db
DATABASE_URL=sqlite:persona_forge.db
# Ollama Configuration
# Local: http://localhost:11434
# Docker: http://host.docker.internal:11434
OLLAMA_URL=http://localhost:11434
OLLAMA_CHAT_MODEL=gemma2:2b
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
OLLAMA_VISION_MODEL=llava:latest
# Bot Settings
BOT_NAME=PersonaForge
TEMPERATURE=0.7
MAX_TOKENS=2048
# Queue & Performance
MAX_CONCURRENT_LLM_REQUESTS=3
LLM_TIMEOUT_SECONDS=120
QUEUE_TIMEOUT_SECONDS=30
# Features
VISION_ENABLED=false
VOICE_ENABLED=false
WEB_SEARCH_ENABLED=true
# Вероятность ответа в режиме all_messages (0.0-1.0)
# 0.0 = только триггеры/упоминания, 0.3 = 30% сообщений, 1.0 = всегда
RANDOM_REPLY_PROBABILITY=0.0
# Whisper (for voice) - OpenAI-compatible endpoint (adds /v1/audio/transcriptions)
WHISPER_URL=http://localhost:8080
# RAG Settings
RAG_DECAY_RATE=0.1
SUMMARY_THRESHOLD=50
# WebApp (Mini App) - runs automatically with bot
WEBAPP_PORT=8080