40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
# copy this file to ".env" and then use that file not this one
|
|
# ══════════════════════════════════════════════
|
|
# .env_credentials — SECRET KEYS (never commit to git!)
|
|
# ══════════════════════════════════════════════
|
|
|
|
# Telegram bot token (from @BotFather)
|
|
TELEGRAM_BOT_TOKEN=817.....
|
|
|
|
# ── LLM Provider ───────────────────────────────
|
|
# Set to "groq" or "openrouter"
|
|
LLM_PROVIDER=openrouter
|
|
|
|
# Groq (https://console.groq.com)
|
|
GROQ_API_KEY=your_groq_api_key_here
|
|
GROQ_MODEL=llama-3.3-70b-versatile
|
|
|
|
# OpenRouter (https://openrouter.ai) — only needed when LLM_PROVIDER=openrouter
|
|
# Only models that support tool calling will work reliably
|
|
# Recommended: deepseek/deepseek-chat-v3-0324, google/gemini-flash-2.5
|
|
OPENROUTER_API_KEY=your_openrouter_api_key
|
|
OPENROUTER_MODEL=deepseek/deepseek-v3.2
|
|
|
|
# Owner Telegram user ID — get it from @userinfobot
|
|
OWNER_TELEGRAM_ID=437345.....
|
|
|
|
# PostgreSQL 16
|
|
PG_HOST=localhost
|
|
PG_PORT=5432
|
|
PG_DB=manel_bot
|
|
PG_USER=manel
|
|
PG_PASSWORD=some_password
|
|
|
|
# Ollama — local embedding server
|
|
OLLAMA_URL=http://192.168.0.16:11434
|
|
EMBED_MODEL=nomic-embed-text-v2-moe
|
|
EMBED_DIM=768
|
|
VECTOR_TOP_K=8
|
|
|
|
NEWSDATA_API_KEY=some_key
|