mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-27 13:28:32 +07:00
add the publish to marketplace doc (#700)
This commit is contained in:
151
zh/use-dify/publish/publish-to-marketplace.mdx
Normal file
151
zh/use-dify/publish/publish-to-marketplace.mdx
Normal file
@@ -0,0 +1,151 @@
|
||||
---
|
||||
title: "发布应用到市场"
|
||||
sidebarTitle: "市场"
|
||||
description: "将你的应用发布到 Dify 市场,与全世界分享"
|
||||
icon: "store"
|
||||
---
|
||||
|
||||
<Note> ⚠️ 本文档由 AI 自动翻译。如有任何不准确之处,请参考[英文原版](/en/use-dify/publish/publish-to-marketplace)。</Note>
|
||||
|
||||
将你的应用作为模板发布到 Dify 市场,让其他 Dify 用户可以发现和使用。
|
||||
|
||||
## 提交模板
|
||||
|
||||
若要发布模板,需先提交审核。通过后,模板将在市场上架。
|
||||
|
||||
<Note>
|
||||
提交前,请确保应用中使用的所有插件都**直接从市场安装**。
|
||||
</Note>
|
||||
|
||||
有两种提交方式:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="从 Dify Studio">
|
||||
<Info>
|
||||
仅在 [beta](https://github.com/langgenius/dify/releases/tag/1.14.0-rc1) 环境中可用。
|
||||
</Info>
|
||||
在应用内部,点击**发布** > **发布到市场**。
|
||||
|
||||
这将跳转到 [创作者中心](https://creators.dify.ai),你可以在此填写模板详情并提交审核。
|
||||
</Tab>
|
||||
|
||||
<Tab title="从创作者中心">
|
||||
导出你的应用,然后前往 [创作者中心](https://creators.dify.ai) 上传导出文件。填写模板详情并提交审核。
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## 模板填写指南
|
||||
|
||||
### 语言要求
|
||||
|
||||
保持模板库的一致性和可搜索性。
|
||||
|
||||
**以下字段必须使用英文撰写**:
|
||||
|
||||
- 模板名称
|
||||
- 概述
|
||||
- 设置步骤
|
||||
|
||||
**在应用内部,你可以使用任何语言(如中文)来编写**:
|
||||
|
||||
- 节点名称
|
||||
- 提示词 / 系统消息
|
||||
- 展示给终端用户的消息
|
||||
|
||||
如果你的模板主要面向非英语用户,可以在标题中添加标签。例如,
|
||||
`Stock Investment Analysis Copilot [ZH]`。
|
||||
|
||||
### 模板名称和图标
|
||||
|
||||
仅从名称,用户就应该知道它在哪里运行以及做什么。
|
||||
|
||||
- 使用简短的英文短语,通常为 3-7 个单词。
|
||||
- 推荐模式:[渠道 / 目标] + [核心任务],例如:
|
||||
- WeChat Customer Support Bot
|
||||
- CSV Data Analyzer with Natural Language
|
||||
- Internal Docs Q&A Assistant
|
||||
- GitHub Issue Triage Agent
|
||||
- 包含用户可能搜索的关键词:渠道名称 (Slack, WeChat, Email, Notion) 和任务名称 (Summarizer, Assistant, Generator, Bot)。
|
||||
|
||||
### 分类
|
||||
|
||||
帮助用户在浏览或按分类筛选时发现你的模板。
|
||||
|
||||
- 仅选择 **1-3** 个最能描述你模板的分类。
|
||||
- 不要为了增加曝光而勾选所有分类。
|
||||
|
||||
### 语言
|
||||
|
||||
帮助用户通过语言筛选发现你的模板。
|
||||
|
||||
- 选择你的模板在实际使用中所面向的语言。
|
||||
- 这里指的是模板用例、输入或输出的语言——**而非**标题或概述的语言(这些必须使用英文)。
|
||||
|
||||
### 概述
|
||||
|
||||
用 2-4 句英文说明它做什么以及面向谁。
|
||||
|
||||
<Info>你无需在此列出先决条件、输入或输出。</Info>
|
||||
|
||||
**推荐结构**
|
||||
|
||||
1. 第 1 句:**它做什么**
|
||||
|
||||
一句话概括主要功能。
|
||||
2. 第 2-3 句:**面向谁、什么场景**
|
||||
|
||||
典型用户角色或场景(客服团队、营销人员、创始人、个人知识工作者等)。
|
||||
|
||||
<Accordion title="示例:Stock Investment Analysis Copilot 的概述">
|
||||
This template creates a stock investment analysis copilot that uses Yahoo Finance tools to fetch news, analytics, and ticker data for any listed company.
|
||||
|
||||
It helps investors and analysts quickly generate structured research summaries, compare companies, and prepare reports without manually switching between multiple finance websites.
|
||||
</Accordion>
|
||||
|
||||
### 设置步骤
|
||||
|
||||
将设置步骤写成 Markdown 编号列表(1., 2., 3.),每一步用简短的一句话,以动词开头。
|
||||
|
||||
新用户只需按照这些步骤操作,即可在几分钟内让模板运行起来。
|
||||
|
||||
**撰写原则**
|
||||
|
||||
1. 按照实际设置顺序,通常为:
|
||||
1. 使用/导入模板
|
||||
2. 连接账户 / 添加 API 密钥
|
||||
3. 连接数据源(文档、数据库、表格等)
|
||||
4. 可选自定义(助手名称、语气、过滤器)
|
||||
5. 激活工作流并运行测试
|
||||
|
||||
2. 每一步应回答:
|
||||
- 在界面中点击哪里
|
||||
- 需要配置或填写什么
|
||||
|
||||
3. 目标 3-8 步。太少显得不完整,太多则会令人生畏。
|
||||
|
||||
<Accordion title="示例:Stock Investment Analysis Copilot (Yahoo Finance) 的设置步骤">
|
||||
1. Click **Use template** to copy the "Investment Analysis Copilot (Yahoo Finance)" agent into your workspace.
|
||||
|
||||
2. Go to **Settings → Model provider** and add your LLM API key. For example, OpenAI, Anthropic, or another supported provider.
|
||||
|
||||
3. Open the agent's **Orchestrate** page and make sure the Yahoo Finance tools are enabled in the **Tools** section:
|
||||
- `yahoo Analytics`
|
||||
- `yahoo News`
|
||||
- `yahoo Ticker`
|
||||
|
||||
4. (Optional) Customize the analysis style:
|
||||
- In the **INSTRUCTIONS** area, adjust the system prompt to match your target users. For example, tone, report length, preferred language, or risk preference.
|
||||
- Update the suggested questions in the **Debug & Preview** panel if you want different example queries.
|
||||
|
||||
5. Click **Publish** to make the agent available, then use the preview panel to test it:
|
||||
- Enter a company name or ticker (e.g., `Nvidia`, `AAPL`, `TSLA`).
|
||||
- Confirm that the copilot calls the Yahoo Finance tools and returns a structured investment analysis report.
|
||||
</Accordion>
|
||||
|
||||
### 提交前快速检查清单
|
||||
|
||||
- 名称是一个简短的英文短语,能清楚地说明它在哪里运行、做什么。
|
||||
- 概述用 2-4 句英文解释价值和典型用例。
|
||||
- 仅选择了 1-3 个相关分类。
|
||||
- 设置步骤是清晰的编号列表。
|
||||
- 工作流内部的文本和提示词使用了面向目标用户的适当语言。
|
||||
Reference in New Issue
Block a user