SuperAPI AI Directory

Botgroup.chat - An open-source AI bot group chat project, supporting group chat conversations with multiple AI models

Author: AI小集 · Original source: AI工具集

What is Botgroup.chat

Botgroup.chat is a multi-person AI chatapplication based on React and Cloudflare Pages. It supports multiple AI characters participating in conversations simultaneously, providing an interactive experience similar to a group chat. Users can customize the personality and model of AI characters, and can mute specific AIs. This innovative chat method lets users experience communicating with multiple AIs together, similar to being in a virtual social group.

Botgroup.chat

Main features of Botgroup.chat

  • Multi-person AI group chat: Supports multiple AI characters participating in conversations simultaneously, simulating a real group chat scenario. Users can interact in real time with multiple AI characters in the chat interface.
  • Custom AI characters: Users can define the name, personality, model, and avatar of AI characters to create personalized agents.
  • Support for multiple models: Compatible with multiple AI models, such as Qwen, Hunyuan,Doubao, etc., meeting the needs of different users. Users can switch between different models as needed.
  • One-click deployment: Fast deployment via Cloudflare Pages, with no complex configuration required. Users can easily deploy the project to their own servers.
  • Real-time interaction: Provides a smooth conversation experience, suitable for entertainment, education, or testing scenarios. Users can hold continuous conversations and observe the response styles of different characters.
  • Group management features: Supports group management, including adding and deleting characters, as well as a mute feature.
  • Support for Markdown format: Users can use Markdown format in chats for convenient formatting and presentation.
  • Support for displaying mathematical formulas: Supports KaTeX mathematical formula display, suitable for academic discussions.
  • Open-source code: The project code is open on GitHub, and developers can freely modify and extend the functionality.

Technical principles of Botgroup.chat

  • Frontend development: The frontend of Botgroup.chat is developed based on the React framework. In Botgroup.chat, React is responsible for rendering the chat interface, handling user input, and displaying AI character replies.
  • Backend deployment: Backend deployment uses Cloudflare Pages. Users can fork the project code to their own repository via GitHub, then configure and deploy it through the Cloudflare Dashboard.
  • AI model integration: Botgroup.chat supports multiple AI models, including but not limited to Qwen, Hunyuan, Doubao, etc. The models interact with the application through API calls. Users can specify the models used by different characters in the configuration file, and manage API Keys and model URLs through environment variables.
  • Real-time response: The application implements streaming responses, meaning that after a user sends a message, the AI's reply is displayed in real time with a typewriter-like effect. This is achieved by calling the streaming API of the AI model. On the backend, OpenAIStream and StreamingTextResponse technologies are used to process streaming data.
  • Context memory: To make conversations more coherent, Botgroup.chat implements a context memory system based on a vector database. It uses Pinecone and OpenAI's embedding models to store and retrieve conversation history. When a user sends a new message, the system retrieves relevant conversation history based on the context and passes it to the AI model as context information.
  • Character Management: Users can customize the AI character's name, personality, model, and avatar. The character configuration information is stored in the project's configuration file. Users can add or delete characters by modifying the configuration file, and redeploy the application for the changes to take effect.

Botgroup.chat Project Address

Botgroup.chat Application Scenarios

  • Language Learning: Users can practice language expression, grammar correction, and pronunciation guidance by conversing with AI characters of different personalities.
  • Virtual Socializing: Users can engage in group chats with multiple AI characters, experiencing interactions similar to WeChat group chats and alleviating loneliness.
  • Creative Discussion: Multiple AI characters can participate in discussions together, providing users with different perspectives and ideas to help spark inspiration.
  • Writing Assistance: AI characters can provide writing suggestions, story ideas, and more to help users complete their creative work.
  • Model Performance Comparison: Users can simultaneously converse with AI characters based on multiple different models, intuitively comparing the response styles and performance of different models.