From bc76f18e90b52cef3d0669c751cd384c0ea24ec4 Mon Sep 17 00:00:00 2001 From: vincehe Date: Tue, 9 Apr 2024 13:54:54 +0000 Subject: [PATCH] GITBOOK-71: No subject --- en/features/workflow/node/llm.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/en/features/workflow/node/llm.md b/en/features/workflow/node/llm.md index f327092..af4fa62 100644 --- a/en/features/workflow/node/llm.md +++ b/en/features/workflow/node/llm.md @@ -31,8 +31,14 @@ If you opt for a completion model, the system provides preset prompt templates f
-**Memory Toggle Settings** In conversational applications (Chatflow), the LLM node defaults to enabling system memory settings. In multi-turn dialogues, the system stores historical dialogue messages and passes them into the model. In workflow applications (Workflow), system memory is turned off by default, and no memory setting options are provided. +**Memory Toggle Settings** -**Memory Window Settings** If the memory window setting is off, the system dynamically passes historical dialogue messages according to the model's context window. With the memory window setting on, you can configure the number of historical dialogue messages to pass based on your needs. +In conversational applications (Chatflow), the LLM node defaults to enabling system memory settings. In multi-turn dialogues, the system stores historical dialogue messages and passes them into the model. In workflow applications (Workflow), system memory is turned off by default, and no memory setting options are provided. -**Dialogue Role Name Settings** Due to differences in model training phases, different models adhere to role name commands to varying degrees, such as Human/Assistant, Human/AI, 人类/助手, etc. To adapt to the prompt response effects of multiple models, the system allows setting dialogue role names, modifying the role prefix in conversation history. +**Memory Window Settings** + +If the memory window setting is off, the system dynamically passes historical dialogue messages according to the model's context window. With the memory window setting on, you can configure the number of historical dialogue messages to pass based on your needs. + +**Dialogue Role Name Settings** + +Due to differences in model training phases, different models adhere to role name commands to varying degrees, such as Human/Assistant, Human/AI, 人类/助手, etc. To adapt to the prompt response effects of multiple models, the system allows setting dialogue role names, modifying the role prefix in conversation history.