You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It returns bad request. I'm sure that my encoding and audio data is fine. The same audio data and encoding is accepted by emotion detection API and processed correctly.
Thanks a lot. It my mistake. It is returning success now. However,
a) when I try it with "interaction analytics, I did not get it to recognize. "speakerIds" is given without quotes. Is this ok?
b) Also, though I give 1 as the value for "speakers", it returns multiple speakers.
Here are my parameters
diarizationurl = "https://proxy.api.deepaffects.com/audio/generic/api/v1/async/analytics/interaction"
querystring = {"apikey":DEEP_AFFECTS_OFFICIAL_KEY, "webhook":RUN_SVC_BASEURL +"/initanalyticsresp"}
payload["languageCode"] = "en-US"#Deepaffects language codes are not known
payload["speakers"] = 1
payload[speakerIds] = [usergivenname]
payload ["sampleRate"] = 48000
payload ["metrics"] = ["all"]
Activity
gargsanchit31 commentedon Apr 27, 2020
May be your
audiodatadoes not have sufficient speech content. Try with the audio having at least 6-10 seconds of data.ishwara-bhat commentedon Apr 27, 2020
Thanks a lot. It my mistake. It is returning success now. However,
a) when I try it with "interaction analytics, I did not get it to recognize. "speakerIds" is given without quotes. Is this ok?
b) Also, though I give 1 as the value for "speakers", it returns multiple speakers.
Here are my parameters
diarizationurl = "https://proxy.api.deepaffects.com/audio/generic/api/v1/async/analytics/interaction"
querystring = {"apikey":DEEP_AFFECTS_OFFICIAL_KEY, "webhook":RUN_SVC_BASEURL +"/initanalyticsresp"}
payload["languageCode"] = "en-US"#Deepaffects language codes are not known
payload["speakers"] = 1
payload[speakerIds] = [usergivenname]
payload ["sampleRate"] = 48000
payload ["metrics"] = ["all"]
gargsanchit31 commentedon May 5, 2020
(a) I don't understand what do you mean by "speakerIds without quotes"
(b)
speakersparameter is not valid.I request you follow the updated docs.