For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
Hi everybody,
I am asking how to receive files sent by the user with FB in different formats such as audio, image, PDF .....
also if there is a documentation on how to integrate speech recognition.
thanks
Hi,
you can use the Common Response Component component. The payload you receive is the URL of the remote document to fetch. You would then use a custom component to download the documents
Frank
Hi
We have a similar requirement. Could you please elaborate it a little further.
Thanks
hi
you can use the SDK method conversation.attachment()to access the attachement it is very easy to use.
i use it in my project and it works very well.
Ameur
Hello, This link is not working. Can you please provide the link again? We have the same requirement where we need to send files to the bot.
Thank you.
Sandra Cantor
Here you go
"Hi everybody,
I am asking how to receive files sent by the user with FB in different formats such as audio, image, PDF ....."
Note that the above API gives you access to the URL where Facebook temporarily saves the content. You the need to stream it to whee yo want to store it
"... also if there is a documentation on how to integrate speech recognition."
Only for Alexa : https://blogs.oracle.com/mobile/adding-alexa-as-a-conversation-channel-to-your-oracle-digital-assistant-chatbot
Note that ODA does not do its own speech recognition yet. So you use 3rd party like Alexa, Siri etc.
Frank
Also we can use Google API by sending the audio to a custom component and the to to the api to get the text.
it will be grate if the platform integrate the ability of integrating the api of speech the same way of the translate
Actually there will be something coming on the native speech support in ODA. Its a roadmap item.
Frank
hi
you can use the SDK method conversation.attachment()to access the attachement it is very easy to use.
i use it in my project and it works very well.
Ameur
https://docs.oracle.com/en/cloud/paas/autonomous-digital-assistant-cloud/use-chatbot/reference1.html#GUID-52562284-22D5-4BDC-8483-53986FF28D17