extended-salmon•2y ago
Retrieval of content from uploaded file
Message for Tico. I have uploaded a file using the new widget code and I have the file url. How do I retrieve the content so as to analyse it in vf?
6 Replies
To retrieve the content from a file you've uploaded using the new widget code and analyze it in Voiceflow, you'll need to follow a few steps involving our Knowledge Base (KB) APIs. Here's a simplified overview:
- Ensure you have the Dialog Manager API Key by going to the Integration tab on your project and clicking the "Copy API key" button.
- Use the API key for authorization when making requests to the Knowledge Base APIs.
- To retrieve the content of your uploaded file, utilize the GET Document Chunk Retrieval Knowledge Base API. This will allow you to access the "chunks" or segments of the uploaded document.
- Once you have retrieved the content, you can analyze it within Voiceflow as needed.
Remember, the retrieval process is part of interacting with our Knowledge Base APIs, which requires proper authorization and understanding of how to work with API responses and variables within Voiceflow.
For more detailed guidance on working with Knowledge Base documents and APIs, you might find these resources helpful:
- Knowledge Base Docs Upload API
- Replacing Documents in the Knowledge Base
extended-salmonOP•2y ago
I am referring to a file uploaded via the chatbot not the development environment
I am also interested in this feature. I am not familiar with the "new widget code". What is it? Thanks for your help
extended-salmonOP•2y ago
The extensions are in beta. More at https://github.com/voiceflow/demos-n-examples
Thanks, very good to know that it is coming!
You can actually use them now. Have a look at the link above to get started and for a great video by Niko showing how they work.