dependent-tan•16mo ago
A good way to make Voiceflow interact with pdf in table format.
Hey guys I'm looking for a good way to make Voiceflow interact with a pdf in a table style properly. Till now I just put the pdf into the knowledge base and tryed to asked Voiceflow certain question about it the resulst were pretty bad .It is a table with three columns of time, description and place.

3 Replies
To make Voiceflow interact with a PDF in a table format, you need to upload the PDF to the Knowledge Base of your AI assistant. However, the performance of the assistant in interpreting and retrieving information from the PDF might vary depending on the complexity of the table and the quality of the PDF. Here's a step-by-step guide on how to do it:
1. Create an AI Assistant in Voiceflow: Start by creating an AI Assistant in Voiceflow. You can do this by clicking on the 'New Assistant' button in your workspace. Choose between 'Chat' or 'Voice' agent depending on your preference.
2. Add the PDF to the Knowledge Base: Once the AI Assistant is created, you can add data sources to its Knowledge Base. Click on 'Add Data Source' and select the PDF file from your device. The AI Assistant will use the documents in the Knowledge Base to answer questions via GPT. The more documents you upload, the better the answers. Please note that there's a 10mb file limit per upload.
3. Preview the Assistant's Responses: After uploading the PDF, press 'Preview' on the top of the screen. You can ask the Knowledge Base questions to see the responses. Clicking on the sources will show you where the answers are pulled from.
Remember, the AI's ability to accurately retrieve information from a table within a PDF can be limited, especially if the table is complex or the PDF quality is low. If the results are not satisfactory, you might want to consider converting the table into a more AI-friendly format, such as a plain text file or a CSV file, and then uploading it to the Knowledge Base.
For more detailed instructions, you can refer to these documents:
- Creating an AI Assistant in Voiceflow
- Adding Data to the Knowledge Base
- Previewing the Assistant's Responses
I hope this helps! If you have more questions, feel free to ask.
continuing-cyan•16mo ago
The KB doesn’t work well for formats like this. It can’t discern what’s in a table vs what isn’t. It just sees it all as text
We have an endpoint from JSON upload coming out where you can add a csv or json that is built for tables
For now, check out @Brendan 's great workaround using VF api and https://vectorshift.ai/ to query csv's and databases 👍🏽
https://youtu.be/fhCW_vZW3Qc?si=rqBAK8NlPAdQOYbf