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.
- 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.
-
/start
Initiates the bot and welcomes the user. -
/choose
Displays a set of models to choose from via inline buttons. -
/switch
Toggles conversational mode (ON/OFF). -
Message Input
Sends a query directly to the bot for a response.
- Python 3.10+
- Telegram Bot API Token
- Groq API Key
.env
file for storing API credentials.
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
-
Clone this repository:
git clone https://github.com/metechmohit/Tele-agent.git cd Tele-agent
-
Install dependencies:
pip install -r requirements.txt
-
Run the bot:
python app.py
- Open the bot on Telegram using the link below.
- Start a conversation using
/start
. - Ask questions or use
/choose
to select models for specific needs.
Click Here to Use Tele-Agent Bot
- Add more model options.
- Implement additional commands for customization.
- Include multi-language support.
Let me know if you need help refining this further!