@cfavila @Kunalmighty Hi guys! I made some progress on getting this set up but am still a bit stuck. Jotting down where I left off for tomorrow:
- It seems like there's a fetch that needs to be uncommented and pointed to the serverless service (probably on localhost 3000): https://github.com/Kunalmighty/SKO24Flex/blob/main/src/components/ConversationSummary.js#L21-L36. We should document in the README because it fails silently.
- Having uncommented that fetch, it doesn't seem to be supplying the body parameters (
transcript and language) that the ai-suggestion.js function requires?
- Without a transcript array, the transcript.forEach call fails here: https://github.com/Kunalmighty/SKO24Flex/blob/main/apps/serverless/functions/realtime-voice-suggestions/ai-suggestion.js#L34
Let me know if I am off-base here - perhaps the wrong function is being called?
@cfavila @Kunalmighty Hi guys! I made some progress on getting this set up but am still a bit stuck. Jotting down where I left off for tomorrow:
transcriptandlanguage) that theai-suggestion.jsfunction requires?Let me know if I am off-base here - perhaps the wrong function is being called?