This project is based on SpeechGPT
AIChatApp is a web application that enables you to converse with ChatGPT.
You can utilize this app to improve your language speaking skills or simply have fun chatting with ChatGPT.
- 📖 Open source and free: Anyone can use, modify it without cost.
- 🔒 Privacy First: All data is stored locally.
- 📱 Mobile friendly: Designed to be accessible and usable on mobile devices.
- 📚 Support for multiple languages: Supports over 100 languages.
- 🎙 Speech Recognition: Includes both built-in speech recognition and integration with Azure Speech Services.
- 🔊 Speech Synthesis: Includes built-in speech synthesis, as well as integration with Amazon Polly and Azure Speech Services.
- Set the OpenAI API Key
- Go to Settings and navigate to the Chat section.
- Set the OpenAI API Key.
- If you don't have an OpenAI API Key, follow this tutorial on how to get an OpenAI API Key.
- Set up Azure Speech Services(optional)
- Go to Settings and navigate to the Synthesis section.
- Change the Speech Synthesis Service to Azure TTS.
- Set the Azure Region and Azure Access Key.
- Set up Amazon Polly (optional)
- Go to Settings and navigate to the Synthesis section.
- Change the Speech Synthesis Service to Amazon Polly.
- Set the AWS Region, AWS Access Key ID, and Secret Access Key (the Access Key should have the AmazonPollyFullAccess policy).
- If you don't have an AWS Access Key, follow this tutorial on how to create an IAM user in AWS.
- Install dependencies
yarn
- Start development server
yarn dev
- Build for production
yarn build
Code formatting(Using Prettier)
yarn format
This project is licensed under the terms of the MIT license.