logologo
Get Started
Guide
Development
Plugins
API
Home
English
简体中文
日本語
한국어
Español
Português
Deutsch
Français
Русский
Italiano
Türkçe
Українська
Tiếng Việt
Bahasa Indonesia
ไทย
Polski
Nederlands
Čeština
العربية
עברית
हिन्दी
Svenska
Get Started
Guide
Development
Plugins
API
Home
logologo
Overview
Quick Start

Features

Configure LLM Service
Enable AI Employees
Collaborate with AI Employees
Add Context - Blocks
Use Skills
Shortcuts
Web Search
Create AI Employee
Built-in AI Employees
Permissions
File Management

AI Knowledge Base

Overview
Vector Database
Vector Store
Knowledge Base
RAG

Workflow

LLM Node

Text Chat
Multimodal Chat
Structured Output

Application Practices

Scenarios

Viz: CRM Scenario Configuration

Configuration

Admin Configuration
Prompt Engineering Guide
Previous PageKnowledge Base
Next PageText Chat

#RAG Retrieval

#Introduction

After configuring the knowledge base, you can enable the RAG feature in the AI employee settings.

With RAG enabled, when a user chats with an AI employee, the AI employee will use RAG retrieval to fetch documents from the knowledge base based on the user's message and reply based on the retrieved documents.

#Enable RAG

Go to the AI employee plugin configuration page, click the AI employees tab to enter the AI employee management page.

20251023010811

Select the AI employee for which you want to enable RAG, click the Edit button to enter the AI employee editing page.

In the Knowledge base tab, turn on the Enable switch.

  • In Knowledge Base Prompt, enter the prompt for referencing the knowledge base. {knowledgeBaseData} is a fixed placeholder and should not be modified.
  • In Knowledge Base, select the configured knowledge base. See: Knowledge Base.
  • In the Top K input box, enter the number of documents to retrieve, the default is 3.
  • In the Score input box, enter the document relevance threshold for retrieval.

Click the Submit button to save the AI employee settings.

20251023010844