Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Heng30/chatbox
A Chatbot for OpenAI ChatGPT. Based on Slint-ui and Rust.
https://github.com/Heng30/chatbox
chatgpt openai rust slint-ui speech-recognition speech-synthesis tts
Last synced: 2 months ago
JSON representation
A Chatbot for OpenAI ChatGPT. Based on Slint-ui and Rust.
- Host: GitHub
- URL: https://github.com/Heng30/chatbox
- Owner: heng30
- License: mit
- Created: 2023-04-09T16:44:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-24T05:15:57.000Z (about 1 year ago)
- Last Synced: 2024-08-03T01:18:31.557Z (5 months ago)
- Topics: chatgpt, openai, rust, slint-ui, speech-recognition, speech-synthesis, tts
- Language: HTML
- Homepage:
- Size: 32.9 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-llm-and-aigc - Heng30/chatbox - ui and Rust. (Summary)
- awesome-llm-and-aigc - Heng30/chatbox - ui and Rust. (Summary)
- awesome-cuda-triton-hpc - Heng30/chatbox - ui and Rust. (Frameworks)
- awesome-cuda-triton-hpc - Heng30/chatbox - ui and Rust. (Frameworks)
- awesome-rust-list - Heng30/chatbox - ui and Rust. (GUI)
- awesome-rust-list - Heng30/chatbox - ui and Rust. (Machine Learning)
README
![screenshot](./screenshot/chatbox.png)
[中文文档](./README.zh-CN.md)
#### Introduction
A chatbot based on the OpenAI chatgpt-3.5-turbo API. The program is written using `Slint-UI` and `Rust`.#### Features
- [x] Supports `OpenAI chatgpt-3.5-turbo 4k and 16k` and `Azure OpenAI chatgpt-35-turbo 4k`
- [x] Create, save, and delete sessions
- [x] Configure a `system prompt` for each session
- [x] Supports deleting a single session question, clearing the current session, and stopping the current session
- [x] Supports configuring whether to enable historical session mode
- [x] Supports `Socks5` proxy configuration
- [x] Supports English and Chinese interface
- [x] Supports bilingual text-to-speech
- [x] Supports conversation archiving
- [x] Supports voice recording to text input
- [x] Supports concurrent output for different sessions
- [x] Supports shortcut commands to switch sessions and send questions#### How to build?
- Install `Rust` and `Cargo`
- Run `make build`
- Refer to [Makefile](./Makefile) for more information#### Reference
- [Slint Language Documentation](https://slint-ui.com/releases/1.0.0/docs/slint/)
- [github/slint-ui](https://github.com/slint-ui/slint)
- [Viewer for Slint](https://github.com/slint-ui/slint/tree/master/tools/viewer)
- [LSP (Language Server Protocol) Server for Slint](https://github.com/slint-ui/slint/tree/master/tools/lsp)
- [azure text2speech](https://learn.microsoft.com/zh-cn/azure/cognitive-services/speech-service/text-to-speech)
- [speech-synthesis-markup-voice](https://learn.microsoft.com/zh-cn/azure/cognitive-services/speech-service/speech-synthesis-markup-voice)
- [rest-speech-to-text-short](https://learn.microsoft.com/zh-cn/azure/cognitive-services/speech-service/rest-speech-to-text-short)
- [Azure OpenAI Server Document](https://learn.microsoft.com/zh-cn/azure/cognitive-services/openai/)