LogoLogo
  • Overview
  • Chatbot Features
  • Studio
  • Orchestration Interface
    • Node Orchestration
      • Node
        • Start
        • End
        • Direct Reply
        • LLM
        • Question Classifier
        • Knowledge Retrieval
        • Code Execution
        • Doc Extractor
        • HTTP Request
        • Conditional Branch IF/ELSE
        • Iteration
        • List Operator
        • Parameter Extraction
        • Template
        • Tools
        • Variable Aggregator
        • Variable Assigner
    • Variables
    • Application Toolkits
    • File Upload
  • Dataset
    • Dataset Creation
    • Text Preprocessing and Cleaning
      • Advanced Configuration
    • Retrieval Test/Citation
  • Privacy Policy
Powered by GitBook
On this page
  • Selecting the Query Variable
  • Choosing the Knowledge Base for Query
  • Configuring the Retrieval Strategy

Was this helpful?

  1. Orchestration Interface
  2. Node Orchestration
  3. Node

Knowledge Retrieval

PreviousQuestion ClassifierNextCode Execution

Last updated 2 months ago

Was this helpful?

The Knowledge Base Retrieval Node is designed to query text content related to user questions from the Glik Knowledge Base, which can then be used as context for subsequent answers by the Large Language Model (LLM).

Configuring the Knowledge Base Retrieval Node involves three main steps:

  1. Selecting the Query Variable

  2. Choosing the Knowledge Base for Query

  3. Configuring the Retrieval Strategy

Selecting the Query Variable

In knowledge base retrieval scenarios, the query variable typically represents the user's input question. In the "Start" node of conversational applications, the system pre-sets "sys.query" as the user input variable. This variable can be used to query the knowledge base for text chunks most closely related to the user's question. The maximum query content sent to the knowledge base is 200 characters.

Choosing the Knowledge Base for Query

Within the knowledge base retrieval node, you can add an existing knowledge base from Glik. For instructions on creating a knowledge base within Glik, please refer to the knowledge base .

Configuring the Retrieval Strategy

It's possible to modify the indexing strategy and retrieval mode for an individual knowledge base within the node. For a detailed explanation of these settings, refer to the knowledge base .

Glik offers two recall strategies for different knowledge base retrieval scenarios: "N-to-1 Recall" and "Multi-way Recall". In the N-to-1 mode, knowledge base queries are executed through function calling, requiring the selection of a system reasoning model. In the multi-way recall mode, a Rerank model needs to be configured for result re-ranking. For a detailed explanation of these two recall strategies, refer to the retrieval mode explanation in the .

help documentation
help documentation
help documentation