Skip to content

metechmohit/Tele-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tele-Agent Bot

Tele-Agent Bot is a versatile AI-powered Telegram bot that interacts with users by providing intelligent responses to their queries. The bot uses Groq's API and LLaMA3 models to simulate expert-level assistance in various fields.


Features

  • Interactive Chat: Provides responses to user queries in natural language.
  • Model Selection: Choose from multiple AI models (LLaMA3, Mixtral, Gemma) via inline buttons.
  • Toggle Conversational Mode: Switch between conversational and non-conversational modes.
  • Customizable Models: Set default and dynamically selectable models for generating responses.

Commands

  1. /start
    Initiates the bot and welcomes the user.

  2. /choose
    Displays a set of models to choose from via inline buttons.

  3. /switch
    Toggles conversational mode (ON/OFF).

  4. Message Input
    Sends a query directly to the bot for a response.


Setup

Prerequisites

  • Python 3.10+
  • Telegram Bot API Token
  • Groq API Key
  • .env file for storing API credentials.

Environment Variables

Create a .env file in the project directory with the following variables:

TELEGRAM_TOKEN=your_telegram_bot_token
GROQ_API_KEY=your_groq_api_key

Installation

  1. Clone this repository:

    git clone https://github.com/metechmohit/Tele-agent.git
    cd Tele-agent
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the bot:

    python app.py

How to Use

  1. Open the bot on Telegram using the link below.
  2. Start a conversation using /start.
  3. Ask questions or use /choose to select models for specific needs.

Telegram Bot Link

Click Here to Use Tele-Agent Bot


Dependencies


Future Enhancements

  • Add more model options.
  • Implement additional commands for customization.
  • Include multi-language support.

Let me know if you need help refining this further!

About

Telegram bot- Can response to wide range of queries integrated with latest LLMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages