# Dify 官方文档

> 本文档由自动爬虫生成，包含 Dify 官网的所有介绍、教学、案例等内容。

## Introduction - Dify Docs

*来源: https://docs.dify.ai*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai#dify*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/en/introduction*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/#the-advantage-of-dify*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai#next-steps*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## API Access - Dify Docs

*来源: https://docs.dify.ai/en/openapi-api-access-readme*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

#### API Access

#### ​Interactive API Testing

#### ​🔑 API Access Configuration

##### ​Server Address (Base URL)

##### ​API Key

#### ​📚 About Accessing the API and This Document

##### ​Document Structure and Source

##### ​How to Contribute to This Document

#### Sync

Locate the 'Try It' Feature

Configure Request Parameters

Server Address (Base URL)

Authentication (API Key)

Path and Query Parameters

Request Body

Send Request and View Results

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Interactive API Testing
- 🔑 API Access Configuration
- Server Address (Base URL)
- API Key
- 📚 About Accessing the API and This Document
- Document Structure and Source
- How to Contribute to This Document

- This Page: Primarily introduces how to interact with the API documentation, global access configurations (such as Base URL, API keys), and the documentation contribution process.
- API Endpoint Details: All specific API endpoint content (including parameters, request/response structures, functional descriptions, and examples) is auto-generated based on our OpenAPI specification and includes the latest feature annotations. Please be sure to consult these auto-generated pages for the most accurate and detailed endpoint information.

- How to Obtain: You can manage or generate your API key on the Overview, API Access, or Monitoring page of your Dify application by clicking on API Key.
- How to Use: After obtaining the API key, add it to the Authorization header of your HTTP request in the format Bearer YOUR_API_KEY.
- Important Security Note:
API keys are credentials for accessing your application data and have high privileges. Please treat them as sensitive information and keep them secure. Strictly prohibit hardcoding or directly exposing them in any client-side code (e.g., browser, mobile app frontend). It is recommended to store the API key in a secure server-side environment and proxy Dify API calls through your backend service.
- Access Control: In the Monitoring -> Backend Service API settings of your Dify application, you can manage the API access status, for example, temporarily disabling all API calls.

- This Guide Page (api-access-readme.mdx): Provides general information on how to use the API documentation, conduct interactive testing, and configure API access.
- API Endpoint Detail Pages: All pages under the “API Endpoints” group in the sidebar are auto-generated from our OpenAPI specification (View OpenAPI specification source file template). These pages contain detailed descriptions, parameters, request/response examples, and the latest feature annotations for each endpoint.

- Editing This Page (This Guide)
- Modifying API Endpoint Descriptions (OpenAPI Specification)
- Reporting Issues or Suggestions

1. Scroll to the bottom of this page.
2. Click the  “Edit this page” button.
3. This will direct you to the editing interface for this api-access-readme.mdx file on GitHub.

`API Access` `/users/{user_id}` `?limit=10` `POST` `PUT` `PATCH` ```
https://api.dify.ai/v1
```

`API Access` `Monitoring` `API Key` `Authorization` `Bearer YOUR_API_KEY` `Accessing the API` `api-access-readme.mdx` `API Access and Interaction Guide` `api-access-readme.mdx` `api-access-readme.mdx` ![light logo](images\API_Access_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\API_Access_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Application Orchestration - Dify Docs

*来源: https://docs.dify.ai/en/guides/application-orchestrate/readme*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​Application Types

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application OrchestrationApplication OrchestrationCreate ApplicationChatbot ApplicationMultiple Model DebuggingText Generation ApplicationAgentApplication Toolkits
- Application Orchestration
- Create Application
- Chatbot Application
- Multiple Model Debugging
- Text Generation Application
- Agent
- Application Toolkits
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Application Orchestration
- Create Application
- Chatbot Application
- Multiple Model Debugging
- Text Generation Application
- Agent
- Application Toolkits

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Application Types

- A user-friendly API that can be directly called by backend or frontend applications, authenticated via Token
- A ready-to-use, aesthetically pleasing, and hosted WebApp, which you can further develop using the WebApp template
- An easy-to-use interface that includes prompt engineering, context management, log analysis, and annotation

- Chatbot: A conversational assistant built on LLM
- Text Generator: An assistant for text generation tasks such as writing stories, text classification, translation, etc.
- Agent: A conversational intelligent assistant capable of task decomposition, reasoning, and tool invocation
- Chatflow: A workflow orchestration for multi-round complex dialogue tasks with memory capabilities
- Workflow: A workflow orchestration for single-round tasks like automation and batch processing

`completion-messages` `chat-messages` ![light logo](images\Application_Orchestration_-_Di_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Application_Orchestration_-_Di_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Become a Contributor - Dify Docs

*来源: https://docs.dify.ai/en/community/contribution*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​Before you jump in

###### ​Feature requests:

###### ​Anything else (e.g. bug report, performance optimization, typo correction):

##### ​Installing

###### ​1. Fork this repository

###### ​2. Clone the repo

###### ​3. Verify dependencies

###### ​4. Installations

###### ​5. Visit dify in your browser

##### ​Developing

###### ​Backend

###### ​Frontend

##### ​Submitting your PR

##### ​Getting Help

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Before you jump in
- Feature requests:
- Anything else (e.g. bug report, performance optimization, typo correction):
- Installing
- 1. Fork this repository
- 2. Clone the repo
- 3. Verify dependencies
- 4. Installations
- 5. Visit dify in your browser
- Developing
- Backend
- Frontend
- Submitting your PR
- Getting Help

- If you’re opening a new feature request, we’d like you to explain what the proposed feature achieves, and include as much context as possible. @perzeusss has made a solid Feature Request Copilot that helps you draft out your needs. Feel free to give it a try.
- If you want to pick one up from the existing issues, simply drop a comment below it saying so.
A team member working in the related direction will be looped in. If all looks good, they will give the go-ahead for you to start coding. We ask that you hold off working on the feature until then, so none of your work goes to waste should we propose changes.
Depending on whichever area the proposed feature falls under, you might talk to different team members. Here’s rundown of the areas each our team members are working on at the moment:
MemberScope@yeuolyArchitecting Agents@jyongRAG pipeline design@GarfieldDaiBuilding workflow orchestrations@iamjoel & @zxhlyhMaking our frontend a breeze to use@guchenhe & @crazywoolaDeveloper experience, points of contact for anything@takatostOverall product direction and architecture
How we prioritize:
Feature TypePriorityHigh-Priority Features as being labeled by a team memberHigh PriorityPopular feature requests from our community feedback boardMedium PriorityNon-core features and minor enhancementsLow PriorityValuable but not immediateFuture-Feature

- Start coding right away.
How we prioritize:
Issue TypePriorityBugs in core functions (cannot login, applications not working, security loopholes)CriticalNon-critical bugs, performance boostsMedium PriorityMinor fixes (typos, confusing but working UI)Low Priority

- Docker
- Docker Compose
- Node.js v18.x (LTS)
- npm version 8.x.x or Yarn
- Python version 3.11.x

```
git clone git@github.com:<github_username>/dify.git
```

`cd api/` `cd web/` ```
[api/]
├── constants             // Constant settings used throughout code base.
├── controllers           // API route definitions and request handling logic.           
├── core                  // Core application orchestration, model integrations, and tools.
├── docker                // Docker & containerization related configurations.
├── events                // Event handling and processing
├── extensions            // Extensions with 3rd party frameworks/platforms.
├── fields                // field definitions for serialization/marshalling.
├── libs                  // Reusable libraries and helpers.
├── migrations            // Scripts for database migration.
├── models                // Database models & schema definitions.
├── services              // Specifies business logic.
├── storage               // Private key storage.      
├── tasks                 // Handling of async tasks and background jobs.
└── tests
```

```
[web/]
├── app                   // layouts, pages, and components
│   ├── (commonLayout)    // common layout used throughout the app
│   ├── (shareLayout)     // layouts specifically shared across token-specific sessions 
│   ├── activate          // activate page
│   ├── components        // shared by pages and layouts
│   ├── install           // install page
│   ├── signin            // signin page
│   └── styles            // globally shared styles
├── assets                // Static assets
├── bin                   // scripts ran at build step
├── config                // adjustable settings and options 
├── context               // shared contexts used by different portions of the app
├── dictionaries          // Language-specific translate files 
├── docker                // container configurations
├── hooks                 // Reusable hooks
├── i18n                  // Internationalization configuration
├── models                // describes data models & shapes of API responses
├── public                // meta assets like favicon
├── service               // specifies shapes of API actions
├── test                  
├── types                 // descriptions of function params and return values
└── utils                 // Shared utility functions
```

`deploy/dev` `main` ![light logo](images\Become_a_Contributor_-_Dify_Do_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Become_a_Contributor_-_Dify_Do_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Contributing to Dify Documentation - Dify Docs

*来源: https://docs.dify.ai/en/community/docs-contribution*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

#### ​How to Contribute

##### ​Content Corrections

##### ​Content Additions

##### ​Best Practices

#### ​Getting Help

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- How to Contribute
- Content Corrections
- Content Additions
- Best Practices
- Getting Help

- Content Corrections
- Content Additions
- Best Practices

1. Fork the repository

1. Locate the relevant document directory and add your file

1. Submit a pull request

`Fix: Update xxx` ```
git clone https://github.com/<your-github-account>/dify-docs.git
```

`.md` `/guides/tools/tool-configuration/` `Docs: Add xxx` ```
1. Introduction
   - Application scenarios and problems addressed
   - Key features and highlights
   - Final results and demonstrations

2. Project Principles / Process Overview

3. Prerequisites (if any)
   - Required resource list
   - Tool and dependency requirements

4. Implementation in the Dify Platform (Suggested Steps)
   - Application creation and basic configurations
   - Process-building guide
   - Configuration details for key nodes

5. FAQ
```

![light logo](images\Contributing_to_Dify_Documenta_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Contributing_to_Dify_Documenta_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

![](images\Contributing_to_Dify_Documenta_29a6fe7b317ddb667cb3a58a8fdc4c56.png)

---

## Dify Cloud - Dify Docs

*来源: https://docs.dify.ai/en/getting-started/cloud*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​FAQs

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- FAQs

1. Sign up to Dify Cloud and create a new Workspace or join an existing one.
2. Configure your model provider or use our hosted model provider.
3. You can create an application now!

![light logo](images\Dify_Cloud_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Dify_Cloud_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Dify Premium on AWS - Dify Docs

*来源: https://docs.dify.ai/en/getting-started/dify-premium*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

#### ​Setup

#### ​Upgrading

##### ​1. Backup Data

##### ​2. Upgrade the Version

##### ​3. Migrate Tools to Plugins

#### ​Customizing

#### ​WebApp Logo & Branding Customization

Upgrading Community Edition to v1.0.0+

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Setup
- Upgrading
- Customizing
- WebApp Logo & Branding Customization

- You’re looking to create one or a few applications as a small/medium business and you care about data residency.
- You are interested in Dify Cloud, but your use case require more resource than supported by the plans.
- You’d like to run a POC before adopting Dify Enterprise within your organization.

- Default Container Name: The docker exec command examples use docker-api-1. If your API container has a different name or ID (which you can find using docker ps), please adjust the command accordingly.
- Python Package Manager (uv vs. poetry):

- Dify switched from poetry to uv for Python package management starting with version v1.3.0 to enhance performance. For general operations in Dify v1.3.0 or newer, the standard command is uv run flask ....
- This specific section focuses on upgrading to Dify v1.0.0. During the period of Dify v1.0.0 up to (but not including) v1.3.0, poetry was the package manager. Therefore, the flask commands in the examples below correctly use poetry run .... The code examples emphasize the current uv standard in comments first, then show the poetry command relevant to this specific v1.0.0 migration scope.

1. Backup your data
2. Migrate plugins
3. Upgrade the main dify project

1. Run the docker ps command to check the API container name or ID. The default is often docker-api-1.

```
git clone https://github.com/langgenius/dify.git /tmp/dify
mv -f /tmp/dify/docker/* /dify/
rm -rf /tmp/dify
docker-compose down
docker-compose pull
docker-compose -f docker-compose.yaml -f docker-compose.override.yaml up -d
```

`cd` ```
cd docker
cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
```

```
docker compose down
tar -cvf volumes-$(date +%s).tgz volumes
```

`v1.0.0` ```
git checkout 1.0.0 # Switch to the 1.0.0 branch
cd docker
docker compose -f docker-compose.yaml up -d
```

`docker exec` `docker-api-1` `docker ps` `uv` `poetry` `poetry` `uv` `uv run flask ...` `poetry` `flask` `poetry run ...` `uv` `poetry` `docker ps` `docker-api-1` ```
docker ps
CONTAINER ID   IMAGE                                       COMMAND                  CREATED       STATUS                 PORTS                                                                                                                             NAMES
417241cd****   nginx:latest                                "sh -c 'cp /docker-e…"   3 hours ago   Up 3 hours             0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp                                                          docker-nginx-1
f84aa773****   langgenius/dify-api:1.0.0                   "/bin/bash /entrypoi…"   3 hours ago   Up 3 hours             5001/tcp                                                                                                                          docker-worker-1
a3cb19c2****   langgenius/dify-api:1.0.0                   "/bin/bash /entrypoi…"   3 hours ago   Up 3 hours             5001/tcp                                                                                                                          docker-api-1
```

`docker exec -it docker-api-1 bash` ```
# For Dify v1.3.0+ environments, the standard command is 'uv run ...'.
uv run flask extract-plugins --workers=20
#
# If your target migration version for the Community Edition part described here is Dify v1.0.0 up to (but not including) v1.3.0, use 'poetry':
# poetry run flask extract-plugins --workers=20
```

`uv` `poetry` `poetry` `poetry` `plugins.jsonl` `https://marketplace.dify.ai` `docker-api-1` ```
# For Dify v1.3.0+ environments, the standard command is 'uv run ...'.
uv run flask install-plugins --workers=2
#
# If your target migration version for the Community Edition part described here is Dify v1.0.0 up to (but not including) v1.3.0, use 'poetry':
# poetry run flask install-plugins --workers=2
```

`Install plugins completed.` `.env` ```
docker-compose down
docker-compose -f docker-compose.yaml -f docker-compose.override.yaml up -d
```

![light logo](images\Dify_Premium_on_AWS_-_Dify_Doc_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Dify_Premium_on_AWS_-_Dify_Doc_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Dify for Education - Dify Docs

*来源: https://docs.dify.ai/en/getting-started/dify-for-education*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

#### ​Overview

#### ​Value

#### ​Benefits

#### ​How to Apply for Dify for Education

##### ​Prerequisites

##### ​Steps

#### ​How to Check Dify Educational Verification Status

#### ​How to Use Dify Education Coupon

##### ​Dify Education Subscription

##### ​Activate Education Subscription

#### ​How to Update My Educational Information

##### ​Update Email

##### ​Update School Information

#### ​How to Renew Dify Educational Verification

#### ​FAQ

#### ​Important Notice

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Overview
- Value
- Benefits
- How to Apply for Dify for Education
- Prerequisites
- Steps
- How to Check Dify Educational Verification Status
- How to Use Dify Education Coupon
- Dify Education Subscription
- Activate Education Subscription
- How to Update My Educational Information
- Update Email
- Update School Information
- How to Renew Dify Educational Verification
- FAQ
- Important Notice

- For Students: Get discounted access for coursework or AI projects.
- For Teachers: Use Dify as a teaching tool for AI application development
- For Educational Institutions & Schools: Manage AI resources and enhance education.

- Users need to renew before the validity period ends; benefits expire after that.
- Educational verification requires annual renewal.
- The educational subscription can only be used for workspaces where you are the Workspace Owner.

- For verified accounts: Email support@dify.ai to modify school details.
- For expired verification: Enter new school information during re-verification.

- How can I learn about Dify?

- Who cannot apply for educational verification?

- Why was my educational verification rejected/revoked? What should I do if my application is rejected/revoked?

- Will my educational verification remain valid after I graduate or leave school?

- I don’t have an educational email. How can I apply for educational verification?

- I already have a Dify subscription. What happens after I get approved for education verification?

- I have been approved for education verification and have a free Professional plan. What if I don’t want to keep using it?

1. Be 18 or older.
2. Be a current student, teacher, or educational staff member.
3. Have a valid educational email address.

1. Create a Dify Account

1. Apply for Educational Verification


From your profile menu (top-right), select Settings.


On the Settings page, click Billing > Get Education Verified.





Enter your school’s full name (no abbreviations).


Select your role.


Accept the Terms & Agreements and click Submit.
2. From your profile menu (top-right), select Settings.
3. On the Settings page, click Billing > Get Education Verified.
4. Enter your school’s full name (no abbreviations).
5. Select your role.
6. Accept the Terms & Agreements and click Submit.

1. From your profile menu (top-right), select Settings.
2. On the Settings page, click Billing > Get Education Verified.

1. Enter your school’s full name (no abbreviations).
2. Select your role.
3. Accept the Terms & Agreements and click Submit.

1. Go to the subscription page, select the Professional plan with Annual Billing toggled on, and click Get Started.
2. On the Stripe payment page, the education coupon will be automatically applied, and you’ll see the final price displayed as $0. No need to enter a promo code manually.

1. Confirm the subscription details and complete the process. Once activated, your subscription status will be updated to Pro(Edu).

1. Enjoy all the features of the Professional plan completely free!

1. Read the Dify official documentation for guides.
2. Join the Dify Discord community to share your experiences with developers.

1. Users under 18 years old.
2. Users registered with personal emails (e.g., Gmail).

1. Did not accept Terms & Agreements when applying for educational verification
2. Non-educational email registration
3. Fraudulent email or information
4. Educational privilege misuse
5. False institutional information

`Edu` `Pro(Edu)` ![light logo](images\Dify_for_Education_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Dify_for_Education_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

![Get Education Verified](images\Dify_for_Education_-_Dify_Docs_662ee0255a499ab4184fd617e0f5767d.png)

![Get Education Verified Form](images\Dify_for_Education_-_Dify_Docs_fd3ea7c1846c17bd753d84bcc2fea72b.png)

![Pricing](images\Dify_for_Education_-_Dify_Docs_574d95416f57fba457259c3db2ae947d.png)

![Payment](images\Dify_for_Education_-_Dify_Docs_c2c6afeb44b4bd0ce7f1eccc1292e08b.png)

---

## FAQ - Dify Docs

*来源: https://docs.dify.ai/en/plugins/faq*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

#### This Documentation is Being Deprecated

#### ​How to handle plugin upload failure during installation?

#### ​How to handle errors when installing plugins?

This page is being phased out as part of our documentation reorganization.

Click this card to be redirected to the updated version with the most current information.

If you notice any discrepancies or areas needing improvement in the new documentation, please use the “Report an issue” button at the bottom of the page.

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- How to handle plugin upload failure during installation?
- How to handle errors when installing plugins?

`PluginDaemonBadRequestError: plugin_unique_identifier is not valid` `author` `manifest.yaml` `.yaml` `/provider` `plugin verification has been enabled, and the plugin you want to install has a bad signature` `/docker/.env` `FORCE_VERIFYING_SIGNATURE=false` ```
cd docker
docker compose down
docker compose up -d
```

![light logo](images\FAQ_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\FAQ_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Features and Specifications - Dify Docs

*来源: https://docs.dify.ai/en/getting-started/readme/features-and-specifications*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​Project Basics

##### ​Technical Features

10+, including OpenAI and Anthropic

Onboard new mainstream models within 48 hours

ASR Models

Rich-text models up to GPT-4o specs

Visual orchestration interface widely praised, modify Prompts and preview effects in one place.

Orchestration Modes

Prompt Variable Types

Industry-leading visual workflow orchestration interface, live-editing node debugging, modular DSL, and native code runtime, designed for building more complex, reliable, and stable LLM applications.

Supported Nodes

Industry-first visual knowledge base management interface, supporting snippet previews and recall testing.

Indexing Methods

Retrieval Methods

Recall Optimization

Automated cleaning for TXT, Markdown, PDF, HTML, DOC, CSV formats. Unstructured service enables maximum support.

Sync Notion docs as knowledge bases.

Sync Webpages as knowledge bases.

ReAct, Function Call.

Tooling Support

Built-in Tools

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Project Basics
- Technical Features

- Simple orchestration
- Assistant orchestration
- Flow orchestration

- String
- Radio enum
- External API
- File (Q3 2024)

- LLM
- Knowledge Retrieval
- Question Classifier
- IF/ELSE
- CODE
- Template
- HTTP Request
- Tool

- Keywords
- Text vectors
- LLM-assisted question-snippet model

- Keywords
- Text similarity matching
- Hybrid Search
- N choose 1 (Legacy)
- Multi-path retrieval

- Rerank models

- Invoke OpenAI Plugin standard tools
- Directly load OpenAPI Specification APIs as tools

- 40+ tools (As of Q2 2024)

![light logo](images\Features_and_Specifications_-__d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Features_and_Specifications_-__c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/en/workshop/README*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/en/plugins/introduction*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

#### ​What is the Plugin?

#### ​What is the Advantage of Plugin?

#### ​What Are the Types of Plugin?

##### ​What’s New in Plugins?

#### ​Learn More

#### Install Plugins

#### Develop Plugins

#### Publish to Dify Marketplace

#### Publish to Dify Marketplace

#### Package and Publish Plugin File

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- What is the Plugin?
- What is the Advantage of Plugin?
- What Are the Types of Plugin?
- What’s New in Plugins?
- Learn More

- Models
These plugins integrate various AI models (including mainstream LLM providers and custom model) to handle configuration and requests for LLM APIs. For more on creating a model plugin, take refer to Quick Start: Model Plugin.
- Tools
Tools refer to third-party services that can be invoked by Chatflow, Workflow, or Agent-type applications. They provide a complete API implementation to enhance the capabilities of Dify applications. For example, developing a Google Search plugin, please refer to Quick Start: Tool Plugin.
- Agent Strategy
The Agent Strategy plugin defines the reasoning and decision-making logic within an Agent node, including tool selection, invocation, and result processing.
- Agent strategy plugins define the internal reasoning and decision-making logic within agent nodes. They encompass the logic for tool selection, invocation, and handling of returned results by the LLM. For further development guidance, please refer to the Quick Start: Agent Strategy Plugin.
- Extensions
Lightweight plugins that only provide endpoint capabilities for simpler scenarios, enabling fast expansions via HTTP services. This approach is ideal for straightforward integrations requiring basic API invoking. For more details, refer to Quick Start: Extension Plugin.
- Bundle
A “plugin bundle” is a collection of multiple plugins. Bundles allow you to install a curated set of plugins all at once—no more adding them one by one. For more information on creating plugin bundles, see Plugin Development: Bundle Plugin.

- Extend LLM’s Multimodal Capabilities
Plugins can boost an LLM’s ability to handle multimedia. Developers can add tasks like image editing, video processing, and more—ranging from cropping and background removal to working with portrait images.
- Developer-Friendly Debugging Capabilities
The plugin system supports popular IDEs and debugging tools. You just configure a few environment variables to remotely connect to a Dify instance—even one running as a SaaS. Any actions you take on that plugin in Dify are forwarded to your local runtime for debugging.
- Persistent Data Storage
Designed for more complex use cases, the plugin system now includes data persistence:

Plugin-Level Data Storage: You can share workspace-level information with plugins, enabling richer custom features.
Built-In Data Management: Plugins can reliably store and manage data, making it easier to implement complex business logic.
- Plugin-Level Data Storage: You can share workspace-level information with plugins, enabling richer custom features.
- Built-In Data Management: Plugins can reliably store and manage data, making it easier to implement complex business logic.
- Convenient Reverse Invocation
Plugins can now interact bidirectionally with Dify’s core functions, including:

AI model invokes
Tool usage
Application access
Knowledge base interaction
Function node calls (such as question classification, parameter extraction, etc.)

This two-way mechanism allows plugins to act not only as a way to leverage existing Dify capabilities, but also as a standalone gateway—expanding the usage scenarios for your applications.
- AI model invokes
- Tool usage
- Application access
- Knowledge base interaction
- Function node calls (such as question classification, parameter extraction, etc.)
- Enhanced Endpoint Customization Capabilities
Beyond the existing Dify app APIs (like Chatbot or Workflow APIs), you can now create custom APIs within plugins. Developers can wrap their business logic as a plugin, host it on the Dify Marketplace, and automatically get endpoint support for data processing and request handling.

- Plugin-Level Data Storage: You can share workspace-level information with plugins, enabling richer custom features.
- Built-In Data Management: Plugins can reliably store and manage data, making it easier to implement complex business logic.

- AI model invokes
- Tool usage
- Application access
- Knowledge base interaction
- Function node calls (such as question classification, parameter extraction, etc.)

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

![](images\Introduction_-_Dify_Docs_83f9566063db7ae4886f6a139f3f81ff.png)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/en/introduction#the-advantage-of-dify*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/en/introduction#dify*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/en/introduction#next-steps*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/en/getting-started/install-self-hosted/readme*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​Contributing

Was this page helpful?

- Welcome to Dify
- Dify CommunityIntroductionDeploy with Docker ComposeLocal Source Code StartDeploy with aaPanelStart Frontend Docker Container SeparatelyEnvironmentsFAQs
- Introduction
- Deploy with Docker Compose
- Local Source Code Start
- Deploy with aaPanel
- Start Frontend Docker Container Separately
- Environments
- FAQs
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Deploy with Docker Compose
- Local Source Code Start
- Deploy with aaPanel
- Start Frontend Docker Container Separately
- Environments
- FAQs

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Contributing

1. Docker Compose Deployment
2. Local Source Code Start

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/#dify*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Introduction - Dify Docs

*来源: https://docs.dify.ai/#next-steps*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​The Advantage of Dify

##### ​Dify

##### ​Next Steps

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- The Advantage of Dify
- Dify
- Next Steps

- Support for mainstream LLMs
- An intuitive Prompt orchestration interface
- High-quality RAG engines
- A flexible AI Agent framework
- An Intuitive Low-code Workflow
- Easy-to-use interfaces and APIs

- Deploy capabilities similar to Assistants API and GPTs using any model
- Maintain full control over your data with flexible security options
- Leverage an intuitive interface for easy management and deployment

- Read Quick Start for an overview of Dify’s application building workflow.
- Learn how to self-deploy Dify to your servers and integrate open source models.
- Understand Dify’s specifications and roadmap.
- Star us on GitHub and read our Contributor Guidelines.

1. Startups: Rapidly prototype and iterate on AI ideas, accelerating both successes and failures. Numerous teams have used Dify to build MVPs, secure funding, and win customer contracts.
2. Established Businesses: Enhance existing applications with LLM capabilities. Use Dify’s RESTful APIs to separate prompts from business logic, while utilizing our management interface to track data, costs, and usage.
3. Enterprise AI infrastructure: Banks and tech companies are deploying Dify as an internal LLM gateway, facilitating GenAI adoption with centralized governance.
4. AI Enthusiasts and Learners: Practice prompt engineering and explore agent technologies with ease. Over 60,000 developers built their first AI app on Dify even before GPTs were introduced. Since then, our community has grown significantly, now boasting over 180,000 developers and supporting 59,000+ end users.

![light logo](images\Introduction_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Introduction_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## License - Dify Docs

*来源: https://docs.dify.ai/en/policies/open-source*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

![light logo](images\License_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\License_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## List of Model Providers - Dify Docs

*来源: https://docs.dify.ai/en/getting-started/readme/model-providers*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

Was this page helpful?

- Welcome to DifyIntroductionFeatures and SpecificationsList of Model Providers
- Introduction
- Features and Specifications
- List of Model Providers
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Introduction
- Features and Specifications
- List of Model Providers

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

![light logo](images\List_of_Model_Providers_-_Dify_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\List_of_Model_Providers_-_Dify_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Manage Plugins - Dify Docs

*来源: https://docs.dify.ai/en/plugins/manage-plugins*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​Adjusting Plugin Permissions

##### ​Upgrading Plugins

##### ​Deleting Plugins

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Adjusting Plugin Permissions
- Upgrading Plugins
- Deleting Plugins

- Install and Manage Plugin Permissions
This permission controls who can install and manage plugins in the system. Options:

Everyone: Allows all users in the Workspace to install and manage plugins
Admins: Only Workspace administrators can install and manage plugins
No one: No one is allowed to install and manage plugins
- Everyone: Allows all users in the Workspace to install and manage plugins
- Admins: Only Workspace administrators can install and manage plugins
- No one: No one is allowed to install and manage plugins
- Plugin Debug Permissions
This permission controls who can perform plugin debugging work. Options:

Everyone: Allows all users in the Workspace to debug plugins
Admins: Only Workspace administrators can debug plugins
No one: No one is allowed to debug plugins
- Everyone: Allows all users in the Workspace to debug plugins
- Admins: Only Workspace administrators can debug plugins
- No one: No one is allowed to debug plugins

- Everyone: Allows all users in the Workspace to install and manage plugins
- Admins: Only Workspace administrators can install and manage plugins
- No one: No one is allowed to install and manage plugins

- Everyone: Allows all users in the Workspace to debug plugins
- Admins: Only Workspace administrators can debug plugins
- No one: No one is allowed to debug plugins

![light logo](images\Manage_Plugins_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Manage_Plugins_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

![Plugins permission](images\Manage_Plugins_-_Dify_Docs_a2bca75a7757b7cafae2cb4ba0ad9fff.png)

![](images\Manage_Plugins_-_Dify_Docs_83bd5ec12ec914c73d0ea2a5992cd6df.png)

![Remove plugin](images\Manage_Plugins_-_Dify_Docs_6cb1c000d20720c16ae3c0a70df26fd3.png)

---

## Model - Dify Docs

*来源: https://docs.dify.ai/en/guides/model-configuration/readme*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

#### ​Model Types in Dify

#### ​Hosted Model Trial Service

#### ​Setting the Default Model

#### ​Model Integration Settings

#### ​Using Models

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model ConfigurationModelAdding a New ProviderPredefined Model IntegrationCustom Model IntegrationInterfaceSchemaLoad Balancing
- Model
- Adding a New Provider
- Predefined Model Integration
- Custom Model Integration
- Interface
- Schema
- Load Balancing
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Model
- Adding a New Provider
- Predefined Model Integration
- Custom Model Integration
- Interface
- Schema
- Load Balancing

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Model Types in Dify
- Hosted Model Trial Service
- Setting the Default Model
- Model Integration Settings
- Using Models

- OpenAI Hosted Model Trial: Includes 200 invocations for models like GPT3.5-turbo, GPT3.5-turbo-16k, text-davinci-003 models.

- Hugging Face
- Replicate
- Xinference
- OpenLLM

1. System Inference Models: Used in applications for tasks like chat, name generation, and suggesting follow-up questions.

Providers include OpenAI、Azure OpenAI Service、Anthropic、Hugging Face Hub、Replicate、Xinference、OpenLLM、iFLYTEK SPARK、WENXINYIYAN、TONGYI、Minimax、ZHIPU(ChatGLM)、Ollama、LocalAI、GPUStack.
2. Embedding Models: Employed for embedding segmented documents in knowledge and processing user queries in applications.

Providers include OpenAI, ZHIPU (ChatGLM), Jina AI(Jina Embeddings).
3. Rerank Models: Enhance search capabilities in LLMs.

Providers include Cohere, Jina AI(Jina Reranker).
4. Speech-to-Text Models: Convert spoken words to text in conversational applications.

Provider: OpenAI.

1. Proprietary Models: Developed by providers such as OpenAI and Anthropic.
2. Hosted Models: Offer third-party models, like Hugging Face and Replicate.

`Settings > Model Provider` `Settings > Model Provider` ![light logo](images\Model_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Model_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

![Settings - Model Provider](images\Model_-_Dify_Docs_941524058c800a06d39290c48d14673b.png)

![](images\Model_-_Dify_Docs_c5ac5f32deb020a8aae46045d3ee9c8d.png)

![](images\Model_-_Dify_Docs_b55cb7d0dcff7ef14cdf6e6aca207790.png)

![](images\Model_-_Dify_Docs_6e74424124cfcfe224d3c083f90b54d2.png)

---

## Seek Support - Dify Docs

*来源: https://docs.dify.ai/en/community/support*

####### Getting Started

####### Guide

####### Workshop

####### Community

####### Plugins

####### Development

####### Learn More

####### Policies

##### ​Community Support

##### ​Contact Us

Was this page helpful?

- Welcome to Dify
- Dify Community
- Dify Cloud
- Dify Premium on AWS
- Dify for Education
- API Access

- Model Configuration
- Application Orchestration
- Workflow
- Knowledge
- Publishing
- Annotation
- Monitoring
- Tools
- Collaboration
- Management

- Introduction
- Basic
- Intermediate

- Seek Support
- Become a Contributor
- Contributing to Dify Documentation

- Introduction
- Quick Start
- Manage Plugins
- Schema Specification
- Best Practice
- Publish Plugins
- FAQ

- Backend
- Models Integration
- Migration

- Use Cases
- Extended Reading
- FAQ

- License
- User Agreement

- Community Support
- Contact Us

- Submit an Issue on GitHub
- Join the Discord community
- Post your ideas or questions on Reddit

- Email hello@dify.ai

![light logo](images\Seek_Support_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Seek_Support_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Send Chat Message - Dify Docs

*来源: https://docs.dify.ai/api-reference/chat/send-chat-message*

####### Chat and Agent

####### Chatflow

####### Workflow

####### Text Completion

####### Knowledge API

###### Authorizations

###### Body

###### Response

API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with 'Bearer '. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.

Request body to send a chat message.

The body is of type object.

Successful response. The content type and structure depend on the response_mode parameter in the request.

Response object for blocking mode chat completion.

Was this page helpful?

- ChatPOSTSend Chat MessagePOSTStop Chat Message GenerationGETNext Suggested Questions
- POSTSend Chat Message
- POSTStop Chat Message Generation
- GETNext Suggested Questions
- Files
- Feedback
- Conversations
- TTS
- Application
- Annotations

- POSTSend Chat Message
- POSTStop Chat Message Generation
- GETNext Suggested Questions

- Chatflow
- Files
- Feedback
- Conversations
- TTS
- Application
- Annotations

- Workflow Execution
- Files
- Application

- Completion
- Files
- Feedback
- TTS
- Application

- Datasets
- Documents
- Segments
- Models
- Metadata & Tags

- If response_mode is blocking, returns application/json with a ChatCompletionResponse object.
- If response_mode is streaming, returns text/event-stream with a stream of ChunkChatEvent objects.

```
{
  "event": "message",
  "task_id": "c3800678-a077-43df-a102-53f23ed20b88",
  "id": "9da23599-e713-473b-982c-4328d4f5c78a",
  "message_id": "9da23599-e713-473b-982c-4328d4f5c78a",
  "conversation_id": "45701982-8118-4bc5-8e9b-64562b4555f2",
  "mode": "chat",
  "answer": "iPhone 13 Pro Max specs are listed here:...",
  "metadata": {
    "usage": {
      "prompt_tokens": 1033,
      "prompt_unit_price": "0.001",
      "prompt_price_unit": "0.001",
      "prompt_price": "0.0010330",
      "completion_tokens": 128,
      "completion_unit_price": "0.002",
      "completion_price_unit": "0.001",
      "completion_price": "0.0002560",
      "total_tokens": 1161,
      "total_price": "0.0012890",
      "currency": "USD",
      "latency": 0.7682376249867957
    },
    "retriever_resources": [
      {
        "position": 1,
        "dataset_id": "101b4c97-fc2e-463c-90b1-5261a4cdcafb",
        "dataset_name": "iPhone",
        "document_id": "8dd1ad74-0b5f-4175-b735-7d98bbbb4e00",
        "document_name": "iPhone List",
        "segment_id": "ed599c7f-2766-4294-9d1d-e5235a61270a",
        "score": 0.98457545,
        "content": "\"Model\",\"Release Date\",\"Display Size\",\"Resolution\",\"Processor\",\"RAM\",\"Storage\",\"Camera\",\"Battery\",\"Operating System\"\n\"iPhone 13 Pro Max\",\"September 24, 2021\",\"6.7 inch\",\"1284 x 2778\",\"Hexa-core (2x3.23 GHz Avalanche + 4x1.82 GHz Blizzard)\",\"6 GB\",\"128, 256, 512 GB, 1TB\",\"12 MP\",\"4352 mAh\",\"iOS 15\""
      }
    ]
  },
  "created_at": 1705407629
}
```

```
{
  "event": "message",
  "task_id": "c3800678-a077-43df-a102-53f23ed20b88",
  "id": "9da23599-e713-473b-982c-4328d4f5c78a",
  "message_id": "9da23599-e713-473b-982c-4328d4f5c78a",
  "conversation_id": "45701982-8118-4bc5-8e9b-64562b4555f2",
  "mode": "chat",
  "answer": "iPhone 13 Pro Max specs are listed here:...",
  "metadata": {
    "usage": {
      "prompt_tokens": 1033,
      "prompt_unit_price": "0.001",
      "prompt_price_unit": "0.001",
      "prompt_price": "0.0010330",
      "completion_tokens": 128,
      "completion_unit_price": "0.002",
      "completion_price_unit": "0.001",
      "completion_price": "0.0002560",
      "total_tokens": 1161,
      "total_price": "0.0012890",
      "currency": "USD",
      "latency": 0.7682376249867957
    },
    "retriever_resources": [
      {
        "position": 1,
        "dataset_id": "101b4c97-fc2e-463c-90b1-5261a4cdcafb",
        "dataset_name": "iPhone",
        "document_id": "8dd1ad74-0b5f-4175-b735-7d98bbbb4e00",
        "document_name": "iPhone List",
        "segment_id": "ed599c7f-2766-4294-9d1d-e5235a61270a",
        "score": 0.98457545,
        "content": "\"Model\",\"Release Date\",\"Display Size\",\"Resolution\",\"Processor\",\"RAM\",\"Storage\",\"Camera\",\"Battery\",\"Operating System\"\n\"iPhone 13 Pro Max\",\"September 24, 2021\",\"6.7 inch\",\"1284 x 2778\",\"Hexa-core (2x3.23 GHz Avalanche + 4x1.82 GHz Blizzard)\",\"6 GB\",\"128, 256, 512 GB, 1TB\",\"12 MP\",\"4352 mAh\",\"iOS 15\""
      }
    ]
  },
  "created_at": 1705407629
}
```

`Authorization` `Authorization: Bearer {API_KEY}` `object` `response_mode` `response_mode` `blocking` `application/json` `ChatCompletionResponse` `response_mode` `streaming` `text/event-stream` `ChunkChatEvent` ![light logo](images\Send_Chat_Message_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Send_Chat_Message_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Termbase - Dify Docs

*来源: https://docs.dify.ai/en/resources/termbase*

#### ​A

##### ​Agent

##### ​Agentic Workflow

##### ​Automatic Speech Recognition (ASR)

#### ​B

##### ​Backbone of Thought (BoT)

#### ​C

##### ​Chunking

##### ​Citation and Attribution

##### ​Chain of Thought (CoT)

#### ​D

##### ​Domain-Specific Language (DSL)

#### ​E

##### ​Extract, Transform, Load (ETL)

#### ​F

##### ​Frequency Penalty

##### ​Function Calling

#### ​G

##### ​General Chunking Pattern

##### ​Graph of Thought (GoT)

#### ​H

##### ​Hybrid Search

#### ​I

##### ​Inverted Index

#### ​K

##### ​Keyword Search

##### ​Knowledge Base

##### ​Knowledge Retrieval

#### ​L

##### ​Large Language Model (LLM)

##### ​Local Model Inference

#### ​M

##### ​Model-as-a-Service (MaaS)

##### ​Max_tokens

##### ​Memory

##### ​Metadata Filtering

##### ​Multimodal Model

##### ​Multi-tool-call

##### ​Multi-path Retrieval

#### ​P

##### ​Parent-Child Chunking

##### ​Presence Penalty

##### ​Predefined Model

##### ​Prompt

#### ​Q

##### ​Q&A Mode

#### ​R

##### ​Retrieval-Augmented Generation (RAG)

##### ​Reasoning and Acting (ReAct)

##### ​ReRank

##### ​Rerank Model

##### ​Response_format

##### ​Reverse Calling

##### ​Retrieval Test

#### ​S

##### ​Score Threshold

##### ​Semantic Search

##### ​Session Variables

##### ​Speech-to-Text (STT)

##### ​Stream-tool-call

##### ​Streaming Response

#### ​T

##### ​Temperature

##### ​Text Embedding

##### ​Tool Calling

##### ​TopK

##### ​TopP (Nucleus Sampling)

##### ​Tree of Thought (ToT)

##### ​Text-to-Speech (TTS)

#### ​V

##### ​Vector Database

##### ​Vector Retrieval

##### ​Vision

#### ​W

##### ​Workflow

Was this page helpful?

- Termbase

- Dify Brand Guidelines

- Dify Brand Usage Terms

- A
- Agent
- Agentic Workflow
- Automatic Speech Recognition (ASR)
- B
- Backbone of Thought (BoT)
- C
- Chunking
- Citation and Attribution
- Chain of Thought (CoT)
- D
- Domain-Specific Language (DSL)
- E
- Extract, Transform, Load (ETL)
- F
- Frequency Penalty
- Function Calling
- G
- General Chunking Pattern
- Graph of Thought (GoT)
- H
- Hybrid Search
- I
- Inverted Index
- K
- Keyword Search
- Knowledge Base
- Knowledge Retrieval
- L
- Large Language Model (LLM)
- Local Model Inference
- M
- Model-as-a-Service (MaaS)
- Max_tokens
- Memory
- Metadata Filtering
- Multimodal Model
- Multi-tool-call
- Multi-path Retrieval
- P
- Parent-Child Chunking
- Presence Penalty
- Predefined Model
- Prompt
- Q
- Q&A Mode
- R
- Retrieval-Augmented Generation (RAG)
- Reasoning and Acting (ReAct)
- ReRank
- Rerank Model
- Response_format
- Reverse Calling
- Retrieval Test
- S
- Score Threshold
- Semantic Search
- Session Variables
- Speech-to-Text (STT)
- Stream-tool-call
- Streaming Response
- T
- Temperature
- Text Embedding
- Tool Calling
- TopK
- TopP (Nucleus Sampling)
- Tree of Thought (ToT)
- Text-to-Speech (TTS)
- V
- Vector Database
- Vector Retrieval
- Vision
- W
- Workflow

![light logo](images\Termbase_-_Dify_Docs_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Termbase_-_Dify_Docs_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

## Welcome to Dify Plugin Development - Dify Docs

*来源: https://docs.dify.ai/plugin-dev-en/0111-getting-started-dify-plugin*

####### Concepts & Getting Started

####### Development Practices

####### Contribution & Publishing

####### Examples & Use Cases

####### Advanced Development

####### Reference & Specifications

####### About This Documentation

#### ​Related Resources

Was this page helpful?

- OverviewWelcome to Dify Plugin Development
- Welcome to Dify Plugin Development
- Dify Plugin Development Cheatsheet

- Welcome to Dify Plugin Development

- Quick Start
- Developing Dify Plugins

- Code of Conduct & Standards
- Publishing & Listing
- FAQ

- Development Examples

- Extension & Agent
- Reverse Calling

- Core Specifications & Features

- Contribution Guide
- Frontmatter Metadata Guide
- Structured Organization and Sorting Specification in Detail

- Related Resources

- Quick Start: Learn the basic concepts of the Dify plugin system, understand its core architecture, and quickly set up your development environment to build your first “Hello World” plugin.
- Core Concepts: Gain a deep understanding of key principles such as plugin lifecycle, security model, Endpoint Integration, Reverse Call, persistent storage, and more.
- Developing Different Types of Plugins: Specific development guides for each plugin type:

Models: Learn how to package, configure, and manage different AI models as plugins.
Tools: Build specialized capabilities for Agents and workflows, such as data analysis, content processing, custom integrations, and more.
Agent Strategies: Create custom reasoning strategies (like ReAct, CoT, ToT) to empower autonomous Agents in Dify.
Extensions: Implement integration with external services through HTTP Webhooks to handle complex logic.
Bundles: Learn how to combine multiple plugins into packages for easy distribution and deployment.
- Models: Learn how to package, configure, and manage different AI models as plugins.
- Tools: Build specialized capabilities for Agents and workflows, such as data analysis, content processing, custom integrations, and more.
- Agent Strategies: Create custom reasoning strategies (like ReAct, CoT, ToT) to empower autonomous Agents in Dify.
- Extensions: Implement integration with external services through HTTP Webhooks to handle complex logic.
- Bundles: Learn how to combine multiple plugins into packages for easy distribution and deployment.
- Development and Debugging: Master the tools and techniques for efficient plugin development, including using the SDK, leveraging our friendly remote debugging features, and testing your plugins.
- Publishing and Marketplace: Learn how to package your plugins, submit them to the official Dify Marketplace, or share them with the community through channels like GitHub.
- API & SDK Reference: Find detailed technical specifications for APIs, SDK methods, Manifest file formats, and required Schemas.
- Community and Contributions: Learn how to communicate with other developers, seek help, and contribute to the Dify plugin ecosystem and this documentation.

- Models: Learn how to package, configure, and manage different AI models as plugins.
- Tools: Build specialized capabilities for Agents and workflows, such as data analysis, content processing, custom integrations, and more.
- Agent Strategies: Create custom reasoning strategies (like ReAct, CoT, ToT) to empower autonomous Agents in Dify.
- Extensions: Implement integration with external services through HTTP Webhooks to handle complex logic.
- Bundles: Learn how to combine multiple plugins into packages for easy distribution and deployment.

- Extend AI Capabilities: Give Dify-based applications unlimited possibilities through specialized tools, multimodal processing, connection to real-world services, and more.
- Customize the Dify Experience: By building dedicated plugins, precisely meet the needs of specific business scenarios or workflows.
- Reshape Intelligent Processes: Use custom tools and Agent strategies to optimize RAG processes and enhance Agent reasoning capabilities.
- Achieve Modularity and Decoupling: Develop and manage functions as independent plugins, improving code maintainability and flexibility.
- Reach Dify Users: Share your innovative achievements with the broader Dify user community through the Dify Marketplace.
- Enjoy a Developer-Friendly Experience: We provide powerful SDKs, convenient remote debugging tools, and clear documentation to help you develop efficiently.

- Read the Quick Start Guide - Begin by building a simple tool plugin
- Explore the Plugin Development Cheatsheet - Understand core concepts and common commands
- Initialize Your Development Environment - Set up your development environment
- Check the FAQ - Get answers to common questions

- Model Plugin Introduction - Learn about the basic structure of model plugins
- Development Practice Example - View a real plugin development case

![light logo](images\Welcome_to_Dify_Plugin_Develop_d05cfc6ebe48f725d171dc71c64a5d16.svg)

![dark logo](images\Welcome_to_Dify_Plugin_Develop_c51f1cda47c1d9a4a162d7736f6e4c53.svg)

---

