AI Personal Learning
and practical guidance

Dify plugin installation and usage

Installing the Dify plugin

strike (on the keyboard) Dify Plugins" in the upper right corner of the platform to go to the plugin management page, support through the Marketplace, GitHub, local uploadsThree ways to install the plugin.

Dify plugin installation and use-1

Installing the Dify plugin


 

Marketplace

The Dify Marketplace is an open ecosystem for developers, providing a rich set of resources such as models, tools, agent strategies, extension modules and solution packs to help developers rapidly extend the capabilities of the Dify platform.

Select any plug-in and click the "Install" button to easily install the plug-in into your current Workspace.

Dify plugin installation and use-1

Install the Dify plugin via Marketplace

 

GitHub Installation of Dify Plugin

You can install the plugin directly through the GitHub code repository link. To install the plugin using this method, you need to make sure that the plugin meets the code specification. The plugin code repository needs to create a Release and include the .difypkg file packages with suffixes. For detailed requirements, please refer toPublishing plugin: GitHubThe

Dify plugin installation and use-1

Installing the Dify plugin via GitHub

 

Local Upload Dify Plugin

commander-in-chief (military)Plugin PackagingAfter that you can get .difypkg Suffixed file packages, commonly used in offline or test environments, allow installation of plugin files outside of the official marketplace. For organizations, it is possible to develop and maintain internal plugins and install them via local uploads to avoid disclosing sensitive information.

 

License Plugin

Some plug-ins may also require an API Key or other forms of authorization after installation, manually add authorization before normal use.

The API Key is sensitive information and authorization is only valid for the current user. Others in your team will still need to manually enter the authorization key when using the plugin.

Dify plugin installation and use-1

Authorize Dify Plugin

 

Using plug-ins

commander-in-chief (military)Plug-in InstallationYou can use the plugin in Dify application by going to Workspace. The following section briefly describes how to use different types of plug-ins.

Model plug-in

in order to OpenAI For example, after installing the model plugin, click on the upper right corner of the Avatar Page → Settings → Model Provider The model provider can be activated by configuring the API Key.

Dify plugin installation and use-1

License OpenAI API Key

 

Authorization allows you to select and use this large language model within all application types.

Dify plugin installation and use-1

Using the Model Type Plug-in

 

Tool Plug-in

The Tools plugin supports use within Chatflow, Workflow, and Agent applications. This section will start with the Google Internet company Tools plugin as an example to demonstrate how it can be used within the above application types.

Some tool plug-ins require an API Key for authorization, so you can configure the plug-in after installation for subsequent use.

 

Agent

Once you have created an Agent application, at the bottom of the Application Organization page, find the "Tools" Options. Check the installed tool plug-ins.

When using the app, enter the command text to use the tool, for example, "News of the day" to invoke the plugin to use the Google search engine for online content retrieval.

Dify plugin installation and use-1

Agent Tools

 

Chatflow / Workflow

Chatflow and Workflow type applications share a common set of workflow orchestration canvases, so there is a consistent approach to using the tools plugin.

You can click on the + sign at the end of the node to select the installed Google plugin tool and wire the node to the upstream node.

Dify plugin installation and use-1

Chatflow / Workflow Tools

 

Fill in the plugin's input variables with the query variable for the user's input query, or other information that needs to be retrieved online.

Dify plugin installation and use-1

Tools input

 

For information on how to use other types of plug-ins, please refer to the plug-in details page for guidance on using the plug-in.

Dify plugin installation and use-1

Dify Plugin Details

May not be reproduced without permission:Chief AI Sharing Circle " Dify plugin installation and usage

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish