An open API service indexing awesome lists of open source software.

https://github.com/classyid/teleqwen-bot

Intelligent Telegram chatbot using Qwen AI model through Ollama API. Built with PHP for seamless integration and optimal performance.
https://github.com/classyid/teleqwen-bot

Last synced: 12 months ago
JSON representation

Intelligent Telegram chatbot using Qwen AI model through Ollama API. Built with PHP for seamless integration and optimal performance.

Awesome Lists containing this project

README

          

# TeleQwen Bot

Telegram bot powered by Qwen AI for smart conversations 🤖

## About
Intelligent Telegram chatbot using Qwen AI model through Ollama API. Built with PHP for seamless integration and optimal performance.

## Features
- Real-time conversation with Qwen AI
- Message reply support
- Chat history logging
- Optimized response settings
- Easy webhook setup

## Quick Setup
1. Clone repository
2. Configure `config.php` with database settings
3. Set BOT_TOKEN in webhook script
4. Setup webhook URL
5. Deploy to your server

## Configuration
```php
define('BOT_TOKEN', 'YOUR_BOT_TOKEN');
define('WEBHOOK_URL', 'YOUR_WEBHOOK_URL');
define('OLLAMA_API', 'YOUR_OLLAMA_API_URL');
```

## Requirements
- PHP 7.4+
- MySQL/MariaDB
- SSL Certificate
- Telegram Bot Token
- Ollama with Qwen model

## License
MIT License

## Support
Create issue or contact developer for support