Jeeves is a virtual assistant based on a LLM and running as a Telegram bot.
The bot has two main commands:
newto clear the conversation history and start chatting again;start/help/infoto show the info menu;shutdownto shut down the host machine (to gracefully shut down if you remotely control the device power);
All sent messages are replied by the assistant.
It can work with:
- a local model from Ollama;
- a model from an external OpenAI-compliant provider;
Make sure to create the .env file with the variable you need to run one or another.
Before getting started, make sure you have obtained your Telegram bot token and set it in the .env file.
To get started place in the base project folder and type:
make buildDepending on the service you want, go to start ollama or start openai
To start the Ollama based version, type:
PROFILE=ollama make upThe profile will also start the local ollama service to host the model.
Only the first time you will also have to download the model, so you will also have to type:
make ollama-first-setupTo start the OpenAI compliant based version, just type:
make upOnce services are up, to tail on logs, type:
make tailLogs will also be persisted at stack/logs.
To stop the services, type:
make down