Skip to content

manixko/Ai-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 AI-Chatbot

πŸ“ŒπŸ€– 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.

✨ Features

  • πŸ‘‹ Friendly Welcome – Responds to /start and /help commands.
  • πŸ€– 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.

πŸš€ How it Works

  1. A user sends a message to the bot.
  2. The bot forwards the message to the Llama 3.2 model.
  3. The AI generates a clear and accurate response.
  4. The bot sends the response back to the user in Telegram.

πŸ”§ Tech Stack

  • Python 🐍
  • pyTelegramBotAPI
  • Ollama LLM
  • python-dotenv

πŸ“– About the Project

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.

⚑ Getting Started

  1. Clone the repository:

    git clone https://github.com/manixko/Ai-Chatbot.git
    cd Ai-Chatbot
  2. Install dependencies:

    pip install -r requirements.txt
  3. Add your bot token in a .env file:

    BOT_TOKEN=your_telegram_bot_token_here
  4. Run the bot:

    python chatbot.py