Examples

Knowledge Base Bot

Build a chatbot that retrieves information from a knowledge base.

This example shows how to create a chatbot that uses a knowledge base to provide context-aware responses.

Workflow Structure

Here's an example of a knowledge base workflow:

Knowledge base workflow showing query, knowledge base retrieval, language model, and response nodes

Steps

  1. Add QueryNode for user input
  2. Add KnowledgeBaseRetrievalNode to fetch relevant context
  3. Add LanguageModelNode that uses the retrieved context
  4. Add ResponseNode for final output
  5. Connect: Query → Knowledge Base → Language Model → Response

Configuration

Make sure to configure your vector database connection in the KnowledgeBaseRetrievalNode settings.

Was this page helpful?