mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 12:25:45 -04:00
f5e73aa5b2
Replace the per-page "Contributing Section" (previously baked into every plugin-dev page by tools/contributing_in_page.py) with a single custom JS file that Mintlify auto-includes on every page. It derives the GitHub edit URL from the current path at runtime, localizes the labels (en/zh/ja), and injects an "Edit this page | Report an issue" bar above the site footer, so the feature now covers all pages with no per-page markup. - add contributing-footer.js - remove the 117 baked-in Contributing Sections under en/zh/ja/develop-plugin - retire tools/contributing_in_page.py Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
130 lines
4.0 KiB
Plaintext
130 lines
4.0 KiB
Plaintext
---
|
|
dimensions:
|
|
type:
|
|
primary: conceptual
|
|
detail: introduction
|
|
level: beginner
|
|
standard_title: Getting Started with Dify Plugin Development
|
|
language: zh
|
|
title: Dify 插件
|
|
description: 模块化组件,通过外部服务、自定义逻辑和专业工具扩展 Dify AI 应用
|
|
---
|
|
|
|
> 本文档由 AI 自动翻译。如有任何不准确之处,请参考 [英文原版](/en/develop-plugin/getting-started/getting-started-dify-plugin)。
|
|
|
|
Dify 插件是模块化组件,通过外部服务、自定义功能和专业工具扩展你用 Dify 构建的 AI 应用。
|
|
|
|
<Frame caption="市场">
|
|

|
|
</Frame>
|
|
|
|
通过插件,你的 AI 应用可以:
|
|
|
|
- 连接外部 API
|
|
- 处理不同类型的数据
|
|
- 执行专业计算
|
|
- 执行现实世界的操作
|
|
|
|
## 从这里开始
|
|
|
|
<CardGroup cols={2}>
|
|
<Card title="选择插件类型" icon="route" href="/zh/develop-plugin/getting-started/choose-plugin-type">
|
|
一份简短的决策指南,帮你在工具、模型、Agent 策略、扩展、数据源和触发器插件之间做出选择。
|
|
</Card>
|
|
<Card title="安装 CLI" icon="rocket" href="/zh/develop-plugin/getting-started/cli">
|
|
在本机上配置 `dify`,几分钟内即可搭建一个新的插件项目。
|
|
</Card>
|
|
</CardGroup>
|
|
|
|
## 插件类型
|
|
|
|
<AccordionGroup cols={3}>
|
|
<Accordion
|
|
title="模型"
|
|
icon="microchip"
|
|
href="/zh/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider"
|
|
>
|
|
将 AI 模型打包并作为插件进行管理
|
|
|
|
<a href="/zh/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider" className="text-primary">了解更多</a>
|
|
</Accordion>
|
|
<Accordion
|
|
title="工具"
|
|
icon="toolbox"
|
|
href="/zh/develop-plugin/dev-guides-and-walkthroughs/tool-plugin"
|
|
>
|
|
为 Agent 和工作流构建专业功能
|
|
|
|
<a href="/zh/develop-plugin/dev-guides-and-walkthroughs/tool-plugin" className="text-primary">了解更多</a>
|
|
</Accordion>
|
|
<Accordion
|
|
title="Agent 策略"
|
|
icon="brain"
|
|
href="/zh/develop-plugin/dev-guides-and-walkthroughs/agent-strategy-plugin"
|
|
>
|
|
为自主 Agent 创建自定义推理策略
|
|
|
|
<a href="/zh/develop-plugin/dev-guides-and-walkthroughs/agent-strategy-plugin" className="text-primary">了解更多</a>
|
|
</Accordion>
|
|
<Accordion
|
|
title="扩展"
|
|
icon="puzzle-piece"
|
|
href="/zh/develop-plugin/dev-guides-and-walkthroughs/endpoint"
|
|
>
|
|
通过 HTTP Webhook 实现与外部服务的集成
|
|
|
|
<a href="/zh/develop-plugin/dev-guides-and-walkthroughs/endpoint" className="text-primary">了解更多</a>
|
|
</Accordion>
|
|
<Accordion
|
|
title="数据源"
|
|
icon="database"
|
|
href="/zh/develop-plugin/dev-guides-and-walkthroughs/datasource-plugin"
|
|
>
|
|
将外部内容导入 Dify 的知识流水线
|
|
|
|
<a href="/zh/develop-plugin/dev-guides-and-walkthroughs/datasource-plugin" className="text-primary">了解更多</a>
|
|
</Accordion>
|
|
<Accordion
|
|
title="触发器"
|
|
icon="bolt"
|
|
href="/zh/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin"
|
|
>
|
|
通过 Webhook 接收第三方平台事件,以此启动工作流
|
|
|
|
<a href="/zh/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin" className="text-primary">了解更多</a>
|
|
</Accordion>
|
|
</AccordionGroup>
|
|
|
|
## 其他资源
|
|
|
|
<CardGroup cols={2}>
|
|
<Card
|
|
title="开发与调试"
|
|
icon="code"
|
|
href="/zh/develop-plugin/features-and-specs/plugin-types/remote-debug-a-plugin"
|
|
>
|
|
高效插件开发的工具和技术
|
|
</Card>
|
|
<Card
|
|
title="发布与市场"
|
|
icon="shop"
|
|
href="/zh/develop-plugin/publishing/marketplace-listing/release-overview"
|
|
>
|
|
打包并与 Dify 社区分享你的插件
|
|
</Card>
|
|
<Card
|
|
title="API 与 SDK 参考"
|
|
icon="book-open"
|
|
href="/zh/develop-plugin/features-and-specs/plugin-types/general-specifications"
|
|
>
|
|
技术规范和文档
|
|
</Card>
|
|
<Card
|
|
title="社区与贡献"
|
|
icon="users"
|
|
href="/zh/develop-plugin/publishing/standards/contributor-covenant-code-of-conduct"
|
|
>
|
|
与其他开发者交流并为生态系统做出贡献
|
|
</Card>
|
|
</CardGroup>
|