mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 04:05:58 +08:00
Updated component descriptions (#2293)
### What problem does this PR solve? ### Type of change - [x] Documentation Update
This commit is contained in:
parent
fe4b2bf969
commit
473f9892fb
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": 6,
|
||||
"title": "DB Assistant",
|
||||
"description": "A more advanced agent that converts user queries into SQL statements, executes the queries, and assesses and returns the results. You must prepare three knowledge bases: 1: DDL for your database; 2: Examples of user queries converted to SQL statements; 3: A comprehensive description of your database, including but not limited to tables and records. And you are also required to configure the corresponding database.",
|
||||
"description": "An advanced agent that converts user queries into SQL statements, executes the queries, and assesses and returns the results. You must prepare three knowledge bases: 1: DDL for your database; 2: Examples of user queries converted to SQL statements; 3: A comprehensive description of your database, including but not limited to tables and records. You are also required to configure the corresponding database.",
|
||||
"canvas_type": "chatbot",
|
||||
"dsl": {
|
||||
"answer": [],
|
||||
|
@ -647,16 +647,16 @@ The above is the content you need to summarize.`,
|
||||
run: 'Run',
|
||||
save: 'Save',
|
||||
title: 'Title:',
|
||||
beginDescription: 'This is where the flow begin',
|
||||
answerDescription: `This component is used as an interface between bot and human. It receives input of user and display the result of the computation of the bot.`,
|
||||
retrievalDescription: `This component is for the process of retrieving relevent information from knowledge base. So, knowledgebases should be selected. If there's nothing retrieved, the 'Empty response' will be returned.`,
|
||||
generateDescription: `This component is used to call LLM to generate text. Be careful about the prompt setting.`,
|
||||
categorizeDescription: `This component is used to categorize text. Please specify the name, description and examples of the category. Every single category leads to different downstream components.`,
|
||||
relevantDescription: `This component is used to judge if the output of upstream is relevent to user's latest question. 'Yes' represents that they're relevant. 'No' represents they're irrelevant.`,
|
||||
rewriteQuestionDescription: `This component is used to refine user's quesion. Typically, when a user's original question can't retrieve relevant information from knowledge base, this component help you change the question into a proper one which might be more consistant with the expressions in knowledge base. Only 'Retrieval' can be its downstreams.`,
|
||||
beginDescription: 'This is where the flow begins.',
|
||||
answerDescription: `A component that serves as the interface between human and bot, receiving user inputs and displaying the agent's responses.`,
|
||||
retrievalDescription: `A component that retrieves information from a specified knowledge base and returns 'Empty response' if no information is found. Ensure the correct knowledge base is selected.`,
|
||||
generateDescription: `A component that prompts the LLM to generate responses. Ensure the prompt is set correctly.`,
|
||||
categorizeDescription: `A component that uses the LLM to classify user inputs into predefined categories. Ensure you specify the name, description, and examples for each category, along with the corresponding next component.`,
|
||||
relevantDescription: `A component that uses the LLM to assess whether the upstream output is relevant to the user's latest query. Ensure you specify the next component for each judge result.`,
|
||||
rewriteQuestionDescription: `A component that refines a user query if it fails to retrieve relevant information from the knowledge base. It repeats this process until the predefined looping upper limit is reached. Ensure its upstream is 'Relevant' and downstream is 'Retrieval'. `,
|
||||
messageDescription:
|
||||
'This component is used to send user static information. You can prepare several messages which will be chosen randomly.',
|
||||
keywordDescription: `This component is used to extract keywords from user's question. Top N specifies the number of keywords you need to extract.`,
|
||||
"A component that sends out a static message. If multiple messages are supplied, it randomly selects one to send. Ensure its downstream is 'Answer', the interface component.",
|
||||
keywordDescription: `A component that retrieves top N search results from wikipedia.org. Ensure the TopN value is set properly before use.`,
|
||||
wikipediaDescription: `This component is used to get search result from https://www.wikipedia.org/. Typically, it performs as a supplement to knowledgebases. Top N specifies the number of search results you need to adapt.`,
|
||||
promptText: `Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following:
|
||||
{input}
|
||||
|
Loading…
x
Reference in New Issue
Block a user