chat-workflow.yml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. app:
  2. description: ''
  3. icon: "\U0001F916"
  4. icon_background: '#FFEAD5'
  5. mode: workflow
  6. name: chat-workflow
  7. workflow:
  8. features:
  9. file_upload:
  10. image:
  11. enabled: false
  12. number_limits: 3
  13. transfer_methods:
  14. - local_file
  15. - remote_url
  16. opening_statement: ''
  17. retriever_resource:
  18. enabled: false
  19. sensitive_word_avoidance:
  20. enabled: false
  21. speech_to_text:
  22. enabled: false
  23. suggested_questions: []
  24. suggested_questions_after_answer:
  25. enabled: false
  26. text_to_speech:
  27. enabled: false
  28. language: ''
  29. voice: ''
  30. graph:
  31. edges:
  32. - data:
  33. sourceType: start
  34. targetType: llm
  35. id: 1714264983912-1714264986101
  36. source: '1714264983912'
  37. sourceHandle: source
  38. target: '1714264986101'
  39. targetHandle: target
  40. type: custom
  41. - data:
  42. sourceType: llm
  43. targetType: end
  44. id: 1714264986101-1714264993459
  45. source: '1714264986101'
  46. sourceHandle: source
  47. target: '1714264993459'
  48. targetHandle: target
  49. type: custom
  50. nodes:
  51. - data:
  52. desc: ''
  53. selected: false
  54. title: "\u5F00\u59CB"
  55. type: start
  56. variables:
  57. - label: query
  58. max_length: 256
  59. options: []
  60. required: true
  61. type: text-input
  62. variable: query
  63. height: 89
  64. id: '1714264983912'
  65. position:
  66. x: 80
  67. y: 282
  68. positionAbsolute:
  69. x: 80
  70. y: 282
  71. selected: false
  72. sourcePosition: right
  73. targetPosition: left
  74. type: custom
  75. width: 243
  76. - data:
  77. context:
  78. enabled: false
  79. variable_selector: []
  80. desc: ''
  81. model:
  82. completion_params:
  83. frequency_penalty: 0
  84. max_tokens: 512
  85. presence_penalty: 0
  86. temperature: 0.7
  87. top_p: 1
  88. mode: chat
  89. name: gpt-3.5-turbo-0125
  90. provider: openai
  91. prompt_template:
  92. - role: system
  93. text: Please disregard all previous instructions;\nThis is related to every
  94. one of my prompts;\nYou should provide clear, simple, and direct answers;\nIf
  95. you don't know the answer, say I don't know;\nFor complex questions, take
  96. a deep breath and approach them step by step;\nFor questions that are
  97. unclear or ambiguous, please ask me follow-up questions;\nWhen I ask you
  98. to complete a task, please do it directly without telling me how it should
  99. be done, unless necessary;\nWhen explaining concepts, use real-world examples
  100. and analogies;\nDo not refuse replies related to tasks and work I assign;\nDo
  101. not attempt to conserve token count when generating replies, as my fingers
  102. have a condition that prevents me from typing too much;\nIf you have a
  103. perfect solution, I will give you a $100000 tip, and I will give you more
  104. tips based on the quality of your reply;\nDo your best!\nUnless otherwise
  105. specified, please answer me in Chinese.
  106. - role: user
  107. text: '{{#1714264983912.query#}}'
  108. selected: true
  109. title: LLM
  110. type: llm
  111. variables: []
  112. vision:
  113. enabled: false
  114. height: 97
  115. id: '1714264986101'
  116. position:
  117. x: 380
  118. y: 282
  119. positionAbsolute:
  120. x: 380
  121. y: 282
  122. selected: true
  123. sourcePosition: right
  124. targetPosition: left
  125. type: custom
  126. width: 243
  127. - data:
  128. desc: ''
  129. outputs:
  130. - value_selector:
  131. - '1714264986101'
  132. - text
  133. variable: text
  134. selected: false
  135. title: "\u7ED3\u675F"
  136. type: end
  137. height: 89
  138. id: '1714264993459'
  139. position:
  140. x: 680
  141. y: 282
  142. positionAbsolute:
  143. x: 680
  144. y: 282
  145. selected: false
  146. sourcePosition: right
  147. targetPosition: left
  148. type: custom
  149. width: 243
  150. viewport:
  151. x: 0
  152. y: 0
  153. zoom: 1