mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-28 13:38:36 +07:00
96 lines
5.5 KiB
Plaintext
96 lines
5.5 KiB
Plaintext
---
|
||
title: プラグイン開発ガイド
|
||
---
|
||
|
||
|
||
|
||
{/*
|
||
コントリビューター注:
|
||
----------------
|
||
これはレガシードキュメントであり、非推奨になります。
|
||
このバージョンに変更を加えないでください。
|
||
すべての更新は新しいバージョンに向けられるべきです:
|
||
/plugin-dev-ja/0111-getting-started-dify-plugin
|
||
*/}
|
||
|
||
<Card title="このドキュメントはまもなく非推奨になります" icon="circle-exclamation" href="/plugin-dev-ja/0111-getting-started-dify-plugin">
|
||
<p>ドキュメント再編の一環として、このページは段階的に廃止されます。</p>
|
||
|
||
<p><u><b>このカードをクリックして</b></u>、最新情報が含まれる更新版にリダイレクトしてください。</p>
|
||
|
||
<p>新しいドキュメントに不一致や改善が必要な箇所を見つけた場合は、ページ下部の「問題を報告」ボタンを使用してください。</p>
|
||
</Card>
|
||
|
||
### はじめに
|
||
|
||
このガイドでは、ツール型プラグインやモデルプラグインなど、様々な種類の**プラグインの開発方法を例**を挙げて説明します。これにより、プラグイン開発における様々な機能の組み合わせを迅速に理解し、活用できるようになります。開発を始める前には、まず開発環境を用意し、必要なフレームワークをインストールして初期設定を行ってください。詳細は以下を参照してください:
|
||
|
||
<Card title="initialize-development-tools.md" icon="link" href="initialize-development-tools.md">
|
||
initialize-development-tools.md
|
||
</Card>
|
||
|
||
**GoogleSearch**ツールを例に、ツール型プラグインの開発方法を紹介します。具体的な手順は以下をご覧ください:
|
||
|
||
<Card title="tool-plugin.md" icon="link" href="tool-plugin.md">
|
||
tool-plugin.md
|
||
</Card>
|
||
|
||
**Anthropic**や**Xinference**モデルを例に、事前にトレーニングされたモデルプラグインとカスタムモデルプラグインの開発方法について説明します。
|
||
|
||
* 事前にトレーニングされたモデルは、GPTやClaudeなどの商用モデルを指し、追加の訓練や設定なしで利用できます。
|
||
* カスタムモデルプラグインは、開発者が独自に訓練または設定したモデルを統合し、特定のニーズに合わせた機能を提供します。
|
||
|
||
具体的な開発例は以下を参照してください:
|
||
|
||
<Card title="model" icon="link" href="model-plugin/">
|
||
model
|
||
</Card>
|
||
|
||
Extensionプラグインにより、開発者はビジネスロジックをプラグインとしてパッケージ化し、Difyプラットフォーム上でAPIサービスとして公開できます。詳細は以下をご覧ください:
|
||
|
||
<Card title="extension-plugin.md" icon="link" href="extension-plugin.md">
|
||
extension-plugin.md
|
||
</Card>
|
||
|
||
### インターフェースドキュメント
|
||
|
||
プラグインの詳細なインターフェース仕様が必要な場合は、以下の標準仕様書を参照してください:
|
||
|
||
1. [一般的な構造の標準定義](/ja-jp/plugins/schema-definition/general-specifications)
|
||
2. [マニフェストの標準定義](/ja-jp/plugins/schema-definition/manifest)
|
||
3. [ツールとの接続の標準定義](/ja-jp/plugins/schema-definition/tool)
|
||
4. [モデルとの接続の標準定義](/ja-jp/plugins/schema-definition/reverse-invocation-of-the-dify-service/model)
|
||
5. [エンドポイントの標準定義](/ja-jp/plugins/schema-definition/endpoint)
|
||
6. [拡張エージェント策略](/ja-jp/plugins/schema-definition/agent)
|
||
7. Difyサービスの逆呼び出し機能
|
||
1. [アプリ](/ja-jp/plugins/schema-definition/reverse-invocation-of-the-dify-service/app)の逆呼び出し
|
||
2. [モデル](/ja-jp/plugins/schema-definition/reverse-invocation-of-the-dify-service/model)の逆呼び出し
|
||
3. [ノード](/ja-jp/plugins/schema-definition/reverse-invocation-of-the-dify-service/node)の逆呼び出し
|
||
4. [ツール](/ja-jp/plugins/schema-definition/reverse-invocation-of-the-dify-service/tool)の逆呼び出し
|
||
8. [プラグインの永続化されたストレージ機能](/ja-jp/plugins/schema-definition/persistent-storage)
|
||
|
||
### 貢献ガイド
|
||
|
||
Difyプラグインにコードや機能を提供し、公式プラグインに貢献したいとお考えですか?開発者がプラグインの開発と貢献のプロセスをスムーズに理解し、参加できるように、詳細なガイドを用意しています:
|
||
|
||
* [マーケットプレイスの公開ガイド](/ja-jp/plugins/publish-plugins/publish-to-dify-marketplace/README)
|
||
|
||
あなたのプラグインを Dify Marketplace に公開し、多くの開発者と成果を共有する方法についてご案内します。
|
||
|
||
* [GitHub での公開ガイド](/ja-jp/plugins/publish-plugins/publish-plugin-on-personal-github-repo)
|
||
|
||
GitHub でプラグインを公開・管理する方法を学び、プラグインの継続的な最適化とコミュニティとの協力を促進します。
|
||
|
||
貢献者の参加を歓迎し、世界中の開発者とともにDifyエコシステムを充実させていきましょう!
|
||
|
||
{/*
|
||
Contributing Section
|
||
DO NOT edit this section!
|
||
It will be automatically generated by the script.
|
||
*/}
|
||
|
||
---
|
||
|
||
[このページを編集する](https://github.com/langgenius/dify-docs/edit/main/ja-jp/plugins/quick-start/develop-plugins/README.mdx) | [問題を報告する](https://github.com/langgenius/dify-docs/issues/new?template=docs.yml)
|
||
|