telegram-llm-bot. Update Telegram bot configuration with renamed API settings and new models selection variables. (#118)

`.env.dist` file update.

Co-authored-by: Alexey Skobkin <skobkin-ru@ya.ru>
Reviewed-on: #118
This commit is contained in:
Alexey Skobkin 2024-08-16 13:14:32 +00:00
parent 4f9bdb6b9f
commit 3e058d228f

View file

@ -1,8 +1,17 @@
# see https://hub.docker.com/r/skobkin/telegram-llm-bot # see https://hub.docker.com/r/skobkin/telegram-llm-bot
# Telegram
TELEGRAM_TOKEN=12345 TELEGRAM_TOKEN=12345
OLLAMA_TOKEN=12345
OLLAMA_BASE_URL=http://host.docker.internal:11434 # API settings
OPENAI_API_TOKEN=12345
OPENAI_API_BASE_URL=http://host.docker.internal:11434
# Models selection
# Model used for simple /hey requests
MODEL_TEXT_REQUEST="llama3.1:8b-instruct-q6_K"
# Model used for /summarize requests
MODEL_SUMMARIZE_REQUEST="mistral-nemo:12b-instruct-2407-q4_K_M"
LOG_MAX_SIZE=5m LOG_MAX_SIZE=5m
LOG_MAX_FILE=5 LOG_MAX_FILE=5