dify-docs/en/guides/application-orchestrate
allen 4d4eca789b
GITBOOK-98: Add "Management" part
2024-07-10 04:18:21 +00:00
..
app-toolkits Fix image language (#150) 2024-07-08 19:26:29 +08:00
prompt-engineering Fix image links in en docs (#146) 2024-07-08 17:47:07 +08:00
README.md En cn sync (#114) 2024-06-17 17:35:59 +08:00
agent.md Fix image links in en docs (#146) 2024-07-08 17:47:07 +08:00
conversation-application.md Fix image language (#150) 2024-07-08 19:26:29 +08:00
creating-an-application.md GITBOOK-98: Add "Management" part 2024-07-10 04:18:21 +00:00
llms-use-faq.md En cn sync (#114) 2024-06-17 17:35:59 +08:00
overview.md En cn sync (#114) 2024-06-17 17:35:59 +08:00
text-generation-application.md Fix image links in en docs (#146) 2024-07-08 17:47:07 +08:00

README.md

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 four types of applications:

  • Chat Assistant: A conversational assistant built on LLM
  • Text Generation: 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
  • Workflow: Defines more flexible LLM workflows based on process orchestration

The differences between Text Generation and Chat Assistant are shown in the table below:

Text GenerationChat Assistant
WebApp InterfaceForm + ResultsChat-based
WebAPI Endpointcompletion-messageschat-messages
Interaction ModeOne question, one answerMulti-turn conversation
Streaming ResultsSupportedSupported
Context PreservationPer sessionContinuous
User Input FormSupportedSupported
Datasets and PluginsSupportedSupported
AI Opening RemarksNot supportedSupported
Example ScenariosTranslation, judgment, indexingChatting