mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Added a guide on setting chat variables (#6904)
### What problem does this PR solve? ### Type of change - [x] Documentation Update
This commit is contained in:
@ -161,7 +161,7 @@ export default {
|
||||
rerankPlaceholder: 'Please select',
|
||||
rerankTip: `If left empty, RAGFlow will use a combination of weighted keyword similarity and weighted vector cosine similarity; if a rerank model is selected, a weighted reranking score will replace the weighted vector cosine similarity. Please be aware that using a rerank model will significantly increase the system's response time.`,
|
||||
topK: 'Top-K',
|
||||
topKTip: `K chunks will be sent into the rerank model.`,
|
||||
topKTip: `Used together with the Rerank model, this setting defines the number of text chunks to be sent to the specified reranking model.`,
|
||||
delimiter: `Delimiter for text`,
|
||||
delimiterTip:
|
||||
'A delimiter or separator can consist of one or multiple special characters. If it is multiple characters, ensure they are enclosed in backticks( ``). For example, if you configure your delimiters like this: \\n`##`;, then your texts will be separated at line breaks, double hash symbols (##), and semicolons.',
|
||||
@ -404,7 +404,7 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
|
||||
chat: {
|
||||
newConversation: 'New conversation',
|
||||
createAssistant: 'Create an Assistant',
|
||||
assistantSetting: 'Assistant Setting',
|
||||
assistantSetting: 'Assistant settings',
|
||||
promptEngine: 'Prompt Engine',
|
||||
modelSetting: 'Model Setting',
|
||||
chat: 'Chat',
|
||||
@ -413,7 +413,7 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
|
||||
sendPlaceholder: 'Message the assistant...',
|
||||
chatConfiguration: 'Chat Configuration',
|
||||
chatConfigurationDescription:
|
||||
' Set up a chat assistant dedicated to your selected knowledge bases here! 💕',
|
||||
' Set up a chat assistant for your selected datasets (knowledge bases) here! 💕',
|
||||
assistantName: 'Assistant name',
|
||||
assistantNameMessage: 'Assistant name is required',
|
||||
namePlaceholder: 'e.g. Resume Jarvis',
|
||||
@ -440,7 +440,7 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
|
||||
topN: 'Top N',
|
||||
topNTip: `Not all chunks with similarity score above the 'similarity threshold' will be sent to the LLM. This selects 'Top N' chunks from the retrieved ones.`,
|
||||
variable: 'Variable',
|
||||
variableTip: `Variables can assist in developing more flexible strategies, particularly when you are using our chat assistant management APIs. These variables will be used by 'System prompt' as part of the prompts for the LLM. The variable {knowledge} is a reserved special variable representing your selected knowledge base(s), and all variables should be enclosed in curly braces {}.`,
|
||||
variableTip: `Used together with RAGFlow's chat assistant management APIs, variables can help develop more flexible system prompt strategies. The defined variables will be used by 'System prompt' as part of the prompts for the LLM. {knowledge} is a reserved special variable representing chunks retrieved from specified knowledge base(s), and all variables should be enclosed in curly braces {} in the 'System prompt'. See https://ragflow.io/docs/dev/set_chat_variables for details.`,
|
||||
add: 'Add',
|
||||
key: 'Key',
|
||||
optional: 'Optional',
|
||||
|
||||
Reference in New Issue
Block a user