您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

workflow_llm.yml 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. app:
  2. description: ''
  3. icon: 🤖
  4. icon_background: '#FFEAD5'
  5. mode: workflow
  6. name: workflow_llm
  7. use_icon_as_answer_icon: false
  8. dependencies:
  9. - current_identifier: null
  10. type: marketplace
  11. value:
  12. marketplace_plugin_unique_identifier: langgenius/openai:0.2.5@373362a028986aae53a7baf73a7f11991ba3c22c69eaf97d6cde048cfd4a9f98
  13. kind: app
  14. version: 0.4.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. - image
  29. allowed_file_upload_methods:
  30. - local_file
  31. - remote_url
  32. enabled: false
  33. fileUploadConfig:
  34. audio_file_size_limit: 50
  35. batch_count_limit: 5
  36. file_size_limit: 15
  37. image_file_size_limit: 10
  38. video_file_size_limit: 100
  39. workflow_file_upload_limit: 10
  40. image:
  41. enabled: false
  42. number_limits: 3
  43. transfer_methods:
  44. - local_file
  45. - remote_url
  46. number_limits: 3
  47. opening_statement: ''
  48. retriever_resource:
  49. enabled: true
  50. sensitive_word_avoidance:
  51. enabled: false
  52. speech_to_text:
  53. enabled: false
  54. suggested_questions: []
  55. suggested_questions_after_answer:
  56. enabled: false
  57. text_to_speech:
  58. enabled: false
  59. language: ''
  60. voice: ''
  61. graph:
  62. edges:
  63. - data:
  64. isInIteration: false
  65. isInLoop: false
  66. sourceType: start
  67. targetType: llm
  68. id: 1757611990947-source-1757611992921-target
  69. source: '1757611990947'
  70. sourceHandle: source
  71. target: '1757611992921'
  72. targetHandle: target
  73. type: custom
  74. zIndex: 0
  75. - data:
  76. isInIteration: false
  77. isInLoop: false
  78. sourceType: llm
  79. targetType: end
  80. id: 1757611992921-source-1757611996447-target
  81. source: '1757611992921'
  82. sourceHandle: source
  83. target: '1757611996447'
  84. targetHandle: target
  85. type: custom
  86. zIndex: 0
  87. nodes:
  88. - data:
  89. desc: ''
  90. selected: false
  91. title: Start
  92. type: start
  93. variables:
  94. - label: question
  95. max_length: null
  96. options: []
  97. required: true
  98. type: text-input
  99. variable: question
  100. height: 90
  101. id: '1757611990947'
  102. position:
  103. x: 30
  104. y: 245
  105. positionAbsolute:
  106. x: 30
  107. y: 245
  108. selected: false
  109. sourcePosition: right
  110. targetPosition: left
  111. type: custom
  112. width: 244
  113. - data:
  114. context:
  115. enabled: false
  116. variable_selector: []
  117. desc: ''
  118. model:
  119. completion_params:
  120. temperature: 0.7
  121. mode: chat
  122. name: gpt-4o
  123. provider: langgenius/openai/openai
  124. prompt_template:
  125. - id: c165fcb6-f1f0-42f2-abab-e81982434deb
  126. role: system
  127. text: ''
  128. - role: user
  129. text: '{{#1757611990947.question#}}'
  130. selected: false
  131. title: LLM
  132. type: llm
  133. variables: []
  134. vision:
  135. enabled: false
  136. height: 90
  137. id: '1757611992921'
  138. position:
  139. x: 334
  140. y: 245
  141. positionAbsolute:
  142. x: 334
  143. y: 245
  144. selected: false
  145. sourcePosition: right
  146. targetPosition: left
  147. type: custom
  148. width: 244
  149. - data:
  150. desc: ''
  151. outputs:
  152. - value_selector:
  153. - '1757611992921'
  154. - text
  155. value_type: string
  156. variable: answer
  157. selected: false
  158. title: End
  159. type: end
  160. height: 90
  161. id: '1757611996447'
  162. position:
  163. x: 638
  164. y: 245
  165. positionAbsolute:
  166. x: 638
  167. y: 245
  168. selected: true
  169. sourcePosition: right
  170. targetPosition: left
  171. type: custom
  172. width: 244
  173. viewport:
  174. x: 0
  175. y: 0
  176. zoom: 0.7