An open API service indexing awesome lists of open source software.

https://github.com/kirillzhosul/ollama-telegram-ai

Telegram bot that interacts with the local Ollama 🦙 to answer user messages
https://github.com/kirillzhosul/ollama-telegram-ai

ai aiogram assistant chatbot llm local-ai neural-network ollama python russian telegram telegram-bot

Last synced: about 2 months ago
JSON representation

Telegram bot that interacts with the local Ollama 🦙 to answer user messages

Awesome Lists containing this project

README

          



# Ollama Telegram Bot
Contains Telegram bot that interacts with the Ollama API LLM models to answer user messages

### Features
- Translations for base languages (to endpoint `en` language, can be disabled)
- Chat system with clearing and etc
- Regenerating completion (dislike button)
- WIP: Change model

### Helping videos
- Russian: https://www.youtube.com/watch?v=CS4zcNKnczI&t=151s

### How to run
- Install [Ollama](https://ollama.com/)
- Edit config (`./bot/settings.py`)
- Install requirements (`poetry`)
- run `main.py`
- [Optional] [Search for models](https://ollama.com/search)

### TODO:
- Images context

### Special thanks
- [@RuslanPeresy](https://github.com/RuslanPeresy) for promoting this project

### Tests

Tested with llama2 / some other ollama LLMs