Skip to content

Nerve11/TGbot-FreeAPI-HF

Repository files navigation

Telegram AI Chatbot

A Telegram bot that integrates with different AI models (similar to @chatsgpts_bot), featuring:

  • User profiles
  • AI model selection
  • Custom prompt templates
  • Conversation context management

Setup

  1. Clone this repository
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Create a .env file with your API keys:
    TELEGRAM_BOT_TOKEN=your_telegram_bot_token
    HUGGINGFACE_API_KEY=your_huggingface_api_key
    OPENROUTER_API_KEY=your_openrouter_api_key
    
  4. Run the bot:
    python bot.py
    

Features

  • Main menu with access to all bot features
  • User profile management
  • Multiple AI model support:
    • deepseek/deepseek-r1:free (via OpenRouter)
    • Qwen/QwQ-32B (via HuggingFace)
    • perplexity-ai/r1-1776 (via HuggingFace)
  • Custom prompt templates for each model
  • Conversation context storage and reset functionality

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages