AeneaBot
Your personal Telegram bot with several functions.
AeneaBot is a Telegram Chat Bot which includes its own conversational AI base in Ollama. It is developed in python3.
Apart from several commands, all messages will be forwarded to an Ollama API server of your election so you can go full IA!
Built with:
Commands
- /health - Run an active healthcheck. Returns a list of components check and its status
- /dice - Rolls a 6 sides dice.
- /man - Search a Linux/Unix command in the man pages. Defaults to Debian distro.(More info aquí)
- /park - Park an object in the Parking (if database is configured SQLite database)
- /list_parking - List all object currentl in the Parking. Includes its UID and the date they were parked.
- /clear_object - Removes an object from the Parking. Must specify an object UID
- /clear_parking - Removes all objects from the Parking.
How to run
You need the following envvars as specified:
- TOKEN: Telegram bot Token
- BOTNAME: Your Telegram bot name. Be creative!
- AUTHUSER: Telegram username allowed to use the bot (yours)
- LANG: Language for the Telegram APIs
- OLLAMA_URL: URL of the Ollama server whith will be used to provide AI. Defaults to the sidecar one (http://localhost:11434).
- OLLAMA_MODEL: Name of the model configured in Ollama. By default, “aenea” model is used.
- AENEADB: Path for the SQLite3 persistent database. Required for Parking functionality.
- LOGLEVEL: Log level output. See python docs
You can install it using Helm from my repo including the AeneaAI sidecar which provides your own AI using Ollama and the orca model.
And that’s all! Your bot is up and running. You can add the modifications you want.
Looking for the source code? Look here.