Skip to content

Comments

Add transcript sending to server every 15 seconds#6

Open
Ramcharan-Swaminathan wants to merge 4 commits intodhadhirahulpartfrom
Ramcharan-Swaminathan/add-transcript-sending
Open

Add transcript sending to server every 15 seconds#6
Ramcharan-Swaminathan wants to merge 4 commits intodhadhirahulpartfrom
Ramcharan-Swaminathan/add-transcript-sending

Conversation

@Ramcharan-Swaminathan
Copy link
Collaborator

Add functionality to record audio and generate transcript every 15 seconds, sending it to the specified URL.

  • Add transcriptIntervalRef to manage the interval for sending transcripts.
  • Modify handleStartRecording to start listening and initialize the interval.
  • Modify handleStopRecording to stop listening and clear the interval.
  • Add sendTranscript function to send the transcript to http://127.0.0.1:5000/generate_question.
  • Add startListening function to handle speech recognition and start the interval.
  • Add stopListening function to clear the interval.
  • Ensure the transcript is not shown to the candidate but only to the interviewer.

Add functionality to record audio and generate transcript every 15 seconds, sending it to the specified URL.

* Add `transcriptIntervalRef` to manage the interval for sending transcripts.
* Modify `handleStartRecording` to start listening and initialize the interval.
* Modify `handleStopRecording` to stop listening and clear the interval.
* Add `sendTranscript` function to send the transcript to `http://127.0.0.1:5000/generate_question`.
* Add `startListening` function to handle speech recognition and start the interval.
* Add `stopListening` function to clear the interval.
* Ensure the transcript is not shown to the candidate but only to the interviewer.
@restack-app
Copy link

restack-app bot commented Mar 10, 2025

No applications have been configured for previews targeting branch: dhadhirahulpart. To do so go to restack console and configure your applications for previews.

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