Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e309135 commit 9d66834Copy full SHA for 9d66834
examples/voice/src/functions/deepgram/listen.ts
@@ -44,7 +44,7 @@ export async function deepgramListen({
44
results: results,
45
});
46
47
- const transcript = results?.channels[0].alternatives[0].transcript;
+ const transcript = results?.channels?.[0].alternatives?.[0].transcript;
48
49
log.info("deepgramListen transcript: ", {
50
transcript: transcript,
0 commit comments