dify-docs/en/guides/application-orchestrate/prompt-engineering
Mark Sun 235d2df858
Fix image links in en docs (#146)
* Fix image links up to /en/guides

* Add en doc sync-from-website

* Refactor image folder structure

* Refactor Image folder structure

* Update translate.py

* Refactor Image Link: guides up to tools,left with workflow and workspace

* Fix image links

* remove unused images
2024-07-08 17:47:07 +08:00
..
README.md Fix image links in en docs (#146) 2024-07-08 17:47:07 +08:00
prompt-engineering-expert-mode.md Fix image links in en docs (#146) 2024-07-08 17:47:07 +08:00
prompt-template.md En cn sync (#114) 2024-06-17 17:35:59 +08:00

README.md

description
Master the use of Dify for orchestrating applications and practicing Prompt Engineering, and build high-value AI applications with the two built-in application types.

Prompt Engineering

The core concept of Dify is the declarative definition of AI applications. Everything including Prompts, context, plugins, etc. can be described in a YAML file (which is why it is called Dify). It ultimately presents a single API or out-of-the-box WebApp.

At the same time, Dify provides an easy-to-use Prompt orchestration interface where developers can visually orchestrate various application features based on Prompts. Doesn't it sound simple?

For both simple and complex AI applications, good Prompts can effectively improve the quality of model output, reduce error rates, and meet the needs of specific scenarios. Dify currently provides two common application forms: conversational and text generator. This section will guide you through visually orchestrating AI applications.

Application Orchestration Steps

  1. Determine application scenarios and functional requirements
  2. Design and test Prompts and model parameters
  3. Orchestrate Prompts
  4. Publish the application
  5. Observe and continuously iterate

Hands-on Practice

TODO

The Differences between Application Types

Text generation and conversation applications in Dify have slight differences in prompt orchestration. Conversation applications require incorporating "conversation lifecycle" to meet more complex user scenarios and context management needs.

Prompt Engineering has developed into a field with tremendous potential, worthy of continuous exploration. Please continue reading to learn about the orchestration guidelines for both types of applications.

Extended Reading

  1. Learn Prompting
  2. ChatGPT Prompt Engineering for Developers
  3. Awesome ChatGPT Prompts