Alfie is a Blazor app that allows users to communicate with Chat GPT model using both text and voice input. The app utilizes Azure Cognitive Services for the model and text-to-speech functionality and vice versa.
- Text-based chat interface for users to interact with Chat GPT
- Voice-based chat interface for users to interact with Chat GPT
- Azure Cognitive Services integration for natural language processing and text-to-speech
- Responsive UI design for optimal user experience across different devices
- Blazor
- C#
- Azure Cognitive Services
- Open Ai
- Bootstrap
Prerequisites:
- .NET 6 SDK
- Azure Cognitive Services API key and region
- Open Ai API key
- Clone the repository: git clone https://github.com/Nemadjo94/Alfie.git
- Navigate to the project directory: cd your-repo
- Set the OpenAiApi key value in the appsettings.json file to your Open Ai API key.
- Set the AzureCognitiveServices Key and Region values in the appsettings.json file to your Azure Cognitive Services API key and region, respectively.
- Run the app: dotnet run
- Open the app in a web browser
- Enter your message in the text input field and click the "Send" button to send a text message to the chatbot
- Click the microphone button to enable voice input and speak your message. The app will transcribe your message and send it to the chatbot.
- The chatbot will respond to your messages in both text and voice format
This app was created by Nemanja Djordjevic.
This project is licensed under the MIT License.