telegram-llm-bot. Update Telegram bot configuration with renamed API settings and new models selection variables.
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Alexey Skobkin 2024-08-16 16:11:55 +03:00
parent 4f9bdb6b9f
commit ae36a86278
Signed by: skobkin
GPG key ID: 4389E670595BF8A8

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