fascinating-indigo•17mo ago
Response with Data Source URL
I want a response to be with the URL of the Source. Sources are several Blog Posts. But i only get fake URL, made up from the blog title, but not the real url. Any ideas?
5 Replies
To get a response with the URL of the source in Voiceflow's Knowledge Base, you need to ensure that the source URL is included in the data you're uploading. However, the Knowledge Base doesn't automatically return the source URL in its responses. It generates responses based on the content of the data sources, not their metadata.
If you want the source URL to be part of the AI's response, you could consider adding the URL within the content of your data sources. For example, if your data source is a blog post, you could add a line at the end of the post saying "For more information, visit [source URL]". This way, the URL becomes part of the content that the AI can draw from when generating responses.
Remember, the Knowledge Base is designed to provide accurate and contextually relevant responses based on the content of your data sources. It's not designed to provide metadata about those sources. If you need to consistently provide source URLs in your AI's responses, you might need to consider a different approach or tool that better suits this requirement.
@NiKo | Voiceflow @bamelement Isn't there a new var to get the chunk data from the Response / Set AI steps?
If you're uploading URLs, the URL should be in the returned chunks but you need to use the KB Query API for that.
Voiceflow
Query
This API endpoint allows you to query the Voiceflow Knowledge Base Preview function and retrieve answers to user questions.
@W. Williams (SFT) This is only available with the KB Table BETA.