├── README.md ├── .gitignore ├── LICENSE ├── translate_agent_dify_workflow.yml ├── how-to-write-a-good-title.yml └── imitatingWriter.yml /README.md: -------------------------------------------------------------------------------- 1 | # dify-workflow 2 | dify workflow 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | share/python-wheels/ 24 | *.egg-info/ 25 | .installed.cfg 26 | *.egg 27 | MANIFEST 28 | 29 | # PyInstaller 30 | # Usually these files are written by a python script from a template 31 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 32 | *.manifest 33 | *.spec 34 | 35 | # Installer logs 36 | pip-log.txt 37 | pip-delete-this-directory.txt 38 | 39 | # Unit test / coverage reports 40 | htmlcov/ 41 | .tox/ 42 | .nox/ 43 | .coverage 44 | .coverage.* 45 | .cache 46 | nosetests.xml 47 | coverage.xml 48 | *.cover 49 | *.py,cover 50 | .hypothesis/ 51 | .pytest_cache/ 52 | cover/ 53 | 54 | # Translations 55 | *.mo 56 | *.pot 57 | 58 | # Django stuff: 59 | *.log 60 | local_settings.py 61 | db.sqlite3 62 | db.sqlite3-journal 63 | 64 | # Flask stuff: 65 | instance/ 66 | .webassets-cache 67 | 68 | # Scrapy stuff: 69 | .scrapy 70 | 71 | # Sphinx documentation 72 | docs/_build/ 73 | 74 | # PyBuilder 75 | .pybuilder/ 76 | target/ 77 | 78 | # Jupyter Notebook 79 | .ipynb_checkpoints 80 | 81 | # IPython 82 | profile_default/ 83 | ipython_config.py 84 | 85 | # pyenv 86 | # For a library or package, you might want to ignore these files since the code is 87 | # intended to run in multiple environments; otherwise, check them in: 88 | # .python-version 89 | 90 | # pipenv 91 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 92 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 93 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 94 | # install all needed dependencies. 95 | #Pipfile.lock 96 | 97 | # poetry 98 | # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. 99 | # This is especially recommended for binary packages to ensure reproducibility, and is more 100 | # commonly ignored for libraries. 101 | # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control 102 | #poetry.lock 103 | 104 | # pdm 105 | # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. 106 | #pdm.lock 107 | # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it 108 | # in version control. 109 | # https://pdm.fming.dev/latest/usage/project/#working-with-version-control 110 | .pdm.toml 111 | .pdm-python 112 | .pdm-build/ 113 | 114 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm 115 | __pypackages__/ 116 | 117 | # Celery stuff 118 | celerybeat-schedule 119 | celerybeat.pid 120 | 121 | # SageMath parsed files 122 | *.sage.py 123 | 124 | # Environments 125 | .env 126 | .venv 127 | env/ 128 | venv/ 129 | ENV/ 130 | env.bak/ 131 | venv.bak/ 132 | 133 | # Spyder project settings 134 | .spyderproject 135 | .spyproject 136 | 137 | # Rope project settings 138 | .ropeproject 139 | 140 | # mkdocs documentation 141 | /site 142 | 143 | # mypy 144 | .mypy_cache/ 145 | .dmypy.json 146 | dmypy.json 147 | 148 | # Pyre type checker 149 | .pyre/ 150 | 151 | # pytype static type analyzer 152 | .pytype/ 153 | 154 | # Cython debug symbols 155 | cython_debug/ 156 | 157 | # PyCharm 158 | # JetBrains specific template is maintained in a separate JetBrains.gitignore that can 159 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore 160 | # and can be added to the global gitignore or merged into this file. For a more nuclear 161 | # option (not recommended) you can uncomment the following to ignore the entire idea folder. 162 | #.idea/ 163 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /translate_agent_dify_workflow.yml: -------------------------------------------------------------------------------- 1 | app: 2 | description: "AndrewNG\u7FFB\u8BD1" 3 | icon: "\U0001F916" 4 | icon_background: '#FFEAD5' 5 | mode: workflow 6 | name: "AndrewNG\u7FFB\u8BD1" 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 | isInIteration: false 34 | sourceType: start 35 | targetType: llm 36 | id: 1718950505392-source-1718950511536-target 37 | source: '1718950505392' 38 | sourceHandle: source 39 | target: '1718950511536' 40 | targetHandle: target 41 | type: custom 42 | zIndex: 0 43 | - data: 44 | isInIteration: false 45 | sourceType: llm 46 | targetType: if-else 47 | id: 1718950511536-source-1718953575148-target 48 | source: '1718950511536' 49 | sourceHandle: source 50 | target: '1718953575148' 51 | targetHandle: target 52 | type: custom 53 | zIndex: 0 54 | - data: 55 | isInIteration: false 56 | sourceType: if-else 57 | targetType: llm 58 | id: 1718953575148-true-1718953644457-target 59 | source: '1718953575148' 60 | sourceHandle: 'true' 61 | target: '1718953644457' 62 | targetHandle: target 63 | type: custom 64 | zIndex: 0 65 | - data: 66 | isInIteration: false 67 | sourceType: if-else 68 | targetType: llm 69 | id: 1718953575148-false-1718953728395-target 70 | source: '1718953575148' 71 | sourceHandle: 'false' 72 | target: '1718953728395' 73 | targetHandle: target 74 | type: custom 75 | zIndex: 0 76 | - data: 77 | isInIteration: false 78 | sourceType: llm 79 | targetType: variable-aggregator 80 | id: 1718953644457-source-1718953861684-target 81 | source: '1718953644457' 82 | sourceHandle: source 83 | target: '1718953861684' 84 | targetHandle: target 85 | type: custom 86 | zIndex: 0 87 | - data: 88 | isInIteration: false 89 | sourceType: llm 90 | targetType: variable-aggregator 91 | id: 1718953728395-source-1718953861684-target 92 | source: '1718953728395' 93 | sourceHandle: source 94 | target: '1718953861684' 95 | targetHandle: target 96 | type: custom 97 | zIndex: 0 98 | - data: 99 | isInIteration: false 100 | sourceType: variable-aggregator 101 | targetType: llm 102 | id: 1718953861684-source-1718953919176-target 103 | source: '1718953861684' 104 | sourceHandle: source 105 | target: '1718953919176' 106 | targetHandle: target 107 | type: custom 108 | zIndex: 0 109 | - data: 110 | isInIteration: false 111 | sourceType: llm 112 | targetType: end 113 | id: 1718953919176-source-1718954004515-target 114 | source: '1718953919176' 115 | sourceHandle: source 116 | target: '1718954004515' 117 | targetHandle: target 118 | type: custom 119 | zIndex: 0 120 | nodes: 121 | - data: 122 | desc: '' 123 | selected: false 124 | title: "\u5F00\u59CB" 125 | type: start 126 | variables: 127 | - label: "\u6E90\u8BED\u8A00" 128 | max_length: 48 129 | options: [] 130 | required: true 131 | type: text-input 132 | variable: source_lang 133 | - label: "\u76EE\u6807\u8BED\u8A00" 134 | max_length: 48 135 | options: [] 136 | required: true 137 | type: text-input 138 | variable: target_lang 139 | - label: "\u539F\u6587" 140 | max_length: 10000 141 | options: [] 142 | required: true 143 | type: paragraph 144 | variable: source_text 145 | - label: "\u56FD\u5BB6" 146 | max_length: 48 147 | options: [] 148 | required: false 149 | type: text-input 150 | variable: country 151 | height: 167 152 | id: '1718950505392' 153 | position: 154 | x: 266.0000020980731 155 | y: 293 156 | positionAbsolute: 157 | x: 266.0000020980731 158 | y: 293 159 | selected: false 160 | sourcePosition: right 161 | targetPosition: left 162 | type: custom 163 | width: 243 164 | - data: 165 | context: 166 | enabled: false 167 | variable_selector: [] 168 | desc: '' 169 | model: 170 | completion_params: 171 | temperature: 0.1 172 | mode: chat 173 | name: 01-ai/Yi-1.5-34B-Chat 174 | provider: siliconflow 175 | prompt_template: 176 | - edition_type: basic 177 | id: 302c4448-fc5a-47c4-b6cb-8924b188a054 178 | role: system 179 | text: You are an expert linguist, specializing in translation from {{#1718950505392.source_lang#}} 180 | to {{#1718950505392.target_lang#}}. 181 | - id: cdf1828b-5d79-4ab9-a8fe-0e49bb870123 182 | role: user 183 | text: 'This is an {{#1718950505392.source_lang#}} to {{#1718950505392.target_lang#}} 184 | translation, please provide the {{#1718950505392.target_lang#}} translation 185 | for this text. \ 186 | 187 | 188 | Do not provide any explanations or text apart from the translation. 189 | 190 | {{#1718950505392.source_lang#}}: {{#1718950505392.source_text#}} 191 | 192 | 193 | {{#1718950505392.target_lang#}}:' 194 | selected: false 195 | title: "\u521D\u6B65\u7FFB\u8BD1" 196 | type: llm 197 | variables: [] 198 | vision: 199 | enabled: false 200 | height: 97 201 | id: '1718950511536' 202 | position: 203 | x: 546.2073814976728 204 | y: 531.7634486239392 205 | positionAbsolute: 206 | x: 546.2073814976728 207 | y: 531.7634486239392 208 | selected: false 209 | sourcePosition: right 210 | targetPosition: left 211 | type: custom 212 | width: 243 213 | - data: 214 | conditions: 215 | - comparison_operator: not empty 216 | id: '1718953577998' 217 | value: '' 218 | variable_selector: 219 | - '1718950505392' 220 | - country 221 | desc: '' 222 | logical_operator: and 223 | selected: false 224 | title: "\u6761\u4EF6\u5206\u652F" 225 | type: if-else 226 | height: 125 227 | id: '1718953575148' 228 | position: 229 | x: 819.5081468425453 230 | y: 307.7383148789466 231 | positionAbsolute: 232 | x: 819.5081468425453 233 | y: 307.7383148789466 234 | selected: false 235 | sourcePosition: right 236 | targetPosition: left 237 | type: custom 238 | width: 243 239 | - data: 240 | context: 241 | enabled: false 242 | variable_selector: [] 243 | desc: '' 244 | model: 245 | completion_params: 246 | temperature: 0.1 247 | mode: chat 248 | name: 01-ai/Yi-1.5-34B-Chat 249 | provider: siliconflow 250 | prompt_template: 251 | - id: 48e8f5df-011c-4e8e-a82b-1cf4c2a55a68 252 | role: system 253 | text: 'Your task is to carefully read a source text and a translation from 254 | {{#1718950505392.source_lang#}} to {{#1718950505392.target_lang#}}, and 255 | then give constructive criticism and helpful suggestions to improve the 256 | translation. \ 257 | 258 | 259 | 260 | 261 | The final style and tone of the translation should match the style of 262 | {{#1718950505392.target_lang#}} colloquially spoken in {{#1718950505392.country#}}. 263 | 264 | 265 | 266 | The source text and initial translation, delimited by XML tags 267 | and , are as follows: 268 | 269 | 270 | 271 | {{#1718950505392.source_text#}} 272 | 273 | 274 | 275 | 276 | 277 | {{#1718950511536.text#}} 278 | 279 | 280 | 281 | When writing suggestions, pay attention to whether there are ways to improve 282 | the translation''s \n\ 283 | 284 | (i) accuracy (by correcting errors of addition, mistranslation, omission, 285 | or untranslated text),\n\ 286 | 287 | (ii) fluency (by applying {{#1718950505392.target_lang#}} grammar, spelling 288 | and punctuation rules, and ensuring there are no unnecessary repetitions),\n\ 289 | 290 | 291 | 292 | 293 | (iii) style (by ensuring the translations reflect the style of the source 294 | text and takes into account any cultural context),\n\ 295 | 296 | (iv) terminology (by ensuring terminology use is consistent and reflects 297 | the source text domain; and by only ensuring you use equivalent idioms 298 | {{#1718950505392.target_lang#}}).\n\ 299 | 300 | 301 | 302 | Write a list of specific, helpful and constructive suggestions for improving 303 | the translation. 304 | 305 | Each suggestion should address one specific part of the translation. 306 | 307 | Output only the suggestions and nothing else.' 308 | selected: false 309 | title: "\u5B58\u5728\u56FD\u5BB6\u7684\u7FFB\u8BD1" 310 | type: llm 311 | variables: [] 312 | vision: 313 | enabled: false 314 | height: 97 315 | id: '1718953644457' 316 | position: 317 | x: 1152.3674998467686 318 | y: 195.42819986497122 319 | positionAbsolute: 320 | x: 1152.3674998467686 321 | y: 195.42819986497122 322 | selected: false 323 | sourcePosition: right 324 | targetPosition: left 325 | type: custom 326 | width: 243 327 | - data: 328 | context: 329 | enabled: false 330 | variable_selector: [] 331 | desc: '' 332 | model: 333 | completion_params: 334 | temperature: 0.1 335 | mode: chat 336 | name: 01-ai/Yi-1.5-34B-Chat 337 | provider: siliconflow 338 | prompt_template: 339 | - id: 6cb5ff4f-86b8-443c-bc1b-f14ff1edfe12 340 | role: system 341 | text: 'Your task is to carefully read a source text and a translation from 342 | {{#1718950505392.source_lang#}} to {{#1718950505392.target_lang#}}, and 343 | then give constructive criticism and helpful suggestions to improve the 344 | translation. \ 345 | 346 | 347 | 348 | The source text and initial translation, delimited by XML tags 349 | and , are as follows: 350 | 351 | 352 | 353 | {{#1718950505392.source_text#}} 354 | 355 | 356 | 357 | 358 | 359 | {{#1718950511536.text#}} 360 | 361 | 362 | 363 | When writing suggestions, pay attention to whether there are ways to improve 364 | the translation''s \n\ 365 | 366 | (i) accuracy (by correcting errors of addition, mistranslation, omission, 367 | or untranslated text),\n\ 368 | 369 | (ii) fluency (by applying {{#1718950505392.target_lang#}} grammar, spelling 370 | and punctuation rules, and ensuring there are no unnecessary repetitions),\n\ 371 | 372 | 373 | 374 | (iii) style (by ensuring the translations reflect the style of the source 375 | text and takes into account any cultural context),\n\ 376 | 377 | (iv) terminology (by ensuring terminology use is consistent and reflects 378 | the source text domain; and by only ensuring you use equivalent idioms 379 | {{#1718950505392.target_lang#}}).\n\ 380 | 381 | 382 | Write a list of specific, helpful and constructive suggestions for improving 383 | the translation. 384 | 385 | Each suggestion should address one specific part of the translation. 386 | 387 | Output only the suggestions and nothing else.' 388 | selected: false 389 | title: "\u4E0D\u5B58\u5728\u56FD\u5BB6\u7684\u7FFB\u8BD1" 390 | type: llm 391 | variables: [] 392 | vision: 393 | enabled: false 394 | height: 97 395 | id: '1718953728395' 396 | position: 397 | x: 1152.3674998467686 398 | y: 508.8952075887614 399 | positionAbsolute: 400 | x: 1152.3674998467686 401 | y: 508.8952075887614 402 | selected: false 403 | sourcePosition: right 404 | targetPosition: left 405 | type: custom 406 | width: 243 407 | - data: 408 | desc: '' 409 | output_type: string 410 | selected: false 411 | title: "\u53D8\u91CF\u805A\u5408\u5668" 412 | type: variable-aggregator 413 | variables: 414 | - - '1718953728395' 415 | - text 416 | - - '1718953644457' 417 | - text 418 | height: 137 419 | id: '1718953861684' 420 | position: 421 | x: 1486.5744732161168 422 | y: 356.1504099784407 423 | positionAbsolute: 424 | x: 1486.5744732161168 425 | y: 356.1504099784407 426 | selected: false 427 | sourcePosition: right 428 | targetPosition: left 429 | type: custom 430 | width: 243 431 | - data: 432 | context: 433 | enabled: false 434 | variable_selector: [] 435 | desc: '' 436 | model: 437 | completion_params: 438 | temperature: 0.1 439 | mode: chat 440 | name: 01-ai/Yi-1.5-34B-Chat 441 | provider: siliconflow 442 | prompt_template: 443 | - id: 0b4c64da-5d3f-4d59-a035-4e8d43e8d593 444 | role: system 445 | text: 'Your task is to carefully read, then edit, a translation from {{#1718950505392.source_lang#}} 446 | to {{#1718950505392.target_lang#}}, taking into 447 | 448 | 449 | 450 | 451 | account a list of expert suggestions and constructive criticisms. 452 | 453 | The source text, the initial translation, and the expert linguist suggestions 454 | are delimited by XML tags , 455 | and \ 456 | 457 | as follows: 458 | 459 | 460 | 461 | {{#1718950505392.source_text#}} 462 | 463 | 464 | 465 | 466 | 467 | {{#1718950511536.text#}} 468 | 469 | 470 | 471 | 472 | 473 | {{#1718953861684.output#}} 474 | 475 | 476 | 477 | Please take into account the expert suggestions when editing the translation. 478 | Edit the translation by ensuring: 479 | 480 | (i) accuracy (by correcting errors of addition, mistranslation, omission, 481 | or untranslated text), 482 | 483 | (ii) fluency (by applying {{#1718950505392.target_lang#}} grammar, spelling 484 | and punctuation rules and ensuring there are no unnecessary repetitions), 485 | \ 486 | 487 | 488 | 489 | (iii) style (by ensuring the translations reflect the style of the source 490 | text) 491 | 492 | (iv) terminology (inappropriate for context, inconsistent use), or 493 | 494 | (v) other errors. 495 | 496 | Output only the new translation and nothing else.' 497 | selected: false 498 | title: "\u7FFB\u8BD1\u6548\u679C\u589E\u5F3A" 499 | type: llm 500 | variables: [] 501 | vision: 502 | enabled: false 503 | height: 97 504 | id: '1718953919176' 505 | position: 506 | x: 1783.88427286755 507 | y: 207.73831344191024 508 | positionAbsolute: 509 | x: 1783.88427286755 510 | y: 207.73831344191024 511 | selected: true 512 | sourcePosition: right 513 | targetPosition: left 514 | type: custom 515 | width: 243 516 | - data: 517 | desc: '' 518 | outputs: 519 | - value_selector: 520 | - '1718953919176' 521 | - text 522 | variable: translation_result 523 | selected: false 524 | title: "\u7ED3\u675F" 525 | type: end 526 | height: 89 527 | id: '1718954004515' 528 | position: 529 | x: 2061.181900122829 530 | y: 400.9272612359544 531 | positionAbsolute: 532 | x: 2061.181900122829 533 | y: 400.9272612359544 534 | selected: false 535 | sourcePosition: right 536 | targetPosition: left 537 | type: custom 538 | width: 243 539 | viewport: 540 | x: -409.96609824146935 541 | y: 80.14816271090882 542 | zoom: 0.8705505858143526 543 | -------------------------------------------------------------------------------- /how-to-write-a-good-title.yml: -------------------------------------------------------------------------------- 1 | app: 2 | description: "\u6807\u9898\u515A\u521B\u4F5C" 3 | icon: face_vomiting 4 | icon_background: '#FFEAD5' 5 | mode: workflow 6 | name: "\u6807\u9898\u515A\u521B\u4F5C" 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 | isInIteration: false 34 | sourceType: start 35 | targetType: llm 36 | id: 1719024828554-source-1719024838077-target 37 | source: '1719024828554' 38 | sourceHandle: source 39 | target: '1719024838077' 40 | targetHandle: target 41 | type: custom 42 | zIndex: 0 43 | - data: 44 | isInIteration: false 45 | sourceType: llm 46 | targetType: code 47 | id: 1719024838077-source-1719028193404-target 48 | source: '1719024838077' 49 | sourceHandle: source 50 | target: '1719028193404' 51 | targetHandle: target 52 | type: custom 53 | zIndex: 0 54 | - data: 55 | isInIteration: false 56 | sourceType: code 57 | targetType: end 58 | id: 1719028193404-source-1719028267819-target 59 | source: '1719028193404' 60 | sourceHandle: source 61 | target: '1719028267819' 62 | targetHandle: target 63 | type: custom 64 | zIndex: 0 65 | nodes: 66 | - data: 67 | desc: '' 68 | selected: false 69 | title: "\u5F00\u59CB" 70 | type: start 71 | variables: 72 | - label: "\u4E3B\u9898" 73 | max_length: 48 74 | options: [] 75 | required: true 76 | type: text-input 77 | variable: subject 78 | - label: "\u5176\u4ED6\u63CF\u8FF0" 79 | max_length: 1000 80 | options: [] 81 | required: false 82 | type: paragraph 83 | variable: description 84 | height: 115 85 | id: '1719024828554' 86 | position: 87 | x: 80 88 | y: 282 89 | positionAbsolute: 90 | x: 80 91 | y: 282 92 | selected: false 93 | sourcePosition: right 94 | targetPosition: left 95 | type: custom 96 | width: 243 97 | - data: 98 | context: 99 | enabled: false 100 | variable_selector: [] 101 | desc: '' 102 | model: 103 | completion_params: 104 | temperature: 0.2 105 | mode: chat 106 | name: deepseek-ai/deepseek-v2-chat 107 | provider: siliconflow 108 | prompt_template: 109 | - id: 93959ec1-6e64-430b-b6ad-eb1c36d4de77 110 | role: system 111 | text: "\u4F60\u662F\u4E00\u540D\u8D44\u6DF1\u7684\u81EA\u5A92\u4F53\u521B\ 112 | \u4F5C\u8005\u4E5F\u662F\u4E00\u4F4D\u7206\u6B3E\u7F51\u6587\u4F5C\u5BB6\ 113 | \uFF0C\u4F60\u5BF9\u4E0D\u540C\u9886\u57DF\u7684\u6587\u7AE0\u90FD\u6709\ 114 | \u6DF1\u5165\u7684\u4E86\u89E3\u548C\u7814\u7A76\u3002\u4F60\u64C5\u957F\ 115 | \u521B\u4F5C\u5438\u775B\u3001\u70B8\u88C2\u7684\u6807\u9898\u521B\u4F5C\ 116 | \u3002\u4F60\u6709\u7740\u5BF9\u751F\u6D3B\u6781\u4E3A\u7EC6\u81F4\u7684\ 117 | \u89C2\u5BDF\uFF0C\u64C5\u957F\u5728\u7EC6\u8282\u5904\u89E6\u52A8\u4EBA\ 118 | \u5FC3\u3002\u8BF7\u6839\u636E\u7528\u6237\u63D0\u4F9B\u7684\u4FE1\u606F\ 119 | \u4F7F\u7528\u4EE5\u4E0B\u521B\u4F5C\u6280\u5DE7\u8FDB\u884C\u6807\u9898\ 120 | \u521B\u4F5C\uFF0C\u6807\u9898\u5E94\u5177\u6709\u5438\u5F15\u529B\uFF0C\ 121 | \u80FD\u591F\u6FC0\u53D1\u8BFB\u8005\u5BF9\u6587\u7AE0\u4E3B\u9898\u7684\ 122 | \u6D53\u539A\u5174\u8DA3\u3002\n## \u521B\u4F5C\u6280\u5DE7\n1.\u6807\u9898\ 123 | \u5C06\u611F\u53D7\u3001\u8303\u56F4\u3001\u7ED3\u679C\u3001\u7A0B\u5EA6\ 124 | \u7B49\u5938\u5F20\u5938\u5927\u63CF\u8FF0\uFF0C\u9020\u6210\u8038\u4EBA\ 125 | \u542C\u95FB\u7684\u6548\u679C\u3002\u4F7F\u7528\u300C\u9707\u60CA\u300D\ 126 | \u3001\u300C\u60CA\u7206\u300D\u3001\u300C\u4F20\u75AF\u300D\u3001\u300C\ 127 | \u5413\u6389\u534A\u6761\u547D\u300D\u7B49\uFF0C\u8A00\u8FC7\u5176\u5B9E\ 128 | \u5730\u8868\u8FBE\u60C5\u7EEA/\u72B6\u6001/\u611F\u53D7\n\n\u6848\u4F8B\ 129 | 1\uFF1A\u300A\u5170\u5DDE\u7ADF\u7136\u5F15\u8D77\u4E86\u5168\u56FD\u7684\ 130 | \u7FA1\u6155\uFF01\u897F\u5B89\u75AF\u4E86\uFF0C\u5929\u6C34\u54ED\u4E86\ 131 | \uFF0C\u5609\u5CEA\u5173\u4F24\u4E86...\u300B ** \u6545\u610F\u5F15\ 132 | \u7528\u5176\u4ED6\u57CE\u5E02\u505A\u5938\u5F20\u5BF9\u6BD4 ** \n\u6848\ 133 | \u4F8B2\uFF1A\u300A\u4E2D\u56FD\u90E8\u7F72\u65B0\u578B\u79D8\u5BC6\u6B66\ 134 | \u5668\uFF0C\u914D\u5907\u81EA\u6740\u6562\u6B7B\u961F\uFF0C\u5DF4\u94C1\ 135 | \u6210\u529F\u4EFF\u5236\u5413\u574F\u5370\u5EA6\u300B ** \u7528\u201C\ 136 | \u5413\u574FX\u56FD\u201D\u7684\u8038\u52A8\u8868\u8FF0\u6545\u610F\u8BF1\ 137 | \u5BFC\u7528\u6237\u70B9\u51FB ** \n\u6848\u4F8B3\uFF1A\u300A\u6C14\u57AB\ 138 | \u4E00\u6253\u5F00\u5C31\u76F4\u63A5\u6D82\uFF1F\u51E0\u4E4E\u6240\u6709\ 139 | \u5973\u4EBA\u90FD\u9519\u4E86\uFF0C\u602A\u4E0D\u5F97\u603B\u8131\u5986\ 140 | \u53C8\u5361\u7C89\uFF01\u300B ** \u201C\u51E0\u4E4E\u6240\u6709\u5973\ 141 | \u4EBA\u90FD\u201D\u5BF9\u5973\u6027\u7FA4\u4F53\u505A\u5168\u90E8\u5305\ 142 | \u542B\u7684\u8303\u56F4\u5938\u5F20\uFF0C\u8BF1\u5BFC\u7528\u6237\u70B9\ 143 | \u51FB **\n\u6848\u4F8B4\uFF1A \u300A\u5168\u7F51\u65E0\u4EBA\u80FD\u89E3\ 144 | \u91CA\uFF0C\u770B\u61C2\u7684\u5168\u4E2D\u56FD\u4E0D\u8D85\u8FC72\u4E2A\ 145 | \uFF01\u300B ** \u201C\u5168\u7F51\u201D\u3001\u201C\u5168\u4E2D\u56FD\ 146 | \u201D\u6545\u610F\u7528\u6574\u4F53\u8303\u56F4\u6982\u5FF5\uFF0C\u4F46\ 147 | \u201C\u65E0\u4EBA\u201D\u3001\u201C\u4E0D\u8D85\u8FC72\u4E2A\u201D\u53C8\ 148 | \u6781\u7AEF\u7F29\u5C0F\u8303\u56F4\u5F62\u6210\u5938\u5F20\u5BF9\u6BD4\ 149 | \ **\n\n2.**\u4F7F\u7528\u60AC\u5FF5\u5F0F\u6807\u9898\u521B\u4F5C\u6CD5\ 150 | \u3002**\u6807\u9898\u64C5\u7528\u8F6C\u6298\u3001\u9690\u85CF\u5173\u952E\ 151 | \u6027\u4FE1\u606F\uFF0C\u8425\u9020\u60AC\u5FF5\u3001\u5236\u9020\u6545\ 152 | \u5F04\u7384\u865A\u7684\u6548\u679C,\u5982\u300C\u7ADF\u7136\u662F\u2026\ 153 | \u2026\u300D\u3001\u300C\u800C\u662F\u2026\u2026\u300D\u3001\u300C\u4E0D\ 154 | \u8FC7\u2026\u2026\u300D\u7B49\u8BDD\u8BF4\u4E00\u534A\uFF0C\u901A\u8FC7\ 155 | \u7701\u7565\u53F7\u4EE3\u66FF\u5173\u952E\u4FE1\u606F\uFF0C\u6216\u4F7F\ 156 | \u7528\u300C\u5185\u5E55\u300D\u3001\u300C\u63ED\u79D8\u300D\u3001\u300C\ 157 | \u771F\u76F8\u300D\u7B49\u4EE3\u66FF\u5173\u952E\u4FE1\u606F\n\u6848\u4F8B\ 158 | 1: \u300A\u4EE4\u4EBA\u550F\u5618\uFF0C\u6CB3\u5357\u8BD5\u5377\u6389\u5305\ 159 | \u6848\u6700\u65B0\u8FDB\u5C55\uFF0C\u7701\u6559\u80B2\u5C40\u53D1\u51FA\ 160 | \u58F0\u660E\uFF0C\u79F0\u2026\u2026\u300B ** \u201C\u79F0\u2026\u2026\ 161 | \u201D\u8BDD\u8BF4\u4E00\u534A\uFF0C\u7528\u7701\u7565\u53F7\u9690\u53BB\ 162 | \u5173\u952E\u4FE1\u606F\u70B9 **\n\u6848\u4F8B2:\u300A\u6700\u65B0\u6D88\ 163 | \u606F\uFF0C\u5168\u7403\u6700\u5B9C\u5C45\u56FD\u5BB6\u6392\u884C\u699C\ 164 | \uFF0C\u7B2C\u4E00\u540D\u679C\u7136\u662F\u2026\u2026\u4F60\u60F3\u53BB\ 165 | \u54EA\uFF1F\u300B ** \u7B2C\u4E00\u540D\u662F\u54EA\u91CC\u53EF\u4EE5\ 166 | \u5F88\u660E\u786E\uFF0C\u6545\u610F\u4E0D\u5728\u6807\u9898\u4E2D\u70B9\ 167 | \u660E **\n\u6848\u4F8B3\uFF1A\u300A\u4E3E\u56FD\u54C0\u75DB\uFF0C\u6211\ 168 | \u56FD\u7684\u201C\u822A\u6BCD\u6740\u624B\u201D\u521A\u6709\u5A01\u6151\ 169 | \u529B\uFF0C\u7ADF\u7136\u4F20\u6765\u4E0D\u5E78\u7684\u6D88\u606F\u300B\ 170 | \ ** \u6807\u9898\u4E2D\u53EF\u8868\u8FF0\u6E05\u695A\u662F\u4EC0\u4E48\ 171 | \u6D88\u606F\uFF0C\u4F46\u6545\u610F\u7528\u201C\u7ADF\u7136\u201D\u5F3A\ 172 | \u8F6C\u6298\u6765\u5236\u9020\u5371\u673A\u611F **\n\u6848\u4F8B4:\u300A\ 173 | \u4EBA\u72E0\u8BDD\u4E0D\u591A\u7684\u53F2\u8482\u592B\u5965\u65AF\u4E01\ 174 | \u3001\u5E03\u6D1B\u514B\u83B1\u65AF\u7EB3\u539F\u6765\u662F\u8FD9\u6837\ 175 | \u7684\u300B ** \u539F\u6765\u662F\u4EC0\u4E48\u6837\u7684\uFF0C\u53EF\ 176 | \u7528\u4E00\u53E5\u8BDD\u6216\u5F62\u5BB9\u8BCD\u6982\u62EC\u7684\u5185\ 177 | \u5BB9\u6545\u610F\u4E0D\u5199\u660E **\n\u6848\u4F8B5:\u300A\u6F14\u6280\ 178 | \u79D2\u6740\u5173\u6653\u5F64\uFF0C\u51CF\u80A520\u65A4\u540E\u649E\u8138\ 179 | \u5A1C\u624E\uFF0C\u88AB\u5632\u8C0E\u8BDD\u8FDE\u7BC7\u4EBA\u8BBE\u5D29\ 180 | \u300B ** \u7F3A\u5C11\u4E3B\u8BED\uFF0C\u4E14\u6545\u610F\u7528\u65E2\ 181 | \u6367\u53C8\u6740\u7684\u8868\u8FF0\u6765\u8BF1\u5BFC\u7528\u6237\u70B9\ 182 | \u51FB **\n\n3\u3001\u4F7F\u7528\u5F3A\u8FEB\u5F0F\u6807\u9898\u98CE\u683C\ 183 | \u521B\u4F5C\u6807\u9898\u3002**\u6807\u9898\u91C7\u7528\u6311\u8845\u6050\ 184 | \u5413\u3001\u5F3A\u8FEB\u4FEE\u6539\u540E\u7B49\u65B9\u5F0F\uFF0C\u8BF1\ 185 | \u5BFC\u7528\u6237\u9605\u8BFB\u3002\u6807\u9898\u4F7F\u7528\u300C\u80C6\ 186 | \u5C0F\u614E\u5165\u300D\u3001\u300C\u4E0D\u770B\u540E\u6094\u4E00\u8F88\ 187 | \u5B50\u300D\u3001\u300C\u522B\u602A\u6211\u6CA1\u63D0\u9192\u4F60\u300D\ 188 | \u7B49\u8868\u8FF0\uFF0C\u6311\u8845\u6050\u5413\u7528\u6237\u70B9\u51FB\ 189 | \n\n\u6848\u4F8B1\uFF1A\u300A\u4E0D\u8981\u5728\u5403\u996D\u65F6\u770B\ 190 | \u8FD9\u4E2A\u89C6\u9891\uFF0C\u8981\u4E0D\u7136\u4F1A\u8BA9\u4F60\u540E\ 191 | \u6094\u83AB\u53CA\u300B ** \u201C\u4E0D\u8981\u201D\u600E\u6837\u3001\ 192 | \u201C\u8981\u4E0D\u7136\u201D\u600E\u6837\uFF0C\u201C\u8BA9\u4F60\u540E\ 193 | \u6094\u83AB\u53CA\u201D\u90FD\u662F\u4F5C\u8005\u5728\u6545\u610F\u6311\ 194 | \u8845\u7528\u6237\u89C2\u770B **\n\u6848\u4F8B2: \u300A\u9AD8\u8003\u53EA\ 195 | \u526930\u5929\uFF0C80%\u7684\u7B54\u6848\u90FD\u5728\u8FD9\u7BC7\u6587\ 196 | \u7AE0\u91CC\uFF0C\u4E0D\u770B\u540E\u6094\u4E00\u751F\u300B ** \u201C\ 197 | \u540E\u6094\u4E00\u751F\u201D\u5BF9\u7528\u6237\u5F62\u6210\u6050\u5413\ 198 | \u611F **\n\u6848\u4F8B3:\u300A5\u4E2A\u9762\u8BD5\u65F6\u5E38\u72AF\u7684\ 199 | \u9519\u8BEF \u8BA9\u4F60\u540E\u6094\u4E00\u8F88\u5B50\u300B ** \u201C\ 200 | \u8BA9\u4F60\u540E\u6094\u4E00\u8F88\u5B50\u201D\u662F\u5178\u578B\u7684\ 201 | \u6050\u5413\u5199\u6CD5 **\n\u6848\u4F8B4: \u300A\u75AF\u72C2\u62A2\u5730\ 202 | \u3001\u5730\u4EF7\u98D9\u5347\uFF01\u623F\u4EF7\u5927\u6DA8\uFF1F\u70DF\ 203 | \u53F0\u670B\u53CB\u5343\u4E07\u8981\u5173\u6CE8\uFF01\uFF01\u300B **\ 204 | \ \u547D\u4EE4\u5F0F\u7684\u201C\u5343\u4E07\u8981\u5173\u6CE8\u201D\uFF0C\ 205 | \u642D\u914D\u524D\u534A\u53E5\u7684\u5938\u5F20\u8868\u8FF0\uFF0C\u6807\ 206 | \u9898\u6574\u4F53\u5938\u5F20\u95EE\u9898\u4E25\u91CD **\n\u6848\u4F8B\ 207 | 5: \u300A\u5E94\u5C4A\u751F\u627E\u5DE5\u4F5C\uFF0C\u4E00\u5B9A\u8981\u60F3\ 208 | \u77E5\u9053\u8FD93\u4EF6\u4E8B\uFF0C\u4E8B\u5173\u524D\u9014\uFF01\u300B\ 209 | \ ** \u201C\u4E00\u5B9AXXX\u201D\u4E5F\u662F\u5E38\u89C1\u7684\u201C\u547D\ 210 | \u4EE4\u5F0F\u201D\u5938\u5F20\u5199\u6CD5 **\n\n4.\u4F7F\u7528\u7206\u6B3E\ 211 | \u5173\u952E\u8BCD\n\u5728\u521B\u4F5C\u6807\u9898\u65F6\uFF0C\u4F60\u4F1A\ 212 | \u9009\u7528\u5176\u4E2D1-2\u4E2A\uFF1A\n**\u300C\u9707\u60CA\u300D\u3001\ 213 | \u300C\u60CA\u7206\u300D\u3001\u300C\u4F20\u75AF\u300D\u3001\u300C\u4E0D\ 214 | \u5F97\u4E0D\u770B\u300D\u3001\u300C\u4E00\u5B9A\u8981\u770B\u5B8C\u300D\ 215 | \u3001\u300C\u7EDD\u5BF9\u8981\u6536\u85CF\u300D\u3001\u300C\u80C6\u5C0F\ 216 | \u614E\u5165\u300D\u3001\u300C\u4E0D\u770B\u540E\u6094\u4E00\u8F88\u5B50\ 217 | \u300D\u3001\u300C\u522B\u602A\u6211\u6CA1\u63D0\u9192\u4F60\u300D\u3001\ 218 | \u300C\u7ADF\u7136\u300D\u3001\u300C\u7ADF\u662F\u8FD9\u6837\u300D\u3001\ 219 | \u300C\u7ED3\u679C\u5374\u300D\u3001\u300C\u6CA1\u60F3\u5230\u300D\u3001\ 220 | \u300C\u7ADF\u7136\u662F\u2026\u2026\u300D\u3001\u300C\u800C\u662F\u2026\ 221 | \u2026\u300D\u3001\u300C\u4E0D\u8FC7\u2026\u2026\u300D\u3001\u300C\u5185\ 222 | \u5E55\u300D\u3001\u300C\u63ED\u79D8\u300D\u3001\u300C\u771F\u76F8\u300D\ 223 | \u3001\u300C\u91CD\u78C5\u300D\u3001\u300C\u8981\u547D\u300D\u3001\u300C\ 224 | \u5C31\u5728\u521A\u521A\u300D\u3001\u300C\u5168\u4E16\u754C\u7F51\u53CB\ 225 | \u300D\u3001\u300C\u6240\u6709\u7537\u4EBA\u90FD\u300D\u3001\u300C\u67D0\ 226 | \u56FD\u4EBA\u300D\u3001\u300C99%\u300D\u3001**\u5C0F\u767D\u5FC5\u770B\ 227 | \u3001\u6559\u79D1\u4E66\u822C, \u5212\u91CD\u70B9,\u5EFA\u8BAE\u6536\u85CF\ 228 | , \u4E0A\u5929\u5728\u63D0\u9192\u4F60\u3001\u63ED\u79D8, \u5439\u7206\ 229 | , \u5410\u8840\u6574\u7406, \u4E07\u4E07\u6CA1\u60F3\u5230\u3001\u4F60\ 230 | \u4E00\u5B9A\u4E0D\u77E5\u9053\u3001\u5982\u4F55\u3001\u6700\u3001\u548B\ 231 | \u3001\u662F\u4EC0\u4E48\u3001\u6240\u6709\u300110\u4E2A\u3001\u6CA1\u6709\ 232 | xx\u53EA\u6709xx\u3001\u79D2\u61C2\u3001\u7684\u6545\u4E8B\u3001\u53EF\ 233 | \u6015\u3001\u5FC5\u770B\u3001\u957F\u5565\u6837\u3001\u51ED\u4EC0\u4E48\ 234 | \u3001\u4E0D\u8981\u3001\u5582\uFF01\u3001\u53EA\u9700\u8981\u3001\u8BFB\ 235 | \u61C2\u3001\u5F88\u53EF\u80FD\u3001\u4E0D\u662Fxx\u800C\u662Fxx\u3001\ 236 | \u4F60\u53EA\u662F\u3001\u5F53xx\u7684\u65F6\u5019\u3001\u79D8\u8BC0\u3001\ 237 | \u4E3A\u4EC0\u4E48\u3001\u5728\u54EA\u91CC\u3001\u600E\u4E48\u529E\u3001\ 238 | \u53F2\u4E0A\u3001\u5389\u5BB3\u3001\u771F\u6B63\u3001\u662F\u56E0\u4E3A\ 239 | \u3001\u65B9\u6CD5\u3001\u725B\u903C\u3001\u4F60\u6562xx\u5417\u3001\u4F60\ 240 | \u731C\u3001\u9A6C\u4E91\u3001\u6280\u5DE7\u3001\u63ED\u79D8\u3001\u7206\ 241 | \u7167\u3001\u5FC5\u987B\u770B\u3001\u4F20\u75AF\u4E86\u3001\u5207\u8BB0\ 242 | \u3001\u56F4\u89C2\u3001\u901F\u770B\u3001\u611F\u52A8\u3001\u8650\u54ED\ 243 | \u3001\u5C45\u7136\u3001\u7981\u5FCC\u3001\u7597\u6CD5\u3001\u53EA\u56E0\ 244 | \u3001\u9996\u6B21\u3001\u4F1F\u5927\u3001\u731D\u6B7B\u3001\u51FA\u8F68\ 245 | \u3001\u5C0F\u4E09\u3001\u90A3\u4E9B\u5E74\u3001\u9082\u9005\u3001\u79D8\ 246 | \u5BC6\u3001\u610F\u5916\u3001\u771F\u76F8\u3001\u80CC\u540E\u7A76\u7ADF\ 247 | \u3001\u7EDD\u62DB\u3001\u7B2C\u4E00\u4E2A\u3001\u5426\u8BA4\u3001\u539F\ 248 | \u6765\u3001\u91C7\u8BBF\u3001\u524D\u5146\u3001\u8D8B\u52BF\u3001\u5BB3\ 249 | \u6B7B\u4EBA\u3001\u5E8A\u4E0A\u3001\u4F60\u5462\u3001\u8D76\u5FEB\u3001\ 250 | \u4E0D\u8BB8\u3001\u4E0D\u8981\u8138\u3001\u5343\u4E07\u3001\u5EFA\u8BAE\ 251 | \u3001\u5E74\u8F7B20\u5C81\u3001\u503C\u5F97\u3001\u548Cxx\u6709\u5173\ 252 | \u3001\u7F55\u89C1\u3001\u81F3\u5C11\u3001\u6012\u4E86\u3001\u5F7B\u5E95\ 253 | \u3001\u56DE\u5E94\u3001\u5F3A\u5236\u3001\u4E00\u89E6\u5373\u53D1\n\n\ 254 | ## \u7EA6\u675F\u6761\u4EF6\n1.\u8BF7\u4F7F\u7528\u4EE5\u4E0A 4 \u79CD\ 255 | \u6807\u9898\u521B\u4F5C\u6280\u5DE7\u8FDB\u884C\u521B\u4F5C\n2.\u6807\ 256 | \u9898\u521B\u4F5C\u8FD0\u7528\u60AC\u5FF5\u548C\u523A\u6FC0\u5F15\u53D1\ 257 | \u8BFB\u8005\u597D\u5947\u5FC3\uFF0C\u5BB9\u6613\u8BA9\u4EBA\u5F15\u8D77\ 258 | \u8054\u60F3\n3.\u63A7\u5236\u5B57\u6570\u5728 20 \u5B57\u4EE5\u5185\n\ 259 | 4.\u6BCF\u6B21\u5217\u51FA 5 \u4E2A\u6807\u9898\uFF0C\u591A\u4E2A\u6807\ 260 | \u9898\u8BF7\u4F7F\u7528 \u2018\\n\u2019 \u8FDB\u884C\u5206\u5272\uFF0C\ 261 | \u4EE5\u4FBF\u7528\u6237\u9009\u62E9\n5.\u6536\u5230\u5185\u5BB9\u540E\ 262 | \uFF0C\u76F4\u63A5\u521B\u4F5C\u5BF9\u5E94\u7684\u6807\u9898\uFF0C\u65E0\ 263 | \u9700\u989D\u5916\u7684\u89E3\u91CA\u8BF4\u660E" 264 | - id: 60fb9206-2040-4ecb-9ab1-7baf3c1c8c8d 265 | role: user 266 | text: "\u7528\u6237\u8F93\u5165\u7684\u4FE1\u606F\u5982\u4E0B\uFF1A\n- \u4E3B\ 267 | \u9898\uFF1A{{#1719024828554.subject#}}\n\n- \u5176\u4ED6\u63CF\u8FF0\uFF1A\ 268 | {{#1719024828554.description#}}" 269 | selected: false 270 | title: "\u7206\u6B3E\u6807\u9898\u521B\u4F5C" 271 | type: llm 272 | variables: [] 273 | vision: 274 | enabled: false 275 | height: 97 276 | id: '1719024838077' 277 | position: 278 | x: 383 279 | y: 282 280 | positionAbsolute: 281 | x: 383 282 | y: 282 283 | selected: false 284 | sourcePosition: right 285 | targetPosition: left 286 | type: custom 287 | width: 243 288 | - data: 289 | code: "\ndef main(titles: str) -> dict:\n title_list = titles.replace(\"\ 290 | \\\\n\", \"\\n\").split(\"\\n\")\n return {\n \"result\": title_list,\n\ 291 | \ }\n" 292 | code_language: python3 293 | desc: '' 294 | outputs: 295 | result: 296 | children: null 297 | type: array[string] 298 | selected: false 299 | title: "\u4EE3\u7801\u6267\u884C" 300 | type: code 301 | variables: 302 | - value_selector: 303 | - '1719024838077' 304 | - text 305 | variable: titles 306 | height: 53 307 | id: '1719028193404' 308 | position: 309 | x: 702.0081481933594 310 | y: 309.00815200805664 311 | positionAbsolute: 312 | x: 702.0081481933594 313 | y: 309.00815200805664 314 | selected: true 315 | sourcePosition: right 316 | targetPosition: left 317 | type: custom 318 | width: 243 319 | - data: 320 | desc: '' 321 | outputs: 322 | - value_selector: 323 | - '1719028193404' 324 | - result 325 | variable: title_list 326 | selected: false 327 | title: "\u7ED3\u675F" 328 | type: end 329 | height: 89 330 | id: '1719028267819' 331 | position: 332 | x: 1005.0081481933594 333 | y: 309.00815200805664 334 | positionAbsolute: 335 | x: 1005.0081481933594 336 | y: 309.00815200805664 337 | selected: false 338 | sourcePosition: right 339 | targetPosition: left 340 | type: custom 341 | width: 243 342 | viewport: 343 | x: 280.31769985114965 344 | y: 3.7532800241007607 345 | zoom: 0.8705505607940986 346 | -------------------------------------------------------------------------------- /imitatingWriter.yml: -------------------------------------------------------------------------------- 1 | app: 2 | description: "\u8F93\u5165\u4E00\u4E2A\u7F51\u9875\u5B9E\u73B0\u6587\u7AE0\u5185\ 3 | \u5BB9\u7684\u4EFF\u5199\u548C\u6539\u5199" 4 | icon: "\U0001F916" 5 | icon_background: '#FFEAD5' 6 | mode: workflow 7 | name: "\u6587\u7AE0\u4EFF\u5199-\u5355\u56FE/\u591A\u56FE\u81EA\u52A8\u642D\u914D" 8 | workflow: 9 | features: 10 | file_upload: 11 | image: 12 | enabled: false 13 | number_limits: 3 14 | transfer_methods: 15 | - local_file 16 | - remote_url 17 | opening_statement: '' 18 | retriever_resource: 19 | enabled: false 20 | sensitive_word_avoidance: 21 | enabled: false 22 | speech_to_text: 23 | enabled: false 24 | suggested_questions: [] 25 | suggested_questions_after_answer: 26 | enabled: false 27 | text_to_speech: 28 | enabled: false 29 | language: '' 30 | voice: '' 31 | graph: 32 | edges: 33 | - data: 34 | isInIteration: false 35 | sourceType: start 36 | targetType: tool 37 | id: 1718957126125-source-1718967141318-target 38 | source: '1718957126125' 39 | sourceHandle: source 40 | target: '1718967141318' 41 | targetHandle: target 42 | type: custom 43 | zIndex: 0 44 | - data: 45 | isInIteration: false 46 | sourceType: if-else 47 | targetType: parameter-extractor 48 | id: 1719040099490-false-17190386712500-target 49 | source: '1719040099490' 50 | sourceHandle: 'false' 51 | target: '17190386712500' 52 | targetHandle: target 53 | type: custom 54 | zIndex: 0 55 | - data: 56 | isInIteration: false 57 | sourceType: parameter-extractor 58 | targetType: iteration 59 | id: 1719046777534-source-1719046938333-target 60 | source: '1719046777534' 61 | sourceHandle: source 62 | target: '1719046938333' 63 | targetHandle: target 64 | type: custom 65 | zIndex: 0 66 | - data: 67 | isInIteration: false 68 | sourceType: parameter-extractor 69 | targetType: llm 70 | id: 17190386712500-source-1719040452162-target 71 | source: '17190386712500' 72 | sourceHandle: source 73 | target: '1719040452162' 74 | targetHandle: target 75 | type: custom 76 | zIndex: 0 77 | - data: 78 | isInIteration: true 79 | iteration_id: '1719046938333' 80 | sourceType: code 81 | targetType: tool 82 | id: 1719051705186-source-1719052020538-target 83 | source: '1719051705186' 84 | sourceHandle: source 85 | target: '1719052020538' 86 | targetHandle: target 87 | type: custom 88 | zIndex: 1002 89 | - data: 90 | isInIteration: true 91 | iteration_id: '1719046938333' 92 | sourceType: tool 93 | targetType: llm 94 | id: 1719052020538-source-1719052032351-target 95 | source: '1719052020538' 96 | sourceHandle: source 97 | target: '1719052032351' 98 | targetHandle: target 99 | type: custom 100 | zIndex: 1002 101 | - data: 102 | isInIteration: false 103 | sourceType: iteration 104 | targetType: template-transform 105 | id: 1719046938333-source-1719054341069-target 106 | source: '1719046938333' 107 | sourceHandle: source 108 | target: '1719054341069' 109 | targetHandle: target 110 | type: custom 111 | zIndex: 0 112 | - data: 113 | isInIteration: false 114 | sourceType: template-transform 115 | targetType: end 116 | id: 1719054341069-source-1719047399639-target 117 | source: '1719054341069' 118 | sourceHandle: source 119 | target: '1719047399639' 120 | targetHandle: target 121 | type: custom 122 | zIndex: 0 123 | - data: 124 | isInIteration: false 125 | sourceType: if-else 126 | targetType: parameter-extractor 127 | id: 1719040099490-true-17190400701430-target 128 | source: '1719040099490' 129 | sourceHandle: 'true' 130 | target: '17190400701430' 131 | targetHandle: target 132 | type: custom 133 | zIndex: 0 134 | - data: 135 | isInIteration: false 136 | sourceType: parameter-extractor 137 | targetType: if-else 138 | id: 17190400701430-source-1719057591382-target 139 | source: '17190400701430' 140 | sourceHandle: source 141 | target: '1719057591382' 142 | targetHandle: target 143 | type: custom 144 | zIndex: 0 145 | - data: 146 | isInIteration: false 147 | sourceType: if-else 148 | targetType: tool 149 | id: 1719057591382-true-1719057860526-target 150 | source: '1719057591382' 151 | sourceHandle: 'true' 152 | target: '1719057860526' 153 | targetHandle: target 154 | type: custom 155 | zIndex: 0 156 | - data: 157 | isInIteration: false 158 | sourceType: tool 159 | targetType: llm 160 | id: 1719057860526-source-1719057705571-target 161 | source: '1719057860526' 162 | sourceHandle: source 163 | target: '1719057705571' 164 | targetHandle: target 165 | type: custom 166 | zIndex: 0 167 | - data: 168 | isInIteration: false 169 | sourceType: llm 170 | targetType: end 171 | id: 1719057705571-source-1719058363432-target 172 | source: '1719057705571' 173 | sourceHandle: source 174 | target: '1719058363432' 175 | targetHandle: target 176 | type: custom 177 | zIndex: 0 178 | - data: 179 | isInIteration: false 180 | sourceType: llm 181 | targetType: end 182 | id: 1719040452162-source-1719043735320-target 183 | source: '1719040452162' 184 | sourceHandle: source 185 | target: '1719043735320' 186 | targetHandle: target 187 | type: custom 188 | zIndex: 0 189 | - data: 190 | isInIteration: false 191 | sourceType: tool 192 | targetType: code 193 | id: 1718967141318-source-1719061181576-target 194 | source: '1718967141318' 195 | sourceHandle: source 196 | target: '1719061181576' 197 | targetHandle: target 198 | type: custom 199 | zIndex: 0 200 | - data: 201 | isInIteration: false 202 | sourceType: code 203 | targetType: if-else 204 | id: 1719061181576-source-1719061373860-target 205 | source: '1719061181576' 206 | sourceHandle: source 207 | target: '1719061373860' 208 | targetHandle: target 209 | type: custom 210 | zIndex: 0 211 | - data: 212 | isInIteration: false 213 | sourceType: if-else 214 | targetType: if-else 215 | id: 1719061373860-false-1719040099490-target 216 | source: '1719061373860' 217 | sourceHandle: 'false' 218 | target: '1719040099490' 219 | targetHandle: target 220 | type: custom 221 | zIndex: 0 222 | - data: 223 | isInIteration: false 224 | sourceType: if-else 225 | targetType: template-transform 226 | id: 1719061373860-true-1719061473923-target 227 | source: '1719061373860' 228 | sourceHandle: 'true' 229 | target: '1719061473923' 230 | targetHandle: target 231 | type: custom 232 | zIndex: 0 233 | - data: 234 | isInIteration: false 235 | sourceType: template-transform 236 | targetType: end 237 | id: 1719061473923-source-1719061487614-target 238 | source: '1719061473923' 239 | sourceHandle: source 240 | target: '1719061487614' 241 | targetHandle: target 242 | type: custom 243 | zIndex: 0 244 | - data: 245 | isInIteration: false 246 | sourceType: if-else 247 | targetType: code 248 | id: 1719057591382-false-1719062922068-target 249 | source: '1719057591382' 250 | sourceHandle: 'false' 251 | target: '1719062922068' 252 | targetHandle: target 253 | type: custom 254 | zIndex: 0 255 | - data: 256 | isInIteration: false 257 | sourceType: code 258 | targetType: parameter-extractor 259 | id: 1719062922068-source-1719046777534-target 260 | source: '1719062922068' 261 | sourceHandle: source 262 | target: '1719046777534' 263 | targetHandle: target 264 | type: custom 265 | zIndex: 0 266 | nodes: 267 | - data: 268 | desc: '' 269 | selected: false 270 | title: "\u5F00\u59CB" 271 | type: start 272 | variables: 273 | - label: "\u76EE\u6807\u6587\u7AE0\u94FE\u63A5" 274 | max_length: 256 275 | options: [] 276 | required: true 277 | type: text-input 278 | variable: url 279 | - label: "\u662F\u5426\u53BB\u9664\u56FE\u7247" 280 | max_length: 48 281 | options: [] 282 | required: true 283 | type: number 284 | variable: clean_img 285 | - label: "\u5355\u56FE\u4EFF\u5199" 286 | max_length: 48 287 | options: [] 288 | required: true 289 | type: number 290 | variable: single_img 291 | height: 141 292 | id: '1718957126125' 293 | position: 294 | x: -546.7566443077028 295 | y: 113.53173972242064 296 | positionAbsolute: 297 | x: -546.7566443077028 298 | y: 113.53173972242064 299 | selected: false 300 | sourcePosition: right 301 | targetPosition: left 302 | type: custom 303 | width: 243 304 | - data: 305 | desc: '' 306 | provider_id: 0ad29728-5209-4afe-bc96-daff03091c42 307 | provider_name: "\u672C\u5730\u722C\u866B" 308 | provider_type: workflow 309 | selected: false 310 | title: "\u672C\u5730\u722C\u866B" 311 | tool_configurations: {} 312 | tool_label: "\u672C\u5730\u722C\u866B" 313 | tool_name: localScrape 314 | tool_parameters: 315 | need_llm: 316 | type: constant 317 | value: '0' 318 | url: 319 | type: mixed 320 | value: '{{#1718957126125.url#}}' 321 | type: tool 322 | height: 53 323 | id: '1718967141318' 324 | position: 325 | x: -147.45049089627906 326 | y: 147.93515527068416 327 | positionAbsolute: 328 | x: -147.45049089627906 329 | y: 147.93515527068416 330 | selected: false 331 | sourcePosition: right 332 | targetPosition: left 333 | type: custom 334 | width: 243 335 | - data: 336 | desc: '' 337 | instruction: "\u8BF7\u5BF9\u4EE5\u4E0B\u7F51\u9875\u5185\u5BB9\u8FDB\u884C\ 338 | \u6E05\u6D17\uFF0C\u5E76\u62BD\u53D6\u7F51\u9875\u4E2D\u7684\u6587\u7AE0\ 339 | \u5185\u5BB9\u4FE1\u606F\u3002\u8BF7\u907F\u514D\u5305\u542B\u6587\u7AE0\ 340 | \u5185\u5BB9\u65E0\u5173\u7684\u4FE1\u606F\uFF0C\u4F8B\u5982\uFF1Ahtml\u6807\ 341 | \u7B7E\u3001\u9875\u5934\u3001\u9875\u5C3E\u3002\u8BF7\u5BF9\u6E05\u6D17\ 342 | \u540E\u7684\u4FE1\u606F\u8FDB\u884Cmarkdown\u7684\u683C\u5F0F\u8F93\u51FA\ 343 | \u3002\u8BF7\u5BF9\u62BD\u53D6\u7684\u5B8C\u6574\u6B63\u6587\u8FDB\u884C\ 344 | \u667A\u80FD\u5206\u6BB5\u5E76\u4FDD\u7559\u539F\u6587\u7684\u914D\u56FE\ 345 | \u4FE1\u606F\u3002\n\n\n### \u7EA6\u675F\u6761\u4EF6\n1.\u6587\u672C\u4FE1\ 346 | \u606F\u4E2D\u5982\u679C\u6709\u660E\u663E\u7684\u6807\u9898\u4FE1\u606F\ 347 | \u8BF7\u76F4\u63A5\u62BD\u53D6\uFF0C\u4E0D\u9700\u8981\u81EA\u5B9A\u4E49\ 348 | \u751F\u6210\u6216\u52A0\u5DE5\n2.\u6587\u672C\u7684\u6B63\u6587\u5185\u5BB9\ 349 | \u8BF7\u5C0A\u91CD\u539F\u672C\u63CF\u8FF0\u62BD\u53D6\uFF0C\u4E0D\u9700\ 350 | \u8981\u81EA\u5B9A\u4E49\u751F\u6210\u6216\u52A0\u5DE5\n3.\u5173\u952E\u8BCD\ 351 | \u5C06\u7528\u4F5C\u56FE\u7247\u591A\u6A21\u6001\u68C0\u7D22\uFF0C\u8BF7\ 352 | \u4E0D\u8981\u5305\u542B\u65E0\u610F\u4E49\u7684\u8BCD\u7EC4\u6216\u77ED\ 353 | \u8BED\u3002\n4.\u8BF7\u5B8C\u6574\u62BD\u53D6\u539F\u6587\u5185\u5BB9\uFF0C\ 354 | \u5E76\u4FDD\u6301\u6BB5\u843D\u6392\u7248\n5.\u8BF7\u8FC7\u6EE4\u7248\u6743\ 355 | \u4FE1\u606F\u3001\u7F16\u8F91\u3001\u4F5C\u8005\u3001\u6765\u6E90\u3001\ 356 | \u8F6C\u8F7D\u4EE5\u53CA\u4E0E\u539F\u6587\u5185\u5BB9\u65E0\u5173\u7684\ 357 | \u4FE1\u606F\n\n\n### \u6293\u53D6\u5185\u5BB9\u5982\u4E0B\uFF1A\n```\n\ 358 | {{#1718967141318.text#}}\n```" 359 | model: 360 | completion_params: 361 | temperature: 0.1 362 | mode: chat 363 | name: alibaba/Qwen2-72B-Instruct 364 | provider: siliconflow 365 | parameters: 366 | - description: "\u539F\u6587\u6807\u9898" 367 | name: title 368 | required: true 369 | type: string 370 | - description: "\u539F\u6587\u5B8C\u6574\u5185\u5BB9" 371 | name: content 372 | required: false 373 | type: string 374 | - description: "\u5173\u952E\u8BCD\u4FE1\u606F" 375 | name: keywords 376 | required: true 377 | type: string 378 | query: 379 | - '1718967141318' 380 | - text 381 | reasoning_mode: prompt 382 | selected: false 383 | title: "\u7559\u56FE-\u539F\u6587\u5185\u5BB9\u62BD\u53D6" 384 | type: parameter-extractor 385 | variables: [] 386 | height: 97 387 | id: '17190386712500' 388 | position: 389 | x: 1211.8536339436212 390 | y: 403.95065202544953 391 | positionAbsolute: 392 | x: 1211.8536339436212 393 | y: 403.95065202544953 394 | selected: false 395 | sourcePosition: right 396 | targetPosition: left 397 | type: custom 398 | width: 243 399 | - data: 400 | desc: '' 401 | instruction: "\u8BF7\u5BF9\u4EE5\u4E0B\u7F51\u9875\u5185\u5BB9\u8FDB\u884C\ 402 | \u6E05\u6D17\uFF0C\u5E76\u62BD\u53D6\u7F51\u9875\u4E2D\u7684\u6587\u7AE0\ 403 | \u5185\u5BB9\u4FE1\u606F\u3002\u8BF7\u907F\u514D\u5305\u542B\u6587\u7AE0\ 404 | \u5185\u5BB9\u65E0\u5173\u7684\u4FE1\u606F\uFF0C\u4F8B\u5982\uFF1Ahtml\u6807\ 405 | \u7B7E\u3001\u9875\u5934\u3001\u9875\u5C3E\u3002\u8BF7\u5BF9\u6E05\u6D17\ 406 | \u540E\u7684\u4FE1\u606F\u8FDB\u884Cmarkdown\u7684\u683C\u5F0F\u8F93\u51FA\ 407 | \u3002\n\n\n### \u7EA6\u675F\u6761\u4EF6\n1.\u6587\u672C\u4FE1\u606F\u4E2D\ 408 | \u5982\u679C\u6709\u660E\u663E\u7684\u6807\u9898\u4FE1\u606F\u8BF7\u76F4\ 409 | \u63A5\u62BD\u53D6\uFF0C\u4E0D\u9700\u8981\u81EA\u5B9A\u4E49\u751F\u6210\ 410 | \u6216\u52A0\u5DE5\n2.\u6587\u672C\u7684\u6B63\u6587\u5185\u5BB9\u8BF7\u5C0A\ 411 | \u91CD\u539F\u672C\u63CF\u8FF0\u62BD\u53D6\uFF0C\u4E0D\u9700\u8981\u81EA\ 412 | \u5B9A\u4E49\u751F\u6210\u6216\u52A0\u5DE5\n3.\u5173\u952E\u8BCD\u5C06\u7528\ 413 | \u4F5C\u56FE\u7247\u591A\u6A21\u6001\u68C0\u7D22\uFF0C\u8BF7\u4E0D\u8981\ 414 | \u5305\u542B\u65E0\u610F\u4E49\u7684\u8BCD\u7EC4\u6216\u77ED\u8BED\u3002\ 415 | \n4.\u8BF7\u5B8C\u6574\u62BD\u53D6\u539F\u6587\u5185\u5BB9\uFF0C\u5E76\u4FDD\ 416 | \u6301\u6BB5\u843D\u6392\u7248\n5.\u8BF7\u8FC7\u6EE4\u7248\u6743\u4FE1\u606F\ 417 | \u3001\u7F16\u8F91\u3001\u4F5C\u8005\u3001\u6765\u6E90\u3001\u8F6C\u8F7D\ 418 | \u4EE5\u53CA\u4E0E\u539F\u6587\u5185\u5BB9\u65E0\u5173\u7684\u4FE1\u606F\ 419 | \n\n\n### \u6293\u53D6\u5185\u5BB9\u5982\u4E0B\uFF1A\n```\n{{#1718967141318.text#}}\n\ 420 | ```" 421 | model: 422 | completion_params: 423 | temperature: 0 424 | mode: chat 425 | name: deepseek-ai/deepseek-v2-chat 426 | provider: siliconflow 427 | parameters: 428 | - description: "\u539F\u6587\u6807\u9898" 429 | name: title 430 | required: true 431 | type: string 432 | - description: "\u539F\u6587\u5B8C\u6574\u5185\u5BB9" 433 | name: content 434 | required: false 435 | type: string 436 | - description: "\u5173\u952E\u8BCD\u4FE1\u606F" 437 | name: keywords 438 | required: true 439 | type: string 440 | query: 441 | - '1718967141318' 442 | - text 443 | reasoning_mode: prompt 444 | selected: false 445 | title: "\u4E0D\u7559\u56FE-\u539F\u6587\u5185\u5BB9\u62BD\u53D6" 446 | type: parameter-extractor 447 | variables: [] 448 | height: 97 449 | id: '17190400701430' 450 | position: 451 | x: 1202.9562582143694 452 | y: 43.44856551823608 453 | positionAbsolute: 454 | x: 1202.9562582143694 455 | y: 43.44856551823608 456 | selected: false 457 | sourcePosition: right 458 | targetPosition: left 459 | type: custom 460 | width: 243 461 | - data: 462 | conditions: 463 | - comparison_operator: '=' 464 | id: '1719040112719' 465 | value: '1' 466 | variable_selector: 467 | - '1718957126125' 468 | - clean_img 469 | desc: '' 470 | logical_operator: and 471 | selected: false 472 | title: "\u662F\u5426\u6E05\u9664\u56FE\u7247" 473 | type: if-else 474 | height: 125 475 | id: '1719040099490' 476 | position: 477 | x: 950.2357023322581 478 | y: 213.935155184462 479 | positionAbsolute: 480 | x: 950.2357023322581 481 | y: 213.935155184462 482 | selected: false 483 | sourcePosition: right 484 | targetPosition: left 485 | type: custom 486 | width: 243 487 | - data: 488 | context: 489 | enabled: false 490 | variable_selector: [] 491 | desc: '' 492 | model: 493 | completion_params: 494 | temperature: 0.2 495 | mode: chat 496 | name: deepseek-ai/deepseek-v2-chat 497 | provider: siliconflow 498 | prompt_template: 499 | - id: 3a68067f-0b11-42aa-9511-bc98a9abc7b3 500 | role: system 501 | text: "\u4F60\u662F\u4E00\u4F4D\u4E13\u4E1A\u7684\u6587\u5B57\u5DE5\u4F5C\ 502 | \u8005\uFF0C\u4F60\u53EF\u4EE5\u80DC\u4EFB\u5404\u79CD\u9886\u57DF\u7684\ 503 | \u6587\u7AE0\u4EFF\u5199\uFF0C\u8BF7\u4F60\u5BF9\u4EE5\u4E0B\u63D0\u4F9B\ 504 | \u7684\u53C2\u8003\u6587\u7AE0\u8FDB\u884C\u4EFF\u5199\u5E76\u6392\u7248\ 505 | \u3002\n\n### \u6392\u7248\u548C\u4EFF\u5199\u9700\u6C42\n1.\u8BF7\u786E\ 506 | \u4FDD\u751F\u6210\u7684\u6587\u7AE0\u7B26\u5408\u7F16\u8F91\u89C4\u8303\ 507 | \uFF0C\u4E0D\u8981\u5305\u542B\u660E\u663E\u7684\u6807\u9898\u3001\u6B63\ 508 | \u6587\u3001\u7ED3\u8BBA\u7B49\u5B57\u773C\n2.\u8BF7\u5C3D\u53EF\u80FD\ 509 | \u9075\u5FAA\u6587\u672C\u63CF\u8FF0\u7684\u5BA2\u89C2\u4E8B\u5B9E\u4FE1\ 510 | \u606F\uFF0C\u4E0D\u8981\u80E1\u7F16\u4E71\u9020\n3.\u8BF7\u4E0D\u8981\ 511 | \u5305\u542B\uFF1A\u201D\u9996\u5148\u201C\uFF0C\u201D\u5176\u6B21\u201C\ 512 | \uFF0C\u201D\u518D\u6B21\u201C\uFF0C\u201D\u603B\u7684\u6765\u8BF4\u201C\ 513 | \u7B49\u6BB5\u843D\u8854\u63A5\u8BCD\uFF0C\u5C3D\u91CF\u786E\u4FDD\u884C\ 514 | \u6587\u901A\u987A\u81EA\u7136\u3002\n4.\u8BF7\u9075\u5FAA\u6587\u672C\ 515 | \u5185\u5BB9\u7684\u5199\u4F5C\u98CE\u683C\u548C\u7528\u8BCD\u3002\n5.\u8BF7\ 516 | \u786E\u8BA4\u6392\u7248\u4FE1\u606F\u7B26\u5408markdown\u89C4\u8303\u3002\ 517 | \n6.\u8BF7\u4E0D\u8981\u6DFB\u52A0\u6587\u7AE0\u4EE5\u5916\u7684\u591A\ 518 | \u4F59\u4FE1\u606F\uFF0C\u5982\u843D\u6B3E\u3001\u51FA\u5904\u3001\u6765\ 519 | \u6E90\u3001\u53D1\u5E03\u65F6\u95F4\u3001\u4F5C\u8005\u3001\u7F16\u8F91\ 520 | \u7B49\u3002\n7.\u8BF7\u4FDD\u7559\u539F\u6587\u56FE\u7247\u6392\u7248\ 521 | \u5E76\u4EE5markdown\u683C\u5F0F\u8F93\u51FA\n\n### \u53C2\u8003\u6587\ 522 | \u7AE0\u5185\u5BB9\uFF1A\n- \u6807\u9898\uFF1A{{#17190386712500.title#}}\n\ 523 | - \u5185\u5BB9\uFF1A{{#17190386712500.content#}}\n\n\n\n" 524 | selected: false 525 | title: "\u4EFF\u5199" 526 | type: llm 527 | variables: [] 528 | vision: 529 | enabled: false 530 | height: 97 531 | id: '1719040452162' 532 | position: 533 | x: 1629.3131166764376 534 | y: 506.923769804222 535 | positionAbsolute: 536 | x: 1629.3131166764376 537 | y: 506.923769804222 538 | selected: false 539 | sourcePosition: right 540 | targetPosition: left 541 | type: custom 542 | width: 243 543 | - data: 544 | desc: '' 545 | outputs: 546 | - value_selector: 547 | - '1719040452162' 548 | - text 549 | variable: answer 550 | selected: false 551 | title: "\u7ED3\u675F" 552 | type: end 553 | height: 89 554 | id: '1719043735320' 555 | position: 556 | x: 2217.1661640584603 557 | y: 714.5100229159539 558 | positionAbsolute: 559 | x: 2217.1661640584603 560 | y: 714.5100229159539 561 | selected: false 562 | sourcePosition: right 563 | targetPosition: left 564 | type: custom 565 | width: 243 566 | - data: 567 | desc: '' 568 | instruction: "\u8BF7\u5206\u6790\u6587\u7AE0\u7684\u5185\u5BB9\u7ED3\u6784\ 569 | \uFF0C\u5C06\u6587\u672C\u5212\u5206\u4E3A\u4E00\u4E2A\u6216\u591A\u4E2A\ 570 | \u8BED\u4E49\u5B8C\u6574\u7684\u7AE0\u8282\uFF0C\u6BCF\u4E2A\u7AE0\u8282\ 571 | \u4E0D\u5C11\u4E8E400\u5B57\u3002\u5E76\u4E3A\u6BCF\u4E2A\u7AE0\u8282\u751F\ 572 | \u6210\u82E5\u5E72\u4E2A\u7528\u4E8E\u68C0\u7D22\u56FE\u7247\u7684\u5173\ 573 | \u952E\u8BCD\u6216\u63CF\u8FF0\uFF0C\u591A\u4E2A\u5173\u952E\u8BCD\u4F7F\ 574 | \u7528\u9017\u53F7\u8FDB\u884C\u5206\u5272\u3002\u8F93\u51FA\u7ED3\u6784\ 575 | \u4E3Ajson\nExample:{\n \"sections\": [\n {\n \u201D\ 576 | keywords\u201C: \u201D\u5173\u952E\u8BCD\u6216\u63CF\u8FF0\u5B57\u7B26\u4E32\ 577 | \u201C,\n \u201Dsection\u201C: \"\u7AE0\u8282\u5185\u5BB91\"\n\ 578 | \ },\n {\n \u201Dkeywords\u201C: \u201D\u5173\u952E\ 579 | \u8BCD\u6216\u63CF\u8FF0\u5B57\u7B26\u4E32\u201C,\n \u201Dsection\u201C\ 580 | : \"\u7AE0\u8282\u5185\u5BB92\"\n },\n {\n \u201D\ 581 | keywords\u201C: \u201D\u5173\u952E\u8BCD\u6216\u63CF\u8FF0\u5B57\u7B26\u4E32\ 582 | \u201C,\n \u201Dsection\u201C: \"\u7AE0\u8282\u5185\u5BB92\"\n\ 583 | \ }\n ]\n}\n" 584 | model: 585 | completion_params: 586 | temperature: 0.7 587 | mode: chat 588 | name: alibaba/Qwen2-72B-Instruct 589 | provider: siliconflow 590 | parameters: 591 | - description: "\u591A\u4E2A\u6587\u7AE0\u6BB5\u843D" 592 | name: sections 593 | required: true 594 | type: array[object] 595 | query: 596 | - '17190400701430' 597 | - content 598 | reasoning_mode: prompt 599 | selected: false 600 | title: "\u6BB5\u843D\u62C6\u5206-\u5173\u952E\u8BCD\u751F\u6210" 601 | type: parameter-extractor 602 | variables: [] 603 | height: 97 604 | id: '1719046777534' 605 | position: 606 | x: 2199.9207969659806 607 | y: 107.18764032119049 608 | positionAbsolute: 609 | x: 2199.9207969659806 610 | y: 107.18764032119049 611 | selected: false 612 | sourcePosition: right 613 | targetPosition: left 614 | type: custom 615 | width: 243 616 | - data: 617 | desc: '' 618 | height: 202 619 | iterator_selector: 620 | - '1719046777534' 621 | - sections 622 | output_selector: 623 | - '1719052032351' 624 | - text 625 | output_type: array[string] 626 | selected: false 627 | startNodeType: code 628 | start_node_id: '1719051705186' 629 | title: "\u8FED\u4EE3" 630 | type: iteration 631 | width: 982 632 | height: 202 633 | id: '1719046938333' 634 | position: 635 | x: 2541.2602164922755 636 | y: 236.0379121901911 637 | positionAbsolute: 638 | x: 2541.2602164922755 639 | y: 236.0379121901911 640 | selected: false 641 | sourcePosition: right 642 | targetPosition: left 643 | type: custom 644 | width: 982 645 | zIndex: 1 646 | - data: 647 | desc: '' 648 | outputs: 649 | - value_selector: 650 | - '1719054341069' 651 | - output 652 | variable: answer 653 | selected: false 654 | title: "\u7ED3\u675F 2" 655 | type: end 656 | height: 89 657 | id: '1719047399639' 658 | position: 659 | x: 4031.620023523085 660 | y: -137.01382763199618 661 | positionAbsolute: 662 | x: 4031.620023523085 663 | y: -137.01382763199618 664 | selected: false 665 | sourcePosition: right 666 | targetPosition: left 667 | type: custom 668 | width: 243 669 | - data: 670 | code: "\ndef main(item: dict) -> dict:\n return {\n \"keywords\"\ 671 | : item[\"keywords\"],\n \"section\": item[\"section\"]\n }\n" 672 | code_language: python3 673 | desc: '' 674 | isInIteration: true 675 | isIterationStart: true 676 | iteration_id: '1719046938333' 677 | outputs: 678 | keywords: 679 | children: null 680 | type: string 681 | section: 682 | children: null 683 | type: string 684 | selected: false 685 | title: "\u5B57\u6BB5\u62C6\u5206" 686 | type: code 687 | variables: 688 | - value_selector: 689 | - '1719046938333' 690 | - item 691 | variable: item 692 | extent: parent 693 | height: 53 694 | id: '1719051705186' 695 | parentId: '1719046938333' 696 | position: 697 | x: 117 698 | y: 85 699 | positionAbsolute: 700 | x: 2658.2602164922755 701 | y: 321.0379121901911 702 | selected: false 703 | sourcePosition: right 704 | targetPosition: left 705 | type: custom 706 | width: 243 707 | zIndex: 1001 708 | - data: 709 | desc: '' 710 | isInIteration: true 711 | iteration_id: '1719046938333' 712 | provider_id: 2ebe9c1d-46ef-4735-93f1-e901de242584 713 | provider_name: imageSearch 714 | provider_type: workflow 715 | selected: false 716 | title: imageSearch 717 | tool_configurations: {} 718 | tool_label: imageSearch 719 | tool_name: imageSearch 720 | tool_parameters: 721 | n: 722 | type: constant 723 | value: '2' 724 | need_llm: 725 | type: constant 726 | value: '0' 727 | q: 728 | type: mixed 729 | value: '{{#1719051705186.keywords#}}' 730 | type: tool 731 | extent: parent 732 | height: 53 733 | id: '1719052020538' 734 | parentId: '1719046938333' 735 | position: 736 | x: 420 737 | y: 86.99999997125929 738 | positionAbsolute: 739 | x: 2961.2602164922755 740 | y: 323.0379121614504 741 | selected: false 742 | sourcePosition: right 743 | targetPosition: left 744 | type: custom 745 | width: 243 746 | zIndex: 1002 747 | - data: 748 | context: 749 | enabled: false 750 | variable_selector: [] 751 | desc: '' 752 | isInIteration: true 753 | iteration_id: '1719046938333' 754 | model: 755 | completion_params: 756 | temperature: 0.1 757 | mode: chat 758 | name: deepseek-ai/deepseek-v2-chat 759 | provider: siliconflow 760 | prompt_template: 761 | - id: 45685446-9f81-49aa-afd6-cbe5ed5d85a7 762 | role: system 763 | text: "\u4F60\u662F\u4E00\u4F4D\u4E13\u4E1A\u7684\u6587\u5B57\u5DE5\u4F5C\ 764 | \u8005\uFF0C\u4F60\u53EF\u4EE5\u80DC\u4EFB\u5404\u79CD\u9886\u57DF\u7684\ 765 | \u6587\u7AE0\u4EFF\u5199\uFF0C\u8BF7\u4F60\u5BF9\u4EE5\u4E0B\u63D0\u4F9B\ 766 | \u7684\u53C2\u8003\u6587\u7AE0\u8FDB\u884C\u4EFF\u5199\u5E76\u6392\u7248\ 767 | \u3002\n\n### \u7EA6\u675F\u6761\u4EF6\n1.\u8BF7\u786E\u4FDD\u751F\u6210\ 768 | \u7684\u6587\u7AE0\u7B26\u5408\u7F16\u8F91\u89C4\u8303\uFF0C\u4E0D\u8981\ 769 | \u5305\u542B\u660E\u663E\u7684\u6807\u9898\u3001\u6B63\u6587\u3001\u7ED3\ 770 | \u8BBA\u7B49\u5B57\u773C\n2.\u8BF7\u5206\u6790\u8BE5\u6BB5\u843D\u662F\ 771 | \u5426\u9700\u8981\u914D\u56FE\uFF0C\u5982\u679C\u9700\u8981\u8BF7\u8F93\ 772 | \u51FA\u4EFF\u5199\u540E\u7684\u6BB5\u843D\u540E\u63A5\u914D\u56FE\u4FE1\ 773 | \u606F,\u5982\u679C\u662F\u5355\u6BB5\u843D\u8BF7\u5C06\u914D\u56FE\u653E\ 774 | \u7F6E\u4F59\u6BB5\u843D\u524D\uFF0C\u914D\u56FE\u4FE1\u606F\u53EA\u9700\ 775 | \u8981\u8F93\u51FAmarkdown\u683C\u5F0F\u7684\u56FE\u7247\n3.\u8BF7\u5C3D\ 776 | \u53EF\u80FD\u9075\u5FAA\u6587\u672C\u63CF\u8FF0\u7684\u5BA2\u89C2\u4E8B\ 777 | \u5B9E\u4FE1\u606F\uFF0C\u4E0D\u8981\u80E1\u7F16\u4E71\u9020\n4.\u8BF7\ 778 | \u9075\u5FAA\u6587\u672C\u5185\u5BB9\u7684\u5199\u4F5C\u98CE\u683C\u548C\ 779 | \u7528\u8BCD\uFF0C\u8F93\u51FA\u7684\u6BB5\u843D\u8BF7\u5C3D\u91CF\u786E\ 780 | \u4FDD\u884C\u6587\u901A\u987A\u81EA\u7136\n5.\u8BF7\u786E\u8BA4\u6392\ 781 | \u7248\u4FE1\u606F\u7B26\u5408markdown\u89C4\u8303\u3002\n6.\u8BF7\u4E0D\ 782 | \u8981\u6DFB\u52A0\u6587\u7AE0\u4EE5\u5916\u7684\u591A\u4F59\u4FE1\u606F\ 783 | \uFF0C\u5982\u843D\u6B3E\u3001\u51FA\u5904\u3001\u6765\u6E90\u3001\u53D1\ 784 | \u5E03\u65F6\u95F4\u3001\u4F5C\u8005\u3001\u7F16\u8F91\u7B49\u3002\n###\ 785 | \ \u53C2\u8003\u6587\u7AE0\u5185\u5BB9\uFF1A\n- \u6807\u9898\uFF1A{{#17190400701430.title#}}\n\ 786 | \n\n- \u56FE\u7247\uFF1A{{#1719052020538.text#}}\n\n\n\n- \u662F\u5426\ 787 | \u5355\u6BB5\u843D\uFF1A{{#1719062922068.single_section#}}\n\n\n- \u5185\ 788 | \u5BB9\uFF1A{{#1719051705186.section#}}\n\n\n\n\n\n\n\n" 789 | selected: false 790 | title: "\u4EFF\u5199\u914D\u56FE" 791 | type: llm 792 | variables: [] 793 | vision: 794 | enabled: false 795 | extent: parent 796 | height: 97 797 | id: '1719052032351' 798 | parentId: '1719046938333' 799 | position: 800 | x: 723 801 | y: 85 802 | positionAbsolute: 803 | x: 3264.2602164922755 804 | y: 321.0379121901911 805 | selected: false 806 | sourcePosition: right 807 | targetPosition: left 808 | type: custom 809 | width: 243 810 | zIndex: 1002 811 | - data: 812 | desc: '' 813 | selected: false 814 | template: "{% for section in output %}\r\n\r\n{{ section }}\r\n\r\n----------------------------------\r\ 815 | \n\r\n{% endfor %}" 816 | title: "\u8F93\u51FA\u5B8C\u6574\u6587\u7AE0" 817 | type: template-transform 818 | variables: 819 | - value_selector: 820 | - '1719046938333' 821 | - output 822 | variable: output 823 | height: 53 824 | id: '1719054341069' 825 | position: 826 | x: 3596.477764864506 827 | y: 31.647052411345726 828 | positionAbsolute: 829 | x: 3596.477764864506 830 | y: 31.647052411345726 831 | selected: false 832 | sourcePosition: right 833 | targetPosition: left 834 | type: custom 835 | width: 243 836 | - data: 837 | conditions: 838 | - comparison_operator: '=' 839 | id: '1719057625965' 840 | value: '1' 841 | variable_selector: 842 | - '1718957126125' 843 | - single_img 844 | desc: '' 845 | logical_operator: and 846 | selected: false 847 | title: "\u662F\u5426\u5355\u56FE\u4EFF\u5199" 848 | type: if-else 849 | height: 125 850 | id: '1719057591382' 851 | position: 852 | x: 1506.4031930487308 853 | y: -250.12734194262438 854 | positionAbsolute: 855 | x: 1506.4031930487308 856 | y: -250.12734194262438 857 | selected: false 858 | sourcePosition: right 859 | targetPosition: left 860 | type: custom 861 | width: 243 862 | - data: 863 | context: 864 | enabled: false 865 | variable_selector: [] 866 | desc: '' 867 | model: 868 | completion_params: 869 | temperature: 0 870 | mode: chat 871 | name: alibaba/Qwen2-72B-Instruct 872 | provider: siliconflow 873 | prompt_template: 874 | - id: 0c5cda37-c01f-4f95-9f34-dd4047e05cb3 875 | role: system 876 | text: "\u4F60\u662F\u4E00\u4F4D\u4E13\u4E1A\u7684\u6587\u5B57\u5DE5\u4F5C\ 877 | \u8005\uFF0C\u4F60\u53EF\u4EE5\u80DC\u4EFB\u5404\u79CD\u9886\u57DF\u7684\ 878 | \u6587\u7AE0\u4EFF\u5199\uFF0C\u8BF7\u4F60\u5BF9\u4EE5\u4E0B\u63D0\u4F9B\ 879 | \u7684\u53C2\u8003\u6587\u7AE0\u8FDB\u884C\u4EFF\u5199\u5E76\u6392\u7248\ 880 | \u3002\n### \u7EA6\u675F\u6761\u4EF6\n1.\u8BF7\u786E\u4FDD\u751F\u6210\ 881 | \u7684\u6587\u7AE0\u7B26\u5408\u7F16\u8F91\u89C4\u8303\uFF0C\u4E0D\u8981\ 882 | \u5305\u542B\u660E\u663E\u7684\u6807\u9898\u3001\u6B63\u6587\u3001\u7ED3\ 883 | \u8BBA\u7B49\u5B57\u773C\n2.\u8BF7\u9009\u62E9\u4E00\u5F20\u56FE\u7247\ 884 | \u4F5C\u4E3A\u6587\u7AE0\u7684\u5C01\u9762\u56FE\uFF0C\u914D\u56FE\u653E\ 885 | \u5728\u6B63\u6587\u5F00\u59CB\uFF0C\u4EE5markdown\u683C\u5F0F\u8F93\u51FA\ 886 | \n3.\u8BF7\u5C3D\u53EF\u80FD\u9075\u5FAA\u6587\u672C\u63CF\u8FF0\u7684\ 887 | \u5BA2\u89C2\u4E8B\u5B9E\u4FE1\u606F\uFF0C\u4E0D\u8981\u80E1\u7F16\u4E71\ 888 | \u9020\n4.\u8BF7\u9075\u5FAA\u6587\u672C\u5185\u5BB9\u7684\u5199\u4F5C\ 889 | \u98CE\u683C\u548C\u7528\u8BCD\uFF0C\u8F93\u51FA\u7684\u6BB5\u843D\u8BF7\ 890 | \u5C3D\u91CF\u786E\u4FDD\u884C\u6587\u901A\u987A\u81EA\u7136\n5.\u8BF7\ 891 | \u786E\u8BA4\u6392\u7248\u4FE1\u606F\u7B26\u5408markdown\u89C4\u8303\u3002\ 892 | \n6.\u8BF7\u4E0D\u8981\u6DFB\u52A0\u6587\u7AE0\u4EE5\u5916\u7684\u591A\ 893 | \u4F59\u4FE1\u606F\uFF0C\u5982\u843D\u6B3E\u3001\u51FA\u5904\u3001\u6765\ 894 | \u6E90\u3001\u53D1\u5E03\u65F6\u95F4\u3001\u4F5C\u8005\u3001\u7F16\u8F91\ 895 | \u7B49\n7.\u8BF7\u6CE8\u610F\u4F60\u4EFF\u5199\u7684\u8FD9\u7BC7\u6587\ 896 | \u7AE0\u4F1A\u6B63\u5F0F\u51FA\u7248\uFF0C\u8BF7\u9075\u5FAA\u5185\u5BB9\ 897 | \u7F16\u8F91\u89C4\u8303\uFF0C\u907F\u514D\u51FA\u73B0\u6587\u7AE0\u65E0\ 898 | \u5173\u7684\u5185\u5BB9\u548C\u8349\u7A3F\u3001\u6807\u6CE8\u7B49\u3002\ 899 | \n\n### \u53C2\u8003\u6587\u7AE0\u5185\u5BB9\uFF1A\n- \u6807\u9898\uFF1A\ 900 | {{#17190400701430.title#}}\n\n\n- \u56FE\u7247\uFF1A{{#1719057860526.text#}}\n\ 901 | \n\n\n- \u5185\u5BB9\uFF1A{{#17190400701430.content#}}\n\n\n\n\n### \u8F93\ 902 | \u51FA\u683C\u5F0F\n```\n\u6587\u7AE0\u6807\u9898\n\u5C01\u9762\u56FE\n\ 903 | \u4EFF\u5199\u5185\u5BB9\n```\n\n" 904 | selected: false 905 | title: "\u5355\u56FE\u4EFF\u5199\u914D\u56FE" 906 | type: llm 907 | variables: [] 908 | vision: 909 | enabled: false 910 | height: 97 911 | id: '1719057705571' 912 | position: 913 | x: 2368.9420028066193 914 | y: -467.03215008817943 915 | positionAbsolute: 916 | x: 2368.9420028066193 917 | y: -467.03215008817943 918 | selected: true 919 | sourcePosition: right 920 | targetPosition: left 921 | type: custom 922 | width: 243 923 | - data: 924 | desc: '' 925 | provider_id: 2ebe9c1d-46ef-4735-93f1-e901de242584 926 | provider_name: imageSearch 927 | provider_type: workflow 928 | selected: false 929 | title: imageSearch 930 | tool_configurations: {} 931 | tool_label: imageSearch 932 | tool_name: imageSearch 933 | tool_parameters: 934 | n: 935 | type: constant 936 | value: '1' 937 | need_llm: 938 | type: constant 939 | value: '0' 940 | q: 941 | type: mixed 942 | value: '{{#17190400701430.keywords#}}' 943 | type: tool 944 | height: 53 945 | id: '1719057860526' 946 | position: 947 | x: 1865.607698889294 948 | y: -360.623267691925 949 | positionAbsolute: 950 | x: 1865.607698889294 951 | y: -360.623267691925 952 | selected: false 953 | sourcePosition: right 954 | targetPosition: left 955 | type: custom 956 | width: 243 957 | - data: 958 | desc: '' 959 | outputs: 960 | - value_selector: 961 | - '1719057705571' 962 | - text 963 | variable: answer 964 | selected: false 965 | title: "\u7ED3\u675F 3" 966 | type: end 967 | height: 89 968 | id: '1719058363432' 969 | position: 970 | x: 2903.941999472695 971 | y: -533.0321491397356 972 | positionAbsolute: 973 | x: 2903.941999472695 974 | y: -533.0321491397356 975 | selected: false 976 | sourcePosition: right 977 | targetPosition: left 978 | type: custom 979 | width: 243 980 | - data: 981 | code: "\ndef main(text: str) -> dict:\n import json\n data = json.loads(text)\n\ 982 | \ if len(data.get(\"content\", \"\")) <5:\n return {\"crawl_empty\"\ 983 | : 1}\n return {\"crawl_empty\": 0}\n" 984 | code_language: python3 985 | desc: '' 986 | outputs: 987 | crawl_empty: 988 | children: null 989 | type: number 990 | selected: false 991 | title: "\u722C\u866B\u7ED3\u679C" 992 | type: code 993 | variables: 994 | - value_selector: 995 | - '1718967141318' 996 | - text 997 | variable: text 998 | height: 53 999 | id: '1719061181576' 1000 | position: 1001 | x: 228.2328272980984 1002 | y: 57.92862090416679 1003 | positionAbsolute: 1004 | x: 228.2328272980984 1005 | y: 57.92862090416679 1006 | selected: false 1007 | sourcePosition: right 1008 | targetPosition: left 1009 | type: custom 1010 | width: 243 1011 | - data: 1012 | conditions: 1013 | - comparison_operator: '=' 1014 | id: '1719061385545' 1015 | value: '1' 1016 | variable_selector: 1017 | - '1719061181576' 1018 | - crawl_empty 1019 | desc: '' 1020 | logical_operator: and 1021 | selected: false 1022 | title: "\u722C\u53D6\u7ED3\u679C\u5224\u65AD" 1023 | type: if-else 1024 | height: 125 1025 | id: '1719061373860' 1026 | position: 1027 | x: 588.2328221247678 1028 | y: -12.054013269719732 1029 | positionAbsolute: 1030 | x: 588.2328221247678 1031 | y: -12.054013269719732 1032 | selected: false 1033 | sourcePosition: right 1034 | targetPosition: left 1035 | type: custom 1036 | width: 243 1037 | - data: 1038 | desc: '' 1039 | selected: false 1040 | template: "\u62B1\u6B49\u7F51\u9875{{ url }}\u5185\u5BB9\u83B7\u53D6\u5931\ 1041 | \u8D25\u4E86" 1042 | title: "\u6A21\u677F\u8F6C\u6362 2" 1043 | type: template-transform 1044 | variables: 1045 | - value_selector: 1046 | - '1718957126125' 1047 | - url 1048 | variable: url 1049 | height: 53 1050 | id: '1719061473923' 1051 | position: 1052 | x: 912.2328174687708 1053 | y: -199.01382760325544 1054 | positionAbsolute: 1055 | x: 912.2328174687708 1056 | y: -199.01382760325544 1057 | selected: false 1058 | sourcePosition: right 1059 | targetPosition: left 1060 | type: custom 1061 | width: 243 1062 | - data: 1063 | desc: '' 1064 | outputs: [] 1065 | selected: false 1066 | title: "\u7ED3\u675F 4" 1067 | type: end 1068 | height: 53 1069 | id: '1719061487614' 1070 | position: 1071 | x: 1236.2328128127735 1072 | y: -390.53770311769597 1073 | positionAbsolute: 1074 | x: 1236.2328128127735 1075 | y: -390.53770311769597 1076 | selected: false 1077 | sourcePosition: right 1078 | targetPosition: left 1079 | type: custom 1080 | width: 243 1081 | - data: 1082 | code: "\ndef main(content: str) -> dict:\n if len(content) <= 400:\n \ 1083 | \ return {\"single_section\": \"\u662F\"}\n return {\"single_section\"\ 1084 | : \"\u5426\"}\n" 1085 | code_language: python3 1086 | desc: '' 1087 | outputs: 1088 | single_section: 1089 | children: null 1090 | type: string 1091 | selected: false 1092 | title: "\u662F\u5426\u5355\u6BB5\u843D" 1093 | type: code 1094 | variables: 1095 | - value_selector: 1096 | - '17190400701430' 1097 | - content 1098 | variable: content 1099 | height: 53 1100 | id: '1719062922068' 1101 | position: 1102 | x: 1809.3214809503752 1103 | y: -36.3529475311728 1104 | positionAbsolute: 1105 | x: 1809.3214809503752 1106 | y: -36.3529475311728 1107 | selected: false 1108 | sourcePosition: right 1109 | targetPosition: left 1110 | type: custom 1111 | width: 243 1112 | viewport: 1113 | x: 370.11347091410255 1114 | y: 318.646096243427 1115 | zoom: 0.25 1116 | --------------------------------------------------------------------------------