2024-11-22 13:07:37 +00:00
|
|
|
# Telegram Ollama Bot
|
2024-03-08 00:21:08 +00:00
|
|
|
|
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
|
|
|
|
2024-11-22 13:07:37 +00:00
|
|
|
![Project Banner](/img/banner.jpeg)
|
2024-03-10 02:19:50 +00:00
|
|
|
|
2024-11-22 13:07:37 +00:00
|
|
|
## Functionality
|
|
|
|
|
|
|
|
- Context-dependent dialogue in chats
|
|
|
|
- Summarization of articles by provided link
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
### Docker
|
2024-03-10 02:19:50 +00:00
|
|
|
|
|
|
|
```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
|
|
|
|
```
|