问题描述
我已经使用Watson Assistant构建了一个聊天机器人,并且我正在寻找一种方法来允许用户在聊天中上载pdf 或图像,例如使用 Upload File
按钮,或拖放或在此处文件
功能.
I have built a Chatbot using Watson Assistant, and I am looking for a way to enable the user to upload a pdf or an image in the chat, like using an Upload File
button, or a Drag and drop or files here
functionality.
推荐答案
IBM Cloud上的Watson Assistant是一种对话服务,可以与解决方案的其他组件进行交互.根据 Watson Assistant集成的类型,上传一个文件是否可以.您可能想查看自定义集成,允许您围绕chatbot功能构建此类文件上传功能.
Watson Assistant on IBM Cloud is a conversation service that can interact with other components of a solution. Depending on the type of Watson Assistant integration, uploading a file is possible, or not. You might want to check out custom integrations which would allow you to build such file uploading feature around the chatbot capability.
请注意,聊天机器人API 旨在通过交换消息来驱动对话框.文件上传将位于顶部.
Note that the chatbot API is designed for driving dialogs by exchanging messages. The file upload would be on top.
这篇关于Watson Assistant上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!