-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AI Polish & workflow documentation
- Loading branch information
1 parent
8a513c6
commit 472117f
Showing
3 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: "AI 回复润色" | ||
description: "FastGPT AI 回复润色功能介绍" | ||
icon: "auto_awesome" | ||
draft: false | ||
toc: true | ||
weight: 361 | ||
--- | ||
|
||
## 特点 | ||
|
||
- 默认开启,需要手动关闭。 | ||
- 会影响输出类模块的行为,拦截“指定回复”、“AI对话”在Workflow中的输出,并在Workflow结束时统一输出。 | ||
- 全局生效(被调用的应用也会生效)。 | ||
|
||
## 说明 | ||
|
||
在不开启此功能时,如果Workflow的运行过程中如果触发了多个回复节点(例如“指定回复”、“AI对话”等),回复内容是多个节点输出的字符串拼接,这对于实际使用体验来说不够友好。这在多个应用调用的情景下特别常见。 | ||
|
||
因此我们增加了 *AI回复润色* 功能,如下图,定义了一个全局开关: | ||
|
||
![](/imgs/aiPolish.png) | ||
|
||
当用户开启此功能时,所有Workflow中间节点所输出的内容都会被拦截并记录下来,直到Workflow结束时,会使用 AI 进行润色并完成输出。 | ||
|
||
**建议**:如果Workflow中只有一个输出节点时,建议将此功能关闭。 |