cancel
Showing results for 
Search instead for 
Did you mean: 

Speech recognition within CAI

former_member715938
Discoverer
0 Kudos

Dear people,

we would like to use CAI to detect intents from speech input. I noticed the /request endpoint which formerly accepted audio. This is deprecated.

In the API reference and changelog for SAP Conversational AI v2.4.0 I was reading about the /converse endpoint which accepts audio. A link for information is provided within the API reference which is not working: https://reverseproxy.cai.tools.sap/docs/api-reference/#converse-voice-file

How can we use the /converse endpoint?

Any help is appreciated.

Mark.

moshenaveh
Community Manager
Community Manager
0 Kudos
Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members.
Should you wish, you can revise your question by selecting Actions, then Edit.
Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

Accepted Solutions (1)

Accepted Solutions (1)

JonasB
Contributor

Hi Mark,

there is no speech-to-text support available as part of the SAP Conversational AI platform. You would indeed need to use a third-party service to convert the audio into text and afterwards call the /dialog endpoint of SAP Conversational AI for the further processing (either in browser or on the server).

Regards
Jonas

former_member715938
Discoverer
0 Kudos

Hi Jonas,

thanks for your response. Is the /converse endpoint deprecated as well? The API documentation seems to be a bit outdated here.

We really would like to avoid external engines. Right now we are looking for an alternative to Dialogflow which includes Speech2Text, intent detection and Text2Speech in a single request. Although this is working very well, we are looking for a European alternative. Maybe SAP is planning to integrate something similar in the future.

Thanks so far,
Mark.

Answers (1)

Answers (1)

supmalak93
Participant
0 Kudos

Hi Mark ,

If you are looking for speech to text conversion examples for CAI chat bot you can refer mentioned link .

https://blogs.sap.com/2020/11/24/how-to-provision-voice-enabled-ai-based-chat-bot-to-your-sap-me-sys...

former_member715938
Discoverer
0 Kudos

Unfortunately this is not what I am looking for. I got the audio in a file or stream and would like to use Speech2Text within CAI. I believe this is something that once worked and according to the API documentation it still should work via /converse endpoint.

Your solution is using browser APIs to do the recognition.