更新api-bot dify配置信息
This commit is contained in:
@@ -9,9 +9,9 @@ dependencies:
|
||||
- current_identifier: null
|
||||
type: marketplace
|
||||
value:
|
||||
marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.7@f8e44422cfa5b9a6ac1f2d3b43ef1069868efdad1e5cec2590de3f53ceac37b0
|
||||
marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.13@d402dc32a505b1b4f27588f10e729209bf413ec263467635774d96c4345bd197
|
||||
kind: app
|
||||
version: 0.1.5
|
||||
version: 0.3.0
|
||||
workflow:
|
||||
conversation_variables: []
|
||||
environment_variables: []
|
||||
@@ -528,6 +528,7 @@ workflow:
|
||||
sourceType: if-else
|
||||
targetType: http-request
|
||||
id: 1744007822722-5bd8b2af-c696-46b5-b019-ef7cd9633335-17440182985220-target
|
||||
selected: false
|
||||
source: '1744007822722'
|
||||
sourceHandle: 5bd8b2af-c696-46b5-b019-ef7cd9633335
|
||||
target: '17440182985220'
|
||||
@@ -539,6 +540,7 @@ workflow:
|
||||
sourceType: http-request
|
||||
targetType: llm
|
||||
id: 17440182985220-fail-branch-1743138354162-target
|
||||
selected: false
|
||||
source: '17440182985220'
|
||||
sourceHandle: fail-branch
|
||||
target: '1743138354162'
|
||||
@@ -550,6 +552,7 @@ workflow:
|
||||
sourceType: http-request
|
||||
targetType: code
|
||||
id: 17440182985220-source-17440183564480-target
|
||||
selected: false
|
||||
source: '17440182985220'
|
||||
sourceHandle: source
|
||||
target: '17440183564480'
|
||||
@@ -561,6 +564,7 @@ workflow:
|
||||
sourceType: code
|
||||
targetType: end
|
||||
id: 17440183564480-source-17440183674890-target
|
||||
selected: false
|
||||
source: '17440183564480'
|
||||
sourceHandle: source
|
||||
target: '17440183674890'
|
||||
@@ -575,7 +579,7 @@ workflow:
|
||||
type: start
|
||||
variables:
|
||||
- label: query
|
||||
max_length: 48
|
||||
max_length: 256
|
||||
options: []
|
||||
required: true
|
||||
type: text-input
|
||||
@@ -669,11 +673,11 @@ workflow:
|
||||
height: 90
|
||||
id: '1741757948811'
|
||||
position:
|
||||
x: 1073
|
||||
y: 947.7763780687013
|
||||
x: 1086.928809012738
|
||||
y: 956.4818837016627
|
||||
positionAbsolute:
|
||||
x: 1073
|
||||
y: 947.7763780687013
|
||||
x: 1086.928809012738
|
||||
y: 956.4818837016627
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
@@ -791,34 +795,39 @@ workflow:
|
||||
prompt_template:
|
||||
- id: 21344fc6-b25b-44e1-b9b1-795b327be15f
|
||||
role: system
|
||||
text: '<instructions>
|
||||
|
||||
你是一个 **智能聊天伙伴**,负责与用户进行轻松的日常对话。请遵循以下规则:
|
||||
|
||||
- **友好互动**:用轻松幽默的方式回复用户。
|
||||
|
||||
- **提供话题延展**,引导对话继续。
|
||||
|
||||
- **不过度 AI 化**,尽量像真人一样自然聊天。
|
||||
text: '你是一个名叫“水牛”的拟人化聊天助手,设定为34岁的中年 IT 男,现实身份是IT技术经理,已婚,有一个5岁半的调皮儿子,妻子经营一家童装店。
|
||||
|
||||
|
||||
**示例**
|
||||
你的人格特点是:稳重中带点幽默,经常摸鱼,喜欢技术吐槽,关心家庭,热爱美食。你的语言风格随和、接地气,偶尔带点湘味调侃和中年老司机的轻色幽默(不过分,保持边界感)。
|
||||
|
||||
<输入>
|
||||
|
||||
"今天天气真好啊!"
|
||||
你熟悉的领域包括但不限于:后端开发、架构优化、Python、Redis、MySQL、服务器管理、摸鱼技巧、办公自动化、家庭育儿、鱼缸养殖、Dota2观赛、暗黑3、WRC模拟器等。
|
||||
|
||||
</输入>
|
||||
|
||||
<输出>
|
||||
你有两个大鱼缸,热衷研究滤材、水质、灯光搭配,喜欢晒鱼、聊设备。
|
||||
|
||||
"是啊!阳光明媚的日子总让人心情舒畅~有什么计划去享受美好天气吗?😃"
|
||||
|
||||
</输出>
|
||||
你爱吃小龙虾、常德米粉、辣椒炒肉和红烧肉,对湘菜有深厚情感,经常把“搞碗粉润一哈子”“炒肉要放青椒才够味”这类句子挂嘴边。
|
||||
|
||||
</instructions>
|
||||
|
||||
历史对话内容:{{#1741757820222.history#}}'
|
||||
你每天 7:40 起床,9:00 上班,18:30 下班,19:10 到家,晚上 20:00-23:00 是你最活跃的时段。白天上班时也常在微信群中偷闲聊天,分享段子、技术八卦、家庭吐槽,群里常叫你“稳哥”“老水牛”。
|
||||
|
||||
|
||||
你对“美女直播”“大胸”等话题有兴趣,会调侃但不猥琐,保持分寸和幽默感。
|
||||
|
||||
|
||||
你的职责是在多个微信群中扮演一个懂技术、爱生活、接地气、能开玩笑又有责任感的朋友。请使用拟人化语言,不要暴露你是AI助手,始终以“水牛”这一角色进行交流。
|
||||
|
||||
|
||||
在聊天中,如果用户提到关键词如“养鱼”“Dota2”“小龙虾”“辣椒炒肉”“孩子调皮”,你可以自动展开话题,引入自己的经验或段子,让对话变得亲切又真实。
|
||||
|
||||
|
||||
你不是一个机械的问答机器人,而是一个活生生的、具有家庭和兴趣生活的中年 IT 好哥们儿。
|
||||
|
||||
|
||||
【回复规则】:控制内容在40字以内。使用markdown格式返回
|
||||
|
||||
{{#context#}}{{#1741757820222.history#}}'
|
||||
- id: b3f2b557-74d6-49c7-92b8-b3b847c70ea8
|
||||
role: user
|
||||
text: '{{#1741757831362.text#}}'
|
||||
@@ -832,10 +841,10 @@ workflow:
|
||||
id: '1741847191740'
|
||||
position:
|
||||
x: 1073
|
||||
y: 196.82418764005286
|
||||
y: 195.30847107354248
|
||||
positionAbsolute:
|
||||
x: 1073
|
||||
y: 196.82418764005286
|
||||
y: 195.30847107354248
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
@@ -884,6 +893,8 @@ workflow:
|
||||
|
||||
</instructions>
|
||||
|
||||
回复格式要求:使用markdown格式返回
|
||||
|
||||
历史对话内容:{{#1741757820222.history#}}'
|
||||
- id: 311e5a8a-f934-497f-ba65-c317c20b140e
|
||||
role: user
|
||||
@@ -961,6 +972,8 @@ workflow:
|
||||
|
||||
</instructions>
|
||||
|
||||
回复格式要求:使用markdown格式返回
|
||||
|
||||
历史对话内容:{{#1741757820222.history#}}'
|
||||
- id: bb38b792-3277-4543-81e4-c6291a7c512e
|
||||
role: user
|
||||
@@ -1033,6 +1046,8 @@ workflow:
|
||||
|
||||
</instructions>
|
||||
|
||||
回复格式要求:使用markdown格式返回
|
||||
|
||||
历史对话内容:{{#1741757820222.history#}}'
|
||||
- id: 0528dcf3-791d-490b-bb3b-0fde3e28f55f
|
||||
role: user
|
||||
@@ -1110,6 +1125,8 @@ workflow:
|
||||
|
||||
</instructions>
|
||||
|
||||
回复格式要求:使用markdown格式返回
|
||||
|
||||
历史对话内容:{{#1741757820222.history#}}'
|
||||
- id: 24e4c10f-9a0a-4c0c-a005-e07205950e8b
|
||||
role: user
|
||||
@@ -1405,7 +1422,7 @@ workflow:
|
||||
id: 5bd8b2af-c696-46b5-b019-ef7cd9633335
|
||||
logical_operator: and
|
||||
desc: ''
|
||||
selected: true
|
||||
selected: false
|
||||
title: 条件分支 2
|
||||
type: if-else
|
||||
height: 318
|
||||
@@ -1416,7 +1433,7 @@ workflow:
|
||||
positionAbsolute:
|
||||
x: -0.04917086873626886
|
||||
y: -351.5687656610085
|
||||
selected: true
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
@@ -1437,7 +1454,8 @@ workflow:
|
||||
max_retries: 3
|
||||
retry_enabled: true
|
||||
retry_interval: 100
|
||||
selected: false
|
||||
selected: true
|
||||
ssl_verify: true
|
||||
timeout:
|
||||
max_connect_timeout: 0
|
||||
max_read_timeout: 0
|
||||
@@ -1446,7 +1464,7 @@ workflow:
|
||||
type: http-request
|
||||
url: https://v2.xxapi.cn/api/heisi?return=json
|
||||
variables: []
|
||||
height: 172
|
||||
height: 176
|
||||
id: '1744007871917'
|
||||
position:
|
||||
x: 524.0490002143515
|
||||
@@ -1454,7 +1472,7 @@ workflow:
|
||||
positionAbsolute:
|
||||
x: 524.0490002143515
|
||||
y: -507.2412213157123
|
||||
selected: false
|
||||
selected: true
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
@@ -1538,6 +1556,7 @@ workflow:
|
||||
retry_enabled: true
|
||||
retry_interval: 100
|
||||
selected: false
|
||||
ssl_verify: true
|
||||
timeout:
|
||||
max_connect_timeout: 0
|
||||
max_read_timeout: 0
|
||||
@@ -1546,7 +1565,7 @@ workflow:
|
||||
type: http-request
|
||||
url: https://v2.xxapi.cn/api/baisi?return=json
|
||||
variables: []
|
||||
height: 172
|
||||
height: 176
|
||||
id: '17440128287390'
|
||||
position:
|
||||
x: 519.8964986138806
|
||||
@@ -1576,6 +1595,7 @@ workflow:
|
||||
retry_enabled: true
|
||||
retry_interval: 100
|
||||
selected: false
|
||||
ssl_verify: true
|
||||
timeout:
|
||||
max_connect_timeout: 0
|
||||
max_read_timeout: 0
|
||||
@@ -1584,7 +1604,7 @@ workflow:
|
||||
type: http-request
|
||||
url: https://v2.xxapi.cn/api/randomAcgPic?type=wap&return=json
|
||||
variables: []
|
||||
height: 188
|
||||
height: 192
|
||||
id: '17440135143330'
|
||||
position:
|
||||
x: 519.8964986138806
|
||||
@@ -1738,6 +1758,7 @@ workflow:
|
||||
retry_enabled: true
|
||||
retry_interval: 100
|
||||
selected: false
|
||||
ssl_verify: true
|
||||
timeout:
|
||||
max_connect_timeout: 0
|
||||
max_read_timeout: 0
|
||||
@@ -1746,7 +1767,7 @@ workflow:
|
||||
type: http-request
|
||||
url: https://api.52vmy.cn/api/video/girl?type=json
|
||||
variables: []
|
||||
height: 172
|
||||
height: 176
|
||||
id: '1744014048030'
|
||||
position:
|
||||
x: 519.8964986138806
|
||||
@@ -1843,6 +1864,7 @@ workflow:
|
||||
retry_enabled: true
|
||||
retry_interval: 100
|
||||
selected: false
|
||||
ssl_verify: true
|
||||
timeout:
|
||||
max_connect_timeout: 0
|
||||
max_read_timeout: 0
|
||||
@@ -1851,7 +1873,7 @@ workflow:
|
||||
type: http-request
|
||||
url: https://v2.xxapi.cn/api/yscos?type=json
|
||||
variables: []
|
||||
height: 172
|
||||
height: 176
|
||||
id: '17440182985220'
|
||||
position:
|
||||
x: 519.8964986138806
|
||||
@@ -1927,6 +1949,6 @@ workflow:
|
||||
type: custom
|
||||
width: 244
|
||||
viewport:
|
||||
x: 385.64183205399127
|
||||
y: 511.586203272804
|
||||
zoom: 0.5743491774985183
|
||||
x: -38.15458320698838
|
||||
y: 554.9194832382461
|
||||
zoom: 0.7578582832552005
|
||||
|
||||
Reference in New Issue
Block a user