Application Orchestration
In Dify, an "application" refers to a practical scenario application built on large language models like GPT. By creating an application, you can apply intelligent AI technology to specific needs. It encompasses both the engineering paradigm for developing AI applications and the specific deliverables.
In short, an application provides developers with:
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
You can choose any one or all of these to support your AI application development.
Application Types
Dify offers five types of applications:
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
The differences between Text Generator and Chatbot are shown in the table below:
WebApp Interface
Form + Results
Chat-based
WebAPI Endpoint
completion-messages
chat-messages
Interaction Mode
One question, one answer
Multi-turn conversation
Streaming Results
Supported
Supported
Context Preservation
Per session
Continuous
User Input Form
Supported
Supported
Datasets and Plugins
Supported
Supported
AI Opening Remarks
Not supported
Supported
Example Scenarios
Translation, judgment, indexing
Chatting
Last updated