QQ chatbot leveraging OpenAI's API
Top 91.9% on sourcepulse
This project provides a ChatGPT-powered QQ chatbot, targeting QQ users who want to integrate AI chat capabilities into their social interactions. It offers a customizable, easy-to-deploy solution for private chats, group chats, and channels, leveraging OpenAI's official API for cost-effective and advanced conversational AI.
How It Works
The bot operates by connecting to QQ via the oicq
library (though this dependency is noted as problematic, leading to a pivot to Koishi plugins). It then interfaces with OpenAI's official API, specifically optimized for chat models like gpt-3.5-turbo
, offering significant cost savings over older models. Users can customize the bot's personality and behavior through a configuration file (config.json
) and an in-chat command system.
Quick Start & Requirements
config.json
for API keys, proxy settings (if needed), and custom personality.Highlighted Details
text-davinci-003
.config.json
for varied conversational styles.Maintenance & Community
oicq
dependency.openai-character
in the plugin market.Licensing & Compatibility
Limitations & Caveats
The original oicq
based implementation is deprecated due to instability. The recommended Koishi plugin approach requires setting up the Koishi client and installing the plugin separately.
1 year ago
1 day