rival-black•15mo ago
Auto Populate VF KB
I'm following the video "Auto populate your Voiceflow knowledge base with live search results" but there are missing explanations, I don't know what the prompts are:
In Set Variables there is a variable called {instructions} and for System, {prompt}
There is no template for this, so It is getting pretty hard to understand what this thing is doing.
Anybody knows where to get more information on how to do this?
Thank you.
1 Reply
To auto-populate your Voiceflow Knowledge Base (KB) with live search results, follow these steps:
1. Upload Documents: Start by uploading your documents to the KB. These documents are broken down into 'chunks' of text.
2. Question Handling: When a user asks a question, the KB identifies the most relevant 'chunks' from the uploaded documents.
3. Wrapper Prompt: The system combines these chunks, the question, custom instructions, and system prompts into a structured wrapper prompt.
4. AI Model: This package is sent to the AI model, which returns an answer based on the provided information.
Steps to Implement:
1. Navigate to Knowledge Base: Go to the Knowledge Base tab within the Content section of your dashboard.
2. Add Data Source: Click the 'Add Data Source' button and select the type of data source (URL, Plain text, Sitemap, PDF, Docx).
3. Set Refresh Rate: Choose how frequently you want the data to be updated (Never, Daily, Weekly, Monthly).
4. Customize Settings: Adjust settings like Model, Temperature, Max Tokens, Instructions, System, and Chunk Limit in the KB Settings modal to optimize AI responses.
Previewing and Testing:
- Preview Assistant: Press the grey 'play' button on the top right of your screen to open the testing modal and interact with your assistant.
- Test with Variety: Use a wide range of queries to ensure robustness.
- Check for Consistency: Ensure responses are consistent with the data provided.
- Adjust Settings: Test different settings to refine the AI’s performance.
For more detailed guidance, you can refer to the following resources:
- How Knowledge Base Works
- How to Structure a Complex Assistant