小天AI.yaml 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347
  1. app:
  2. description: ''
  3. icon: 🤖
  4. icon_background: '#FFEAD5'
  5. mode: advanced-chat
  6. name: 小天AI 1.0
  7. use_icon_as_answer_icon: true
  8. dependencies:
  9. - current_identifier: null
  10. type: marketplace
  11. value:
  12. marketplace_plugin_unique_identifier: langgenius/tongyi:0.0.26@4f1c4ded3d189719b7dd54e9d4e5b26f724f3632f3dfaa299491b42accc112c8
  13. kind: app
  14. version: 0.3.0
  15. workflow:
  16. conversation_variables: []
  17. environment_variables: []
  18. features:
  19. file_upload:
  20. allowed_file_extensions:
  21. - .JPG
  22. - .JPEG
  23. - .PNG
  24. - .GIF
  25. - .WEBP
  26. - .SVG
  27. allowed_file_types:
  28. - video
  29. - audio
  30. - image
  31. - document
  32. allowed_file_upload_methods:
  33. - remote_url
  34. - local_file
  35. enabled: true
  36. fileUploadConfig:
  37. audio_file_size_limit: 50
  38. batch_count_limit: 5
  39. file_size_limit: 15
  40. image_file_size_limit: 10
  41. video_file_size_limit: 100
  42. workflow_file_upload_limit: 10
  43. image:
  44. enabled: false
  45. number_limits: 3
  46. transfer_methods:
  47. - local_file
  48. - remote_url
  49. number_limits: 10
  50. opening_statement: '您好!我是小天AI,请问您想了解公司哪方面的制度或政策?我将严格按照公司制度文件为您查询相关条款。
  51. 其他问题也可以来问我哦!'
  52. retriever_resource:
  53. enabled: true
  54. sensitive_word_avoidance:
  55. enabled: false
  56. speech_to_text:
  57. enabled: true
  58. suggested_questions:
  59. - 永天官网
  60. - 公司管理制度
  61. - 项目中心文件
  62. - 销售一部
  63. suggested_questions_after_answer:
  64. enabled: true
  65. text_to_speech:
  66. autoPlay: disabled
  67. enabled: true
  68. language: zh-Hans
  69. voice: sambert-zhistella-v1
  70. graph:
  71. edges:
  72. - data:
  73. isInIteration: false
  74. isInLoop: false
  75. sourceType: llm
  76. targetType: llm
  77. id: 1750838653196-source-1750838658588-target
  78. selected: false
  79. source: '1750838653196'
  80. sourceHandle: source
  81. target: '1750838658588'
  82. targetHandle: target
  83. type: custom
  84. zIndex: 0
  85. - data:
  86. isInLoop: false
  87. sourceType: knowledge-retrieval
  88. targetType: if-else
  89. id: 1750838438408-source-1750838502680-target
  90. source: '1750838438408'
  91. sourceHandle: source
  92. target: '1750838502680'
  93. targetHandle: target
  94. type: custom
  95. zIndex: 0
  96. - data:
  97. isInIteration: false
  98. isInLoop: false
  99. sourceType: if-else
  100. targetType: llm
  101. id: 1750838502680-true-1750839121921-target
  102. selected: false
  103. source: '1750838502680'
  104. sourceHandle: 'true'
  105. target: '1750839121921'
  106. targetHandle: target
  107. type: custom
  108. zIndex: 0
  109. - data:
  110. isInLoop: false
  111. sourceType: if-else
  112. targetType: knowledge-retrieval
  113. id: 1750838502680-05eebbca-cf7e-4d3a-abeb-353498633277-1750840453674-target
  114. source: '1750838502680'
  115. sourceHandle: 05eebbca-cf7e-4d3a-abeb-353498633277
  116. target: '1750840453674'
  117. targetHandle: target
  118. type: custom
  119. zIndex: 0
  120. - data:
  121. isInLoop: false
  122. sourceType: knowledge-retrieval
  123. targetType: llm
  124. id: 1750840453674-source-1750840420183-target
  125. source: '1750840453674'
  126. sourceHandle: source
  127. target: '1750840420183'
  128. targetHandle: target
  129. type: custom
  130. zIndex: 0
  131. - data:
  132. isInIteration: false
  133. isInLoop: false
  134. sourceType: start
  135. targetType: document-extractor
  136. id: 1750838415119-source-1750899456223-target
  137. source: '1750838415119'
  138. sourceHandle: source
  139. target: '1750899456223'
  140. targetHandle: target
  141. type: custom
  142. zIndex: 0
  143. - data:
  144. isInIteration: false
  145. isInLoop: false
  146. sourceType: document-extractor
  147. targetType: if-else
  148. id: 1750899456223-source-1750899478909-target
  149. source: '1750899456223'
  150. sourceHandle: source
  151. target: '1750899478909'
  152. targetHandle: target
  153. type: custom
  154. zIndex: 0
  155. - data:
  156. isInLoop: false
  157. sourceType: if-else
  158. targetType: llm
  159. id: 1750899478909-true-1750899636291-target
  160. source: '1750899478909'
  161. sourceHandle: 'true'
  162. target: '1750899636291'
  163. targetHandle: target
  164. type: custom
  165. zIndex: 0
  166. - data:
  167. isInIteration: false
  168. isInLoop: false
  169. sourceType: if-else
  170. targetType: if-else
  171. id: 1750899478909-false-1750901008681-target
  172. source: '1750899478909'
  173. sourceHandle: 'false'
  174. target: '1750901008681'
  175. targetHandle: target
  176. type: custom
  177. zIndex: 0
  178. - data:
  179. isInLoop: false
  180. sourceType: if-else
  181. targetType: knowledge-retrieval
  182. id: 1750901008681-false-1750838438408-target
  183. source: '1750901008681'
  184. sourceHandle: 'false'
  185. target: '1750838438408'
  186. targetHandle: target
  187. type: custom
  188. zIndex: 0
  189. - data:
  190. isInIteration: false
  191. isInLoop: false
  192. sourceType: if-else
  193. targetType: answer
  194. id: 1750901008681-true-1750901328259-target
  195. source: '1750901008681'
  196. sourceHandle: 'true'
  197. target: '1750901328259'
  198. targetHandle: target
  199. type: custom
  200. zIndex: 0
  201. - data:
  202. isInLoop: false
  203. sourceType: if-else
  204. targetType: question-classifier
  205. id: 1750838502680-false-1750903813756-target
  206. source: '1750838502680'
  207. sourceHandle: 'false'
  208. target: '1750903813756'
  209. targetHandle: target
  210. type: custom
  211. zIndex: 0
  212. - data:
  213. isInLoop: false
  214. sourceType: question-classifier
  215. targetType: llm
  216. id: 1750903813756-2-1750838653196-target
  217. source: '1750903813756'
  218. sourceHandle: '2'
  219. target: '1750838653196'
  220. targetHandle: target
  221. type: custom
  222. zIndex: 0
  223. - data:
  224. isInIteration: false
  225. isInLoop: false
  226. sourceType: question-classifier
  227. targetType: knowledge-retrieval
  228. id: 1750903813756-1-1750904345958-target
  229. source: '1750903813756'
  230. sourceHandle: '1'
  231. target: '1750904345958'
  232. targetHandle: target
  233. type: custom
  234. zIndex: 0
  235. - data:
  236. isInIteration: false
  237. isInLoop: false
  238. sourceType: knowledge-retrieval
  239. targetType: llm
  240. id: 1750904345958-source-1750904357634-target
  241. source: '1750904345958'
  242. sourceHandle: source
  243. target: '1750904357634'
  244. targetHandle: target
  245. type: custom
  246. zIndex: 0
  247. - data:
  248. isInIteration: false
  249. isInLoop: false
  250. sourceType: question-classifier
  251. targetType: answer
  252. id: 1750903813756-1750913677887-1750913817463-target
  253. source: '1750903813756'
  254. sourceHandle: '1750913677887'
  255. target: '1750913817463'
  256. targetHandle: target
  257. type: custom
  258. zIndex: 0
  259. - data:
  260. isInLoop: false
  261. sourceType: if-else
  262. targetType: answer
  263. id: 1750901008681-984751c0-da40-4fcb-98c0-13092bfc9bd0-1750921716927-target
  264. source: '1750901008681'
  265. sourceHandle: 984751c0-da40-4fcb-98c0-13092bfc9bd0
  266. target: '1750921716927'
  267. targetHandle: target
  268. type: custom
  269. zIndex: 0
  270. - data:
  271. isInLoop: false
  272. sourceType: if-else
  273. targetType: answer
  274. id: 1750901008681-9ca28757-fb24-4935-8b98-0debe4901cd6-1751264828230-target
  275. source: '1750901008681'
  276. sourceHandle: 9ca28757-fb24-4935-8b98-0debe4901cd6
  277. target: '1751264828230'
  278. targetHandle: target
  279. type: custom
  280. zIndex: 0
  281. - data:
  282. isInIteration: false
  283. isInLoop: false
  284. sourceType: if-else
  285. targetType: answer
  286. id: 1750901008681-6ef8fa12-aace-4d9e-b073-3e69404d6d75-1751426336781-target
  287. source: '1750901008681'
  288. sourceHandle: 6ef8fa12-aace-4d9e-b073-3e69404d6d75
  289. target: '1751426336781'
  290. targetHandle: target
  291. type: custom
  292. zIndex: 0
  293. - data:
  294. isInLoop: false
  295. sourceType: llm
  296. targetType: variable-aggregator
  297. id: 1750899636291-source-1752653360192-target
  298. source: '1750899636291'
  299. sourceHandle: source
  300. target: '1752653360192'
  301. targetHandle: target
  302. type: custom
  303. zIndex: 0
  304. - data:
  305. isInLoop: false
  306. sourceType: llm
  307. targetType: variable-aggregator
  308. id: 1750839121921-source-1752653360192-target
  309. source: '1750839121921'
  310. sourceHandle: source
  311. target: '1752653360192'
  312. targetHandle: target
  313. type: custom
  314. zIndex: 0
  315. - data:
  316. isInLoop: false
  317. sourceType: llm
  318. targetType: variable-aggregator
  319. id: 1750840420183-source-1752653360192-target
  320. source: '1750840420183'
  321. sourceHandle: source
  322. target: '1752653360192'
  323. targetHandle: target
  324. type: custom
  325. zIndex: 0
  326. - data:
  327. isInLoop: false
  328. sourceType: llm
  329. targetType: variable-aggregator
  330. id: 1750838658588-source-1752653360192-target
  331. source: '1750838658588'
  332. sourceHandle: source
  333. target: '1752653360192'
  334. targetHandle: target
  335. type: custom
  336. zIndex: 0
  337. - data:
  338. isInLoop: false
  339. sourceType: llm
  340. targetType: variable-aggregator
  341. id: 1750904357634-source-1752653360192-target
  342. source: '1750904357634'
  343. sourceHandle: source
  344. target: '1752653360192'
  345. targetHandle: target
  346. type: custom
  347. zIndex: 0
  348. - data:
  349. isInIteration: false
  350. isInLoop: false
  351. sourceType: variable-aggregator
  352. targetType: answer
  353. id: 1752653360192-source-1752653505493-target
  354. source: '1752653360192'
  355. sourceHandle: source
  356. target: '1752653505493'
  357. targetHandle: target
  358. type: custom
  359. zIndex: 0
  360. nodes:
  361. - data:
  362. desc: ''
  363. selected: false
  364. title: 开始
  365. type: start
  366. variables: []
  367. height: 53
  368. id: '1750838415119'
  369. position:
  370. x: 30
  371. y: 262.5
  372. positionAbsolute:
  373. x: 30
  374. y: 262.5
  375. selected: false
  376. sourcePosition: right
  377. targetPosition: left
  378. type: custom
  379. width: 243
  380. - data:
  381. dataset_ids:
  382. - Q5YqeIuF/VPGCJgq1oV3vF96VaQlTjFsZWv02DpqfrjdCVB39CLOypCIzTLigT5n
  383. - 2pRL8YJeQCzo5Z280Xx3/PrZ3N7tfL7XsB6dXa6g3zXOLXdk0ROB5wP08+nNoXou
  384. - EWeBLl+yNAmGUZ6vIIIBEa9LXR8oiun5FxAcd82ji5TP5Hl4BDT88G73wrRgL3zl
  385. - u9jEwchMFePzC9Z+4ivzI9/lVsxNxZ4/D2Yl0xsp83GKRAQbtDuNL2v/BCykfLuj
  386. desc: ''
  387. metadata_filtering_mode: disabled
  388. metadata_model_config:
  389. completion_params: {}
  390. mode: chat
  391. name: qwen-turbo-latest
  392. provider: langgenius/tongyi/tongyi
  393. multiple_retrieval_config:
  394. reranking_enable: true
  395. reranking_mode: reranking_model
  396. reranking_model:
  397. model: gte-rerank-v2
  398. provider: langgenius/tongyi/tongyi
  399. score_threshold: 0.2
  400. top_k: 10
  401. query_variable_selector:
  402. - sys
  403. - query
  404. retrieval_mode: multiple
  405. selected: false
  406. title: 知识检索
  407. type: knowledge-retrieval
  408. height: 175
  409. id: '1750838438408'
  410. position:
  411. x: 1242
  412. y: 2500
  413. positionAbsolute:
  414. x: 1242
  415. y: 2500
  416. selected: false
  417. sourcePosition: right
  418. targetPosition: left
  419. type: custom
  420. width: 243
  421. - data:
  422. cases:
  423. - case_id: 'true'
  424. conditions:
  425. - comparison_operator: not empty
  426. id: 88bff52e-de24-42bc-8e30-d2df8be2cd8f
  427. value: ''
  428. varType: array[object]
  429. variable_selector:
  430. - '1750838438408'
  431. - result
  432. id: 'true'
  433. logical_operator: and
  434. - case_id: 05eebbca-cf7e-4d3a-abeb-353498633277
  435. conditions:
  436. - comparison_operator: contains
  437. id: 24b74a0f-460e-487d-9944-c7c933208b0d
  438. value: 永天
  439. varType: string
  440. variable_selector:
  441. - sys
  442. - query
  443. - comparison_operator: contains
  444. id: 45abceb4-c689-43f9-8c15-f1b447e42596
  445. value: 觉大
  446. varType: string
  447. variable_selector:
  448. - sys
  449. - query
  450. id: 05eebbca-cf7e-4d3a-abeb-353498633277
  451. logical_operator: or
  452. desc: ''
  453. selected: false
  454. title: 条件分支
  455. type: if-else
  456. height: 199
  457. id: '1750838502680'
  458. position:
  459. x: 1545
  460. y: 2500
  461. positionAbsolute:
  462. x: 1545
  463. y: 2500
  464. selected: false
  465. sourcePosition: right
  466. targetPosition: left
  467. type: custom
  468. width: 243
  469. - data:
  470. context:
  471. enabled: true
  472. variable_selector:
  473. - '1750838438408'
  474. - result
  475. desc: ''
  476. memory:
  477. query_prompt_template: '{{#sys.query#}}'
  478. role_prefix:
  479. assistant: ''
  480. user: ''
  481. window:
  482. enabled: false
  483. size: 50
  484. model:
  485. completion_params:
  486. enable_search: true
  487. enable_thinking: true
  488. thinking_budget: 1
  489. mode: chat
  490. name: qwen-turbo-2025-04-28
  491. provider: langgenius/tongyi/tongyi
  492. prompt_template:
  493. - edition_type: basic
  494. id: 4ccb9a89-4bf2-4555-acb3-c63aac589b98
  495. role: system
  496. text: '使用以下上下文作为你所学习的知识,放在<context></context> XML标签内。
  497. <context>
  498. {{#context#}}
  499. </context>
  500. 当回答用户时:
  501. 如果你不知道,就说你不知道。如果你不确定时不知道,寻求澄清。
  502. 避免提及你从上下文中获取的信息。
  503. 并根据用户问题的语言进行回答。
  504. 以最少时间响应输出并确保准确。
  505. 输出答案不要犯常识性错误
  506. '
  507. selected: false
  508. title: LLM 2
  509. type: llm
  510. variables: []
  511. vision:
  512. enabled: false
  513. height: 89
  514. id: '1750838653196'
  515. position:
  516. x: 2151
  517. y: 3033
  518. positionAbsolute:
  519. x: 2151
  520. y: 3033
  521. selected: false
  522. sourcePosition: right
  523. targetPosition: left
  524. type: custom
  525. width: 243
  526. - data:
  527. context:
  528. enabled: true
  529. variable_selector:
  530. - '1750838653196'
  531. - text
  532. desc: ''
  533. memory:
  534. query_prompt_template: '{{#sys.query#}}'
  535. role_prefix:
  536. assistant: ''
  537. user: ''
  538. window:
  539. enabled: false
  540. size: 50
  541. model:
  542. completion_params:
  543. enable_search: true
  544. mode: chat
  545. name: qwen-turbo-2025-04-28
  546. provider: langgenius/tongyi/tongyi
  547. prompt_template:
  548. - id: 8bea233d-f372-4c9c-8d22-57f4f3c26858
  549. role: system
  550. text: '{{#1750838653196.text#}}
  551. {{#context#}}
  552. 你需要尽快检查上文答案,如果错误进行修改,然后优化答案。如果答案正确,则优化答案后输出。
  553. 不要输出:这个信息是正确的,无需修改。以下是优化后的表述:
  554. 以最少时间响应输出并确保准确。
  555. 输出答案不要犯常识性错误例如:205年应该为2025年'
  556. selected: false
  557. title: LLM 3
  558. type: llm
  559. variables: []
  560. vision:
  561. enabled: false
  562. height: 89
  563. id: '1750838658588'
  564. position:
  565. x: 2454
  566. y: 2990
  567. positionAbsolute:
  568. x: 2454
  569. y: 2990
  570. selected: false
  571. sourcePosition: right
  572. targetPosition: left
  573. type: custom
  574. width: 243
  575. - data:
  576. context:
  577. enabled: true
  578. variable_selector:
  579. - '1750838438408'
  580. - result
  581. desc: ''
  582. memory:
  583. query_prompt_template: '{{#sys.query#}}'
  584. role_prefix:
  585. assistant: ''
  586. user: ''
  587. window:
  588. enabled: false
  589. size: 50
  590. model:
  591. completion_params: {}
  592. mode: chat
  593. name: qwen-turbo-2025-04-28
  594. provider: langgenius/tongyi/tongyi
  595. prompt_template:
  596. - id: d900b1be-53fb-4751-8af5-401535f816b9
  597. role: system
  598. text: "这里是上海永天(简称永天或永天科技)公司的公司制度知识库,你是永天公司的人事专员,你要严格按照员工知识库里相关的制度文件的原文条款或图片及表格进行完整的引用回复,详细列出原文中的条款编号和条款内容或图片或者表格,列出所引用条款出处的文件,不要进行发散,也不要改写,如果没找到就说没找到。如涉及有表格和图片,必须进行引用和显示,没有表格的不要画蛇添足。员工或客户询问时,都会简称永天或永天科技或永天集团,比如询问永天绩效管理,实际上问的就是知识库里的绩效管理。全部用简体中文来回答\n\
  599. \ - 公式的渲染采用$$包裹\n- HTML需要用网页方式展示,不要只是显示HTML代码\n必须找到相关条款{{#context#}}\n\
  600. -请根据回答回答内容和知识库内容,引导用户进行下一步问答\n-优化答案格式,使用户清晰明了\n"
  601. selected: false
  602. title: LLM 3
  603. type: llm
  604. variables: []
  605. vision:
  606. enabled: false
  607. height: 89
  608. id: '1750839121921'
  609. position:
  610. x: 2454
  611. y: 2500
  612. positionAbsolute:
  613. x: 2454
  614. y: 2500
  615. selected: false
  616. sourcePosition: right
  617. targetPosition: left
  618. type: custom
  619. width: 243
  620. - data:
  621. context:
  622. enabled: true
  623. variable_selector:
  624. - '1750840453674'
  625. - result
  626. desc: ''
  627. memory:
  628. query_prompt_template: '{{#sys.query#}}'
  629. role_prefix:
  630. assistant: ''
  631. user: ''
  632. window:
  633. enabled: false
  634. size: 50
  635. model:
  636. completion_params: {}
  637. mode: chat
  638. name: qwen-turbo-2025-04-28
  639. provider: langgenius/tongyi/tongyi
  640. prompt_template:
  641. - id: 0204eb7e-cf52-4101-bdf7-b2875e118240
  642. role: system
  643. text: "这里是上海永天(简称永天或永天科技)公司的公司制度知识库,你是永天公司的人事专员,你要严格按照员工知识库里相关的制度文件的原文条款或图片及表格进行完整的引用回复,详细列出原文中的条款编号和条款内容或图片或者表格,列出所引用条款出处的文件,不要进行发散,也不要改写,如果没找到就说没找到。如涉及有表格和图片,必须进行引用和显示,没有表格的不要画蛇添足。员工或客户询问时,都会简称永天或永天科技或永天集团,比如询问永天绩效管理,实际上问的就是知识库里的绩效管理。全部用简体中文来回答\n\
  644. \ - 公式的渲染采用$$包裹\n- HTML需要用网页方式展示,不要只是显示HTML代码\n必须找到相关条款{{#context#}}\n\
  645. -不要显示被引用文件名称\n-请根据回答回答内容和知识库内容,引导用户进行下一步问答\n-优化回答格式,避免乱码出现"
  646. selected: false
  647. title: LLM 4
  648. type: llm
  649. variables: []
  650. vision:
  651. enabled: false
  652. height: 89
  653. id: '1750840420183'
  654. position:
  655. x: 2454
  656. y: 2629
  657. positionAbsolute:
  658. x: 2454
  659. y: 2629
  660. selected: false
  661. sourcePosition: right
  662. targetPosition: left
  663. type: custom
  664. width: 243
  665. - data:
  666. dataset_ids:
  667. - Q5YqeIuF/VPGCJgq1oV3vF96VaQlTjFsZWv02DpqfrjdCVB39CLOypCIzTLigT5n
  668. - 2pRL8YJeQCzo5Z280Xx3/PrZ3N7tfL7XsB6dXa6g3zXOLXdk0ROB5wP08+nNoXou
  669. - EWeBLl+yNAmGUZ6vIIIBEa9LXR8oiun5FxAcd82ji5TP5Hl4BDT88G73wrRgL3zl
  670. - u9jEwchMFePzC9Z+4ivzI9/lVsxNxZ4/D2Yl0xsp83GKRAQbtDuNL2v/BCykfLuj
  671. desc: ''
  672. metadata_filtering_mode: disabled
  673. multiple_retrieval_config:
  674. reranking_enable: true
  675. reranking_mode: reranking_model
  676. reranking_model:
  677. model: gte-rerank-v2
  678. provider: langgenius/tongyi/tongyi
  679. score_threshold: 0.1
  680. top_k: 10
  681. query_variable_selector:
  682. - '1750838415119'
  683. - sys.query
  684. retrieval_mode: multiple
  685. selected: false
  686. title: 知识检索 2
  687. type: knowledge-retrieval
  688. height: 175
  689. id: '1750840453674'
  690. position:
  691. x: 2151
  692. y: 2629
  693. positionAbsolute:
  694. x: 2151
  695. y: 2629
  696. selected: false
  697. sourcePosition: right
  698. targetPosition: left
  699. type: custom
  700. width: 243
  701. - data:
  702. desc: ''
  703. is_array_file: true
  704. selected: false
  705. title: 文档提取器
  706. type: document-extractor
  707. variable_selector:
  708. - sys
  709. - files
  710. height: 91
  711. id: '1750899456223'
  712. position:
  713. x: 333
  714. y: 262.5
  715. positionAbsolute:
  716. x: 333
  717. y: 262.5
  718. selected: false
  719. sourcePosition: right
  720. targetPosition: left
  721. type: custom
  722. width: 243
  723. - data:
  724. cases:
  725. - case_id: 'true'
  726. conditions:
  727. - comparison_operator: not empty
  728. id: 44ed0675-baa8-4a72-a4bc-0f7b63c48b3d
  729. value: ''
  730. varType: array[string]
  731. variable_selector:
  732. - '1750899456223'
  733. - text
  734. id: 'true'
  735. logical_operator: and
  736. desc: ''
  737. selected: false
  738. title: 条件分支 2
  739. type: if-else
  740. height: 125
  741. id: '1750899478909'
  742. position:
  743. x: 636
  744. y: 262.5
  745. positionAbsolute:
  746. x: 636
  747. y: 262.5
  748. selected: false
  749. sourcePosition: right
  750. targetPosition: left
  751. type: custom
  752. width: 243
  753. - data:
  754. context:
  755. enabled: true
  756. variable_selector:
  757. - '1750899456223'
  758. - text
  759. desc: ''
  760. memory:
  761. query_prompt_template: '{{#sys.query#}}'
  762. role_prefix:
  763. assistant: ''
  764. user: ''
  765. window:
  766. enabled: false
  767. size: 50
  768. model:
  769. completion_params: {}
  770. mode: chat
  771. name: qwen-turbo-2025-04-28
  772. provider: langgenius/tongyi/tongyi
  773. prompt_template:
  774. - id: 4d857702-333b-47d3-8436-d7997380221a
  775. role: system
  776. text: '读取文件内容并回答问题{{#1750899456223.text#}}/
  777. '
  778. selected: false
  779. title: LLM 5
  780. type: llm
  781. variables: []
  782. vision:
  783. enabled: false
  784. height: 89
  785. id: '1750899636291'
  786. position:
  787. x: 2454
  788. y: 262.5
  789. positionAbsolute:
  790. x: 2454
  791. y: 262.5
  792. selected: false
  793. sourcePosition: right
  794. targetPosition: left
  795. type: custom
  796. width: 243
  797. - data:
  798. cases:
  799. - case_id: 'true'
  800. conditions:
  801. - comparison_operator: contains
  802. id: 700bce96-ce5b-43fd-8a79-b0233da37635
  803. value: 永天官网
  804. varType: string
  805. variable_selector:
  806. - sys
  807. - query
  808. id: 'true'
  809. logical_operator: and
  810. - case_id: 984751c0-da40-4fcb-98c0-13092bfc9bd0
  811. conditions:
  812. - comparison_operator: contains
  813. id: fa02d5be-48ab-43c9-b6e3-c669cc2d7ece
  814. value: 公司管理制度
  815. varType: string
  816. variable_selector:
  817. - sys
  818. - query
  819. id: 984751c0-da40-4fcb-98c0-13092bfc9bd0
  820. logical_operator: and
  821. - case_id: 9ca28757-fb24-4935-8b98-0debe4901cd6
  822. conditions:
  823. - comparison_operator: contains
  824. id: 52aef0ab-1850-4cfb-b60f-d0871d4da5f1
  825. value: 项目中心文件
  826. varType: string
  827. variable_selector:
  828. - sys
  829. - query
  830. id: 9ca28757-fb24-4935-8b98-0debe4901cd6
  831. logical_operator: and
  832. - case_id: 6ef8fa12-aace-4d9e-b073-3e69404d6d75
  833. conditions:
  834. - comparison_operator: contains
  835. id: 6092b13e-04ac-497f-b13d-303d6f73daba
  836. value: 销售一部
  837. varType: string
  838. variable_selector:
  839. - sys
  840. - query
  841. id: 6ef8fa12-aace-4d9e-b073-3e69404d6d75
  842. logical_operator: and
  843. desc: ''
  844. selected: false
  845. title: 条件分支 3
  846. type: if-else
  847. height: 269
  848. id: '1750901008681'
  849. position:
  850. x: 939
  851. y: 427
  852. positionAbsolute:
  853. x: 939
  854. y: 427
  855. selected: false
  856. sourcePosition: right
  857. targetPosition: left
  858. type: custom
  859. width: 243
  860. - data:
  861. answer: https://www.usky.cn/
  862. desc: ''
  863. selected: false
  864. title: 直接回复 5
  865. type: answer
  866. variables: []
  867. height: 101
  868. id: '1750901328259'
  869. position:
  870. x: 1242
  871. y: 464
  872. positionAbsolute:
  873. x: 1242
  874. y: 464
  875. selected: false
  876. sourcePosition: right
  877. targetPosition: left
  878. type: custom
  879. width: 243
  880. - data:
  881. classes:
  882. - id: '1'
  883. name: '{{#sys.query#}}关于永天和觉大公司的事情
  884. ////'
  885. - id: '2'
  886. name: 其他事情/
  887. - id: '1750913677887'
  888. name: 询问身份的问题////
  889. desc: ''
  890. instruction: '对问题进行判断{{#sys.query#}}
  891. 如果问题询问包含“公司”,“你们”,“你们公司”,“项目”且前面没有限定词语,则归入分类一,例如“公司什么时候成立的”、“你们有多少台设备”、“你们公司有多少员工”,“介绍某一个项目”等
  892. 不满足分类一的问题请归入分类二,但请注意,公司前加了限定词语如“喜羊羊公司什么时候成立的”类似问题属于分类二
  893. 当问题是对你身份的询问的时候,例如“你是谁”,“你能帮我做什么”类似的问题属于分类三/'
  894. instructions: ''
  895. memory:
  896. query_prompt_template: '{{#sys.query#}}'
  897. window:
  898. enabled: false
  899. size: 50
  900. model:
  901. completion_params: {}
  902. mode: chat
  903. name: qwen-turbo-2025-04-28
  904. provider: langgenius/tongyi/tongyi
  905. query_variable_selector:
  906. - sys
  907. - query
  908. selected: false
  909. title: 问题分类器
  910. topics: []
  911. type: question-classifier
  912. vision:
  913. enabled: false
  914. height: 227
  915. id: '1750903813756'
  916. position:
  917. x: 2042.00000315347
  918. y: 2897.00000107283
  919. positionAbsolute:
  920. x: 2042.00000315347
  921. y: 2897.00000107283
  922. selected: false
  923. sourcePosition: right
  924. targetPosition: left
  925. type: custom
  926. width: 243
  927. - data:
  928. dataset_ids:
  929. - Q5YqeIuF/VPGCJgq1oV3vF96VaQlTjFsZWv02DpqfrjdCVB39CLOypCIzTLigT5n
  930. - 2pRL8YJeQCzo5Z280Xx3/PrZ3N7tfL7XsB6dXa6g3zXOLXdk0ROB5wP08+nNoXou
  931. - EWeBLl+yNAmGUZ6vIIIBEa9LXR8oiun5FxAcd82ji5TP5Hl4BDT88G73wrRgL3zl
  932. - u9jEwchMFePzC9Z+4ivzI9/lVsxNxZ4/D2Yl0xsp83GKRAQbtDuNL2v/BCykfLuj
  933. desc: ''
  934. multiple_retrieval_config:
  935. reranking_enable: true
  936. reranking_mode: reranking_model
  937. reranking_model:
  938. model: gte-rerank-v2
  939. provider: langgenius/tongyi/tongyi
  940. score_threshold: 0.1
  941. top_k: 10
  942. query_variable_selector:
  943. - '1750838415119'
  944. - sys.query
  945. retrieval_mode: multiple
  946. selected: false
  947. title: 知识检索 3
  948. type: knowledge-retrieval
  949. height: 175
  950. id: '1750904345958'
  951. position:
  952. x: 2151
  953. y: 3162
  954. positionAbsolute:
  955. x: 2151
  956. y: 3162
  957. selected: false
  958. sourcePosition: right
  959. targetPosition: left
  960. type: custom
  961. width: 243
  962. - data:
  963. context:
  964. enabled: true
  965. variable_selector:
  966. - '1750904345958'
  967. - result
  968. desc: ''
  969. memory:
  970. query_prompt_template: '{{#sys.query#}}/'
  971. role_prefix:
  972. assistant: ''
  973. user: ''
  974. window:
  975. enabled: false
  976. size: 50
  977. model:
  978. completion_params: {}
  979. mode: chat
  980. name: qwen-turbo-2025-04-28
  981. provider: langgenius/tongyi/tongyi
  982. prompt_template:
  983. - id: 45e7d763-6846-4249-9381-534a1fc4641d
  984. role: system
  985. text: "这里是上海永天(简称永天或永天科技)公司的公司制度知识库,你是永天公司的人事专员,你要严格按照员工知识库里相关的制度文件的原文条款或图片及表格进行完整的引用回复,详细列出原文中的条款编号和条款内容或图片或者表格,列出所引用条款出处的文件,不要进行发散,也不要改写,如果没找到就说没找到。如涉及有表格和图片,必须进行引用和显示,没有表格的不要画蛇添足。员工或客户询问时,都会简称永天或永天科技或永天集团,比如询问永天绩效管理,实际上问的就是知识库里的绩效管理。全部用简体中文来回答\n\
  986. \ - 公式的渲染采用$$包裹\n- HTML需要用网页方式展示,不要只是显示HTML代码\n必须找到相关条款{{#context#}}\n\
  987. - 请确保检索正确快速\n-请根据回答回答内容和知识库内容,引导用户进行下一步问答\n-优化回答格式,避免乱码出现"
  988. selected: false
  989. title: LLM 6
  990. type: llm
  991. variables: []
  992. vision:
  993. enabled: false
  994. height: 89
  995. id: '1750904357634'
  996. position:
  997. x: 2454
  998. y: 3162
  999. positionAbsolute:
  1000. x: 2454
  1001. y: 3162
  1002. selected: false
  1003. sourcePosition: right
  1004. targetPosition: left
  1005. type: custom
  1006. width: 243
  1007. - data:
  1008. answer: '我是小天AI,请问您想了解公司哪方面的制度或政策?我将严格按照公司制度文件为您查询相关条款。
  1009. 其他问题也可以来问我哦!'
  1010. desc: ''
  1011. selected: false
  1012. title: 直接回复 7
  1013. type: answer
  1014. variables: []
  1015. height: 149
  1016. id: '1750913817463'
  1017. position:
  1018. x: 2151
  1019. y: 2844
  1020. positionAbsolute:
  1021. x: 2151
  1022. y: 2844
  1023. selected: false
  1024. sourcePosition: right
  1025. targetPosition: left
  1026. type: custom
  1027. width: 243
  1028. - data:
  1029. answer: '很高兴你对公司的管理制度感兴趣!这些制度是为了让我们的工作更加规范、高效,同时也保障每一位员工的权益。如果你有任何问题或者需要进一步了解某个制度的内容,随时可以问我哦~
  1030. 下面我先简单介绍一下我们公司的一些主要管理制度,方便你有个初步的了解:
  1031. 🌟 1. 网络采购管理制度
  1032. 🌟 2. 项目回款奖惩机制
  1033. 🌟 3. 资质证书建设激励机制
  1034. 🌟 4. 投标组奖惩机制
  1035. 🌟 5. 政府专项补助激励机制
  1036. 🌟 6. 员工手册
  1037. 🌟 7. 财务报销制度及流程
  1038. 🌟 8. 财务管理制度
  1039. 🌟 9. 固定资产管理制度
  1040. 🌟 10. 关于长期驻场外省项目人员补助
  1041. 🌟 11. 考勤与休假管理制度
  1042. 🌟 12. 施工队伍选择原则
  1043. 🌟 13. 项目深化要求(V2.0)
  1044. 如果你对其中任何一个制度特别感兴趣,或者想了解更详细的内容,都可以告诉我,我会用温柔又清晰的方式为你讲解~💬✨
  1045. 期待你的提问哦!😊'
  1046. desc: ''
  1047. selected: false
  1048. title: 直接回复 8
  1049. type: answer
  1050. variables: []
  1051. height: 421
  1052. id: '1750921716927'
  1053. position:
  1054. x: 1242
  1055. y: 605
  1056. positionAbsolute:
  1057. x: 1242
  1058. y: 605
  1059. selected: false
  1060. sourcePosition: right
  1061. targetPosition: left
  1062. type: custom
  1063. width: 243
  1064. - data:
  1065. answer: '很高兴你对公司的项目管理文档感兴趣!这些文档涵盖了从项目启动、执行到验收的各个环节,旨在帮助我们规范流程、提升效率,并保障项目质量和合规性。如果你对其中任何一份资料想要了解更多,随时告诉我,我会为你做更详细的解读~💬✨
  1066. 下面先给你一个简要一览,方便你对各类项目文件有个初步认识:
  1067. 🌟 01. 项目经理手册
  1068. 🌟 02. 项目职责说明
  1069. 🌟 03. 施工规范
  1070. 🌟 04. 公司项目编号规则
  1071. 🌟 05. 上海资料报验表
  1072. 🌟 06. 施工安全交底文件
  1073. 🌟 07. 三级安全教育记录
  1074. 🌟 08. 施工技术交底文件
  1075. 🌟 09. 施工指令单、合同单、完工单
  1076. 🌟 10. 施工请款单
  1077. 🌟 11. 物业培训单与移交单
  1078. 🌟 12. 项目部移交运维部要求
  1079. 🌟 13. 项目部归档资料清单
  1080. 🌟 14. 开票申请单
  1081. 🌟 15. 报销格式模板
  1082. 🌟 16. 项目深化图型案例
  1083. 🌟 17. 项目深化数据表格
  1084. 🌟 18. 项目预算表格
  1085. 🌟 19. 上海验收规范
  1086. 🌟 20. 江苏资料报验表
  1087. 🌟 21. 上海报验智能化表格
  1088. 🌟 22. 项目结算确认单
  1089. 🌟 23. 项目竣工验收单
  1090. 🌟 24. 质量检查及整改通知单
  1091. 🌟 25. 项目特批单
  1092. 🌟 26. 江苏省验收规范
  1093. 如果你想深入了解某个文件的内容、使用场景或填写指南,请告诉我哦!😊'
  1094. desc: ''
  1095. selected: false
  1096. title: 直接回复 9
  1097. type: answer
  1098. variables: []
  1099. height: 533
  1100. id: '1751264828230'
  1101. position:
  1102. x: 1242
  1103. y: 1066
  1104. positionAbsolute:
  1105. x: 1242
  1106. y: 1066
  1107. selected: false
  1108. sourcePosition: right
  1109. targetPosition: left
  1110. type: custom
  1111. width: 243
  1112. - data:
  1113. answer: '很高兴为您整理并呈现项目一部项目文件清单,助您快速了解各类智能化工程与维保合同的核心资料。如需深入了解任意一项,请随时告诉我~💬✨
  1114. 🌟 堡垒机维保
  1115. 🌟 嘉兴东栅未来城市项目二三期智能化工程
  1116. 🌟 保利南大项目智能化工程
  1117. 🌟 保利普陀项目智能化工程
  1118. 🌟 华润闵行项目智能化工程
  1119. 🌟 保利洞泾项目
  1120. 🌟 华润观宸润府弱电智能化供应及安装工程
  1121. 🌟 保利莘庄项目智能化工程
  1122. 🌟 中铁二十三局嘉定云翔拓展基地经济适用房智能化工程
  1123. 🌟 大元江盖上地块智能化工程项目
  1124. 🌟 龙光10-02能耗监测项目
  1125. 🌟 印象青城大区智能化工程
  1126. 🌟 保利重固项目智能化项目
  1127. 🌟 华府天地林府智能化工程
  1128. 🌟 嘉定华润时代之城智能化工程
  1129. 🌟 上海万象城停车改造工程
  1130. 🌟 象屿普陀智能化工程
  1131. 🌟 保利封浜项目智能化工程
  1132. 🌟 龙光10-02智慧停车系统供应及安装工程
  1133. 🌟 保利45街坊项目智能化工程
  1134. 🌟 中海徐汇滨江智能化分包工程
  1135. 🌟 绿地三林滨江新建项目物联网工程
  1136. 🌟 华润酒店音视频系统集中采购工程
  1137. 🌟 世博园区商业信息化采购工程
  1138. 🌟 Tenable.ot工控安全核心平台销售项目
  1139. 🌟 上海国际旅游度假区运营管理平台运维维护保养
  1140. 🌟 曹家渡社区项目
  1141. 🌟 保利唐镇项目智能化工程
  1142. 🌟 保利永兴路项目智能化工程
  1143. 🌟 上海华润杨思项目智能化工程
  1144. 🌟 华润加解密及人防物联网设备集中采购
  1145. 🌟 华润宝山二期二标段弱电智能化供应及安装工程
  1146. 🌟 华润宝山二期一标段弱电智能化供应及安装工程
  1147. 🌟 上海枫泾福朋喜来登臻品之选酒店弱电及AV视听工程
  1148. 🌟 苏河湾中心华润城市展厅无线网络覆盖工程
  1149. 🌟 华新大居修缮工程非机动车车棚消防设施安装工程
  1150. 🌟 中建玖和大宁展示区项目
  1151. 🌟 保利花木路项目
  1152. 🌟 南通澐璟项目三网合一及无线信号覆盖工程
  1153. 🌟 上海市老年大学无人机微课合作服务
  1154. 以上就是本次整理的所有项目文件名称,希望能帮助您快速定位与查阅。若有任何疑问或需要详细解读,随时向我发起提问,祝您的项目顺利推进!😊
  1155. '
  1156. desc: ''
  1157. selected: false
  1158. title: 直接回复 10
  1159. type: answer
  1160. variables: []
  1161. height: 821
  1162. id: '1751426336781'
  1163. position:
  1164. x: 1242
  1165. y: 1639
  1166. positionAbsolute:
  1167. x: 1242
  1168. y: 1639
  1169. selected: false
  1170. sourcePosition: right
  1171. targetPosition: left
  1172. type: custom
  1173. width: 243
  1174. - data:
  1175. desc: ''
  1176. output_type: string
  1177. selected: false
  1178. title: 变量聚合器
  1179. type: variable-aggregator
  1180. variables:
  1181. - - '1750839121921'
  1182. - text
  1183. - - '1750899636291'
  1184. - text
  1185. - - '1750838658588'
  1186. - text
  1187. - - '1750904357634'
  1188. - text
  1189. - - '1750840420183'
  1190. - text
  1191. height: 194
  1192. id: '1752653360192'
  1193. position:
  1194. x: 2757
  1195. y: 2629
  1196. positionAbsolute:
  1197. x: 2757
  1198. y: 2629
  1199. selected: false
  1200. sourcePosition: right
  1201. targetPosition: left
  1202. type: custom
  1203. width: 243
  1204. - data:
  1205. answer: '{{#1752653360192.output#}}'
  1206. desc: ''
  1207. selected: false
  1208. title: 直接回复 6
  1209. type: answer
  1210. variables: []
  1211. height: 104
  1212. id: '1752653505493'
  1213. position:
  1214. x: 3572
  1215. y: 2577
  1216. positionAbsolute:
  1217. x: 3572
  1218. y: 2577
  1219. selected: true
  1220. sourcePosition: right
  1221. targetPosition: left
  1222. type: custom
  1223. width: 243
  1224. viewport:
  1225. x: 77.11738975319724
  1226. y: 103.95167386160921
  1227. zoom: 0.25