ChatMAUI is an open-source, cross-platform project designed to provide a simple Blazor page for people to test and experiment with the ChatGPT API or use it on their mobile devices.
- Add and remove multiple chat sessions
- Customize chat session settings such as temperature, max tokens, and top P
- Add and remove messages in a chat session
- Send chat session to the ChatGPT API for completion
- Save and load chat sessions and API key using Akavache
To get started with ChatMAUI, simply clone the repository and open the project in Visual Studio or Visual Studio for Mac. The project uses .NET MAUI, which allows it to be built and run on a variety of platforms, including Android, iOS, and Windows.
The project structure of ChatMAUI is as follows:
ChatMAUI
: The main project containing the Blazor page and code-behind.ChatGPT
: A class library containing the Chat and ChatMessage classes, as well as the API request and response classes.ChatGPTAPI
: A class library containing the API request and response logic.
If you would like to contribute to ChatMAUI, feel free to submit a pull request. Contributions are always welcome and encouraged.
ChatMAUI is licensed under the GNU General Public License v3.0 License. See the LICENSE file for more information.
This README is made with chatgpt but with some edits.