egonSchiele / chisel

Open source writing app
https://chiseleditor.com
Other
38 stars 3 forks source link

Add support for customKey in navigation bar and uploadAudio API #68

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR adds support for the customKey feature in the Chisel app. It includes changes in both the frontend and backend to display the mic icon in the navigation bar if the user has entered a customKey. Additionally, the uploadAudio API has been modified to accept the user's customKey as a parameter and use it in the call to OpenAI's Whisper API for audio transcription.

Summary of Changes

Frontend Changes

Backend Changes

These changes ensure that the user's customKey is used for audio transcription and that the mic icon is displayed in the navigation bar when a customKey is present.

Fixes #67.


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

git checkout sweep/feature/customKey-support

To make tweaks to this pull request, leave a comment below or in the code.