ππ€ Telegram Bot
AI-Chatbot is a conversational Telegram bot powered by Llama 3.2 (Ollama).
It provides intelligent, clear, and instant responses to any user question.
- π Friendly Welcome β Responds to
/startand/helpcommands. - π€ AI-Powered Responses β Uses Llama 3.2 to generate high-quality answers.
- π Typing Feedback β Shows βBot is working on itβ¦β while generating replies.
- π¬ Markdown Support β Responses can include formatted text.
- π§ Easy to Extend β Add new commands or integrate with other APIs easily.
- A user sends a message to the bot.
- The bot forwards the message to the Llama 3.2 model.
- The AI generates a clear and accurate response.
- The bot sends the response back to the user in Telegram.
- Python π
- pyTelegramBotAPI
- Ollama LLM
- python-dotenv
AI-Chatbot was built to provide intelligent assistance and conversational AI in a simple Telegram interface.
Itβs designed for personal, family, or small group use, and can be extended for more advanced applications.
-
Clone the repository:
git clone https://github.com/manixko/Ai-Chatbot.git cd Ai-Chatbot -
Install dependencies:
pip install -r requirements.txt
-
Add your bot token in a .env file:
BOT_TOKEN=your_telegram_bot_token_here
-
Run the bot:
python chatbot.py