ambitious-aqua•16mo ago
Combining Knowledge Base and AI model
Hi everyone,
is there a way for the chatbot to use the chat history (i.e. ai model) as well as the sources stored in the knowledge base (see screenshot) to answer the user's question?
So that the Voiceflow chatbot acts as a kind of conversational AI?

1 Reply
Yes, Voiceflow's chatbot can indeed use both the chat history and the sources stored in the Knowledge Base to answer the user's question. This is achieved through the integration of AI models and the Knowledge Base in Voiceflow.
The AI model is responsible for understanding the user's input and generating responses. It uses the chat history to maintain the context of the conversation and provide relevant responses.
On the other hand, the Knowledge Base is a collection of documents that power the Q&A of the Assistant. When a user asks a question, the system determines which 'chunks' of information from the Knowledge Base are similar to the question. This information, along with the question and any custom instructions or system prompts, are then packaged together and sent to the AI model to generate an answer.
This combination of AI models and the Knowledge Base allows the Voiceflow chatbot to act as a conversational AI, providing accurate and contextually relevant responses to user queries.
To preview the interaction of the AI model and Knowledge Base, you can use the 'Preview' button in the header of the Knowledge Base CMS interface. Here, you can enter a question or query a user might ask, and the system will process the query using the data sources and AI model configured. The AI's response is displayed in the 'Response' section, and you can review the sources from which the Agent retrieved information.
Remember, the previewing process is iterative, and based on the preview results, you may find it necessary to adjust data sources, tweak AI model settings, or refine information within the Knowledge Base to improve the accuracy and quality of responses.
For a more comprehensive understanding, you might want to check out these articles: How Knowledge Base Works and How to Set Up AI.