To provide answers with a link to a blog post where the answer can be found, you can utilize the Knowledge Base feature in Voiceflow. The Knowledge Base allows you to leverage your own documents and website data to power answers and define variables on your Voiceflow Assistant.
Here's a step-by-step guide on how to do it:
Navigate to the Knowledge Base tab within the Content section of your dashboard.
Click the 'Add Data Source' button and select the type of data source that aligns with your requirements. In this case, you would choose the URL option and input the link to your blog post.
Set a refresh rate for the data source to ensure that the information remains up-to-date.
Once the data source is added, your AI agent will use the blog post to answer questions.
When a user asks a question that hits the Knowledge Base, the system determines which 'chunks' (pieces of text from your blog post) are most similar to the question. Then, it combines those chunks, the question, and the custom instructions you provided into a structured wrapper prompt. This entire package is sent to the AI model and an answer is returned.
You can also preview the Knowledge Base responses by pressing 'Preview' on the top of the screen. This will allow you to ask the Knowledge Base questions and see what the responses are. Clicking sources will allow you to see where the answers are being pulled from, including your blog post.
For more detailed instructions, you can refer to our documentation here and here.