a2hsh / chatGPT

A react app that connects to ChatGPT, providing a custom and accessible UI for using OpenAI's chat experience.
MIT License
1 stars 0 forks source link

Add Integration with WhisperAI API #7

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR adds integration with the Whisper OpenAI API to convert speech to text in the chatGPT application. It introduces a new feature that allows users to record their voice and send it as a message to the ChatGPT API. The recording is converted to text using the Whisper OpenAI API and then sent as a message to the ChatGPT API. This enhances the user experience by providing an alternative input method and improves accessibility by adding ARIA states and properties to the new buttons.

Summary of Changes

Please review and merge this PR to enable speech-to-text functionality in the chatGPT application.

Fixes #6.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/whisper-api-integration

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.