Simple bot to interact with Open Source LLM's running in Ollama using Telegram
Go to file
Alexey Skobkin db92c01131
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Merge pull request 'URL scheme whitelist and Inline Queries.' (#21) from fix_chat_type_middleware_nil_pointer into main
Reviewed-on: #21
2024-03-12 22:20:06 +00:00
bot Closes #14. Adding inline queries. Also small refactoring of context prompt based on RequestContext. 2024-03-13 01:18:01 +03:00
extractor fix #15 slog usage. Also adding more logging. 2024-03-12 22:07:22 +03:00
llm Closes #14. Adding inline queries. Also small refactoring of context prompt based on RequestContext. 2024-03-13 01:18:01 +03:00
stats Closes #14. Adding inline queries. Also small refactoring of context prompt based on RequestContext. 2024-03-13 01:18:01 +03:00
.drone.yml Also changing image tag for build step. 2024-03-10 05:57:59 +03:00
.gitignore initial. Draft of SIMPLE LLM bot for Telegram chat. 2024-03-08 05:18:45 +03:00
Dockerfile Changing build image to Alpine to avoid linking errors. 2024-03-10 05:55:28 +03:00
LICENSE LICENSE file. 2024-03-08 05:19:26 +03:00
README.md Adding API URL suffix to the README.md. 2024-03-12 22:13:32 +03:00
go.mod Refactoring structure from single file to several separated services. Adding new feature: "summarize" to generate bullet points for provided link. 2024-03-10 04:51:01 +03:00
go.sum Refactoring structure from single file to several separated services. Adding new feature: "summarize" to generate bullet points for provided link. 2024-03-10 04:51:01 +03:00
main.go Fix #17. Implementing slog-based logger for telego and passing it into the library. 2024-03-12 23:05:52 +03:00

README.md

telegram-ollama-reply-bot

Build Status

Usage

Docker

docker run \
  -e OLLAMA_TOKEN=123 \
  -e OLLAMA_BASE_URL=http://ollama.localhost:11434/v1 \
  -e TELEGRAM_TOKEN=12345 \
  skobkin/telegram-llm-bot