Need you act as a senior developer. we use AWS, angular with EC2. We have a coaching…
- User
Need you act as a senior developer.
we use AWS, angular with EC2. We have a coaching tool that places images on screen of particpants and uses webRTC for communications, we will aso be adding lines from twilio for VOIP.we currently have API for google and have trasncription working. and use GPT to analyze call.
I have a few questions
- Assistant
- User
we have used the built in voice text options on PC when on calls, that seems to work. I think it's webspeech API?
- Assistant
Yes, you're correct. The Web Speech API is a built-in browser API that can be used for speech recognition and synthesis (text-to-speech). The Web Speech API consists of two parts: SpeechSynthesis (Text-to-Speech) and SpeechRecognition (Asynchronous Speech-to-Text).
For real-time transcription during calls, you can use the SpeechRecognition interface of the Web Speech API. It allows you to recognize speech input from the user in real-time and convert it to text.
Here's a basic example of how to use the SpeechRecognition interface:
- First, check for browser support:
javascript - User
We would like to give the moderator (care coach) the option to use their built in PC system or a service like google.
the question i have is if the participant, a patient is using a mobile device, we find the webspeech not to be stable. can the care coach, perosn on the PC, take the inbound webrtc signal from the patient and run it thorugh their local pc to transcription ?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.