2024-03-08 00:21:08 +00:00
|
|
|
# telegram-ollama-reply-bot
|
|
|
|
|
2024-03-08 02:26:27 +00:00
|
|
|
[![Build Status](https://ci.skobk.in/api/badges/skobkin/telegram-ollama-reply-bot/status.svg)](https://ci.skobk.in/skobkin/telegram-ollama-reply-bot)
|
2024-03-10 02:19:50 +00:00
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
## Docker
|
|
|
|
|
|
|
|
```shell
|
|
|
|
docker run \
|
2024-08-16 00:47:07 +00:00
|
|
|
-e OPENAI_API_TOKEN=123 \
|
|
|
|
-e OPENAI_API_BASE_URL=http://ollama.localhost:11434/v1 \
|
2024-03-10 02:19:50 +00:00
|
|
|
-e TELEGRAM_TOKEN=12345 \
|
2024-08-16 00:47:07 +00:00
|
|
|
-e MODEL_TEXT_REQUEST=llama3.1:8b-instruct-q6_K
|
2024-08-16 00:59:04 +00:00
|
|
|
-e MODEL_SUMMARIZE_REQUEST=mistral-nemo:12b-instruct-2407-q4_K_M
|
2024-03-10 02:19:50 +00:00
|
|
|
skobkin/telegram-llm-bot
|
|
|
|
```
|