本人我们使用自动化工具工作流,让他生成一份小红书爆款文字,包含:标题+文案。
工作流类型:workflow
工作流dsl:
app: description: '' icon: 🤖 icon_background: '#FFEAD5' mode: workflow name: 小红书文案生成器 use_icon_as_answer_icon: false dependencies: - current_identifier: null type: marketplace value: marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.7@f8e44422cfa5b9a6ac1f2d3b43ef1069868efdad1e5cec2590de3f53ceac37b0 kind: app version: 0.1.5 workflow: conversation_variables: [] environment_variables: [] features: file_upload: allowed_file_extensions: - .JPG - .JPEG - .PNG - .GIF - .WEBP - .SVG allowed_file_types: - image allowed_file_upload_methods: - local_file - remote_url enabled: false image: enabled: false number_limits: 3 transfer_methods: - local_file - remote_url number_limits: 3 opening_statement: '' retriever_resource: enabled: true sensitive_word_avoidance: enabled: false speech_to_text: enabled: false suggested_questions: [] suggested_questions_after_answer: enabled: false text_to_speech: enabled: false language: '' voice: '' graph: edges: - data: isInIteration: false sourceType: start targetType: question-classifier id: 1721488763924-source-1721489032491-target selected: false source: '1721488763924' sourceHandle: source target: '1721489032491' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: question-classifier targetType: llm id: 1721489032491-2-1721489161989-target selected: false source: '1721489032491' sourceHandle: '2' target: '1721489161989' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: llm targetType: variable-aggregator id: 1721489215977-source-1721489481728-target selected: false source: '1721489215977' sourceHandle: source target: '1721489481728' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: llm targetType: variable-aggregator id: 1721489161989-source-1721489481728-target source: '1721489161989' sourceHandle: source target: '1721489481728' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: question-classifier targetType: tool id: 1721489032491-1-1721541292049-target selected: false source: '1721489032491' sourceHandle: '1' target: '1721541292049' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: tool targetType: llm id: 1721541292049-source-1721489215977-target source: '1721541292049' sourceHandle: source target: '1721489215977' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: variable-aggregator targetType: end id: 1721489481728-source-1721490837867-target source: '1721489481728' sourceHandle: source target: '1721490837867' targetHandle: target type: custom zIndex: 0 nodes: - data: desc: '' selected: false title: 开始 type: start variables: - label: 主题/URL 链接 max_length: 256 options: [] required: true type: text-input variable: key - label: 风格 max_length: 48 options: [] required: true type: text-input variable: style - label: 输出长度 max_length: 48 options: [] required: true type: number variable: length height: 142 id: '1721488763924' position: x: 30 y: 292 positionAbsolute: x: 30 y: 292 selected: false sourcePosition: right targetPosition: left type: custom width: 244 - data: classes: - id: '1' name: URL 链接 - id: '2' name: 主题 desc: '' instructions: '' model: completion_params: temperature: 0.7 mode: chat name: DeepSeek-R1 provider: langgenius/volcengine_maas/volcengine_maas query_variable_selector: - '1721488763924' - key selected: false title: 问题分类器 topics: [] type: question-classifier vision: enabled: false height: 172 id: '1721489032491' position: x: 334 y: 292 positionAbsolute: x: 334 y: 292 selected: false sourcePosition: right targetPosition: left type: custom width: 244 - data: desc: '' provider_id: webscraper provider_name: webscraper provider_type: builtin selected: false title: 网页爬虫 tool_configurations: generate_summary: 0 user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.1000.0 Safari/537.36 (UTF-8) tool_label: 网页爬虫 tool_name: webscraper tool_parameters: url: type: mixed value: '{{#1721488763924.key#}}' type: tool height: 116 id: '1721541292049' position: x: 638 y: 292 positionAbsolute: x: 638 y: 292 selected: false sourcePosition: right targetPosition: left type: custom width: 244 - data: context: enabled: false variable_selector: [] desc: 根据主题生成文章 model: completion_params: {} mode: chat name: DeepSeek-R1 provider: langgenius/volcengine_maas/volcengine_maas prompt_template: - id: 1aa335cf-26b3-4643-9009-aff1d02143cf role: system text: 你是一名小红书博主,你的任务是根据我提供的{{#1721488763924.key#}}生成小红书风格的文案:包括标题和内容。你的文案应该有以下特点:表达要口语化,标题充满反差感,要多使用 emoji 表情图标,内容观点尽量分点罗列,适当描述自己的使用体验和评价,文案最后生成相关的标签。 - id: f6a83d06-2245-4c6a-86c3-b7283ae1a811 role: user text: '生成的风格为:{{#1721488763924.style#}} 生成文章字数在{{#1721488763924.length#}}左右' selected: false title: 主题生成文章 type: llm variables: [] vision: configs: detail: high enabled: false height: 118 id: '1721489161989' position: x: 942 y: 458 positionAbsolute: x: 942 y: 458 selected: true sourcePosition: right targetPosition: left type: custom width: 244 - data: context: enabled: false variable_selector: [] desc: 根据搜索内容生成文章 model: completion_params: {} mode: chat name: DeepSeek-R1 provider: langgenius/volcengine_maas/volcengine_maas prompt_template: - id: 7c06484c-553d-4755-9fa0-1cb39998494c role: system text: 你是一名小红书博主,你的任务是根据我提供的{{#1721541292049.text#}}生成小红书风格的文案:包括标题和内容。你的文案应该有以下特点:表达要口语化,标题充满反差感,要多使用 emoji 表情图标,内容观点尽量分点罗列,适当描述自己的使用体验和评价,文案最后生成相关的标签。 - id: ed65ab8d-34c6-433b-b7f6-850628edb402 role: user text: '生成的风格为:{{#1721488763924.style#}} 生成文章字数在{{#1721488763924.length#}}字左右' selected: false title: 爬虫生成文章 type: llm variables: [] vision: configs: detail: high enabled: false height: 118 id: '1721489215977' position: x: 942 y: 292 positionAbsolute: x: 942 y: 292 selected: false sourcePosition: right targetPosition: left type: custom width: 244 - data: desc: '' output_type: string selected: false title: 变量聚合器 type: variable-aggregator variables: - - '1721489215977' - text - - '1721489161989' - text height: 138 id: '1721489481728' position: x: 1246 y: 292 positionAbsolute: x: 1246 y: 292 selected: false sourcePosition: right targetPosition: left type: custom width: 244 - data: desc: '' outputs: - value_selector: - '1721489481728' - output variable: content selected: false title: 结束 type: end height: 90 id: '1721490837867' position: x: 1550 y: 292 positionAbsolute: x: 1550 y: 292 selected: false sourcePosition: right targetPosition: left type: custom width: 244 viewport: x: -800.9 y: 112.10000000000002 zoom: 0.7
最后我们点击运行的时候,输入我们想要生成的文案主题+风格+输出文字:
然后等待片刻就可以看到他生成了小红书爆文了。
这里我使用的是deepseek,所以他会带有think相关的内容,如果取结果的话,需要把think相关的内容给去掉。当然大家还可以把llm节点的大模型替换为其他的模型,也可以解决这个问题。
还没有评论,来说两句吧...