MiniChat is a flexible and extensible chat application that supports multiple AI models and providers.
- Support for multiple AI providers:
- OpenAI
- Claude (Anthropic)
- Coze
- Configurable settings for each provider
- SQLite database for storing chat history
- Flask-based API for chat interactions
- Streaming responses for real-time chat experience
- Clone the repository
- Install the required dependencies: This project requires rye to install dependencies. Or you can use pip to install manually.
- Set up your configuration in
src/minichat/minichat.json
The minichat.exanple.json
file contains all the necessary configurations for the application. Copy it as minichat.json
and fill in the appropriate values for your environment.
-
Start the chat server:
rye run guniorn -w 4 -b 0.0.0.0:5000 --timeout 120 server_run:app
-
You can access the chat interface by visiting
http://0.0.0.0:5000
in your browser. -
Or you can use the cmd client to send message to the server: The client repository is here: https://github.com/26awen/mncc