Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WRQ-5388: [POC] Input with useWhisper API #1626

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

vJIYEv
Copy link
Contributor

@vJIYEv vJIYEv commented Jun 14, 2024

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

useWhisper is a React Hook for OpenAI Whisper API with speech recorder, real-time transcription and silence removal built-in.
We'd like to research if we can adopt this hook into the Enact Input component.

Resolution

Made a demo on Sandston sampler Input.
If you click the mic button, recording starts and trascript text displays in input every 20 seconds.

Additional Considerations

This requires useWhisper API, OpenAI API Key, and OpenAI Endpoint.
Editing transcript text has not been developed properly yet.
Should choose just one of key input or transcribing for now.
It will be nice to enable editing transcript text later.

Links

WRQ-5388

Comments

Enact-DCO-1.0-Signed-off-by: Jiye Kim ([email protected])

Enact-DCO-1.0-Signed-off-by: Jiye Kim ([email protected])
Copy link

codecov bot commented Jun 14, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.

Project coverage is 81.59%. Comparing base (16e847c) to head (f5eeca9).
Report is 8 commits behind head on develop.

Files Patch % Lines
Input/InputField.js 72.72% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1626      +/-   ##
===========================================
+ Coverage    81.55%   81.59%   +0.04%     
===========================================
  Files          148      148              
  Lines         6674     6732      +58     
  Branches      1986     2014      +28     
===========================================
+ Hits          5443     5493      +50     
- Misses         938      944       +6     
- Partials       293      295       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant