mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00

* 4.7-alpha3 (#62) * doc * Optimize possible null Pointers and parts of Ux * fix: mulity index training error * feat: doc and rename question guide * fix ios speech input (#59) * fix: prompt editor variables nowrap (#61) * change openapi import in http module with curl import (#60) * chore(ui): dataset import modal ui (#58) * chore(ui): dataset import modal ui * use component * fix height * 4.7 (#63) * fix: claude3 image type verification failed (#1038) (#1040) * perf: curl import modal * doc img * perf: adapt cohere rerank * perf: code * perf: input style * doc --------- Co-authored-by: xiaotian <dimsky@163.com> * fix: ts * docker deploy * perf: prompt call * doc * ts * finish ui * perf: outlink detail ux * perf: user schema * fix: plugin update * feat: get current time plugin * fix: ts * perf: fetch anamation * perf: mark ux * doc * perf: select app ux * fix: split text custom string conflict * peref: inform readed * doc * memo flow component * perf: version * faq * feat: flow max runtimes * feat: similarity tip * feat: auto detect file encoding * Supports asymmetric vector model * fix: ts * perf: max w * move code * perf: hide whisper * fix: ts * feat: system msg modal * perf: catch error * perf: inform tip * fix: inform --------- Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com> Co-authored-by: xiaotian <dimsky@163.com>
1.9 KiB
1.9 KiB
title, description, icon, draft, toc, weight
title | description | icon | draft | toc | weight |
---|---|---|---|---|---|
用户引导 | FastGPT 用户引导模块介绍 | psychology | false | true | 353 |
特点
- 仅可添加 1 个
- 无外部输入
- 不参与实际调度
作用
可以配置欢迎语、全局变量、语言播报等,类似于系统设置,不参与工作流的运行。
欢迎语
会在对话开始前发送一个欢迎语。该功能只在网页生效,API是无效的,并且该欢迎语不会被加入 AI 的对话记录中。
可以通过特殊的 Markdown 语法,来实现快速提问。 如图中的:
[剧情介绍]
[导演是谁]
全局变量
![]() |
![]() |
如上图中,我们配置了一个名为测试
, key为test
的变量,类型为文本
的全局变量。并在对话中,通过{{test}}
来引用该变量。
![]() |
![]() |
从上图中,可以看出,实际的提示词从:这是一个变量测试: {{test}}
变成了: 这是一个变量测试: 变量测试
,因为{{test}}
被变量替换了。
变量在工作流中大部分的文本输入框
都生效,例如:HTTP模块的URL和参数、各种功能块的提示词。
有一个特殊类型的变量,交外部传入
。这种变量不需要用户填写,而是直接在调用时实时传入。目前支持从分享链接的Query和API调用的variables
对象中获取。
除了自定义的全局变量外,还有一些系统参数可以选择:
- cTime: 当前时间,字符串格式,例如:2023/3/3 20:22
语音播报
![]() |
![]() |
猜你想问
开启后,每次对话结束,会发送最近的6条对话记录给AI,AI会根据这些对话记录,给出 3 个可能的问题。