relaxed-coral•17mo ago
Knowledge Base of URLs with Source
I want an AI Response based on a knowledge base. when user asks a question the source of the answer should be provided. i tried different approaches like using tavaly, but the responses are not very good.
as far as i know does the ai not have access to meta data (the URL of its source) . the source must be part of the content, to be accessible for the answer. how can i have a response from the knowledge base with the source of the answer?
1 Reply
To have an AI response based on a Knowledge Base with the source of the answer included, you can follow these steps:
1. Navigate to the Knowledge Base tab within the Content section of your Voiceflow dashboard. This is where you can manage your data sources.
2. Click the 'Add Data Source' button to start the process of adding a new data source. You can choose from various types of data sources, including URLs, which are ideal for web pages with static text.
3. After selecting the type of data source, you can set a refresh rate. This ensures that the information remains up-to-date.
4. Once you've added a data source, you can manage it using the Re-sync and Refresh features. The Re-sync feature allows you to manually update the selected URL data sources instantly.
5. To preview the AI's responses, use the 'Preview' button located in the header of your Knowledge Base CMS interface. You can input a question or query that a user might ask, and the system will process the query using the data sources and AI model you’ve configured.
6. The AI's response will be displayed in the 'Response' section. The sources from which the Agent retrieved the information are listed under the 'Sources' section. All sources can be selected to link to the relevant document they are coming from.
7. Based on the preview results, you may find it necessary to adjust your data sources, tweak the AI model settings, or refine the information within your Knowledge Base to improve the accuracy and quality of the responses.
Remember, the AI does not have access to metadata like the URL of its source. The source must be part of the content to be accessible for the answer. Therefore, when you are creating your Knowledge Base, make sure to include the source information within the content that you are adding. This way, the AI can reference the source when generating a response.