Dify 0.6.0 (2024-04-08)
公式リリースノート: https://github.com/langgenius/dify/releases/tag/0.6.0
v0.6.0
このバージョンの記事
| # | テーマ | 状態 |
|---|---|---|
| 01-introducing-dify-workflow | Dify Workflow ローンチ (0.6.0) | draft |
| 02-update-guide | アップグレードガイド (0.6.0) | draft |
リリースノート抜粋
Introducing Dify Workflow! 🎉
The much-anticipated workflow feature is here: In a nutshell, workflow provides a visual canvas for defining complex tasks as smaller, manageable steps (nodes). This reduces reliance on prompt engineering and LLM agent capabilities, taking the stability and reproducibility of your LLM applications to the next level by letting you be in control.
There are two Workflow application types with this update:
- Workflow App
Targeting Automation and Batch Processing: This is ideal for translation, data analysis, content generation, email automation, and more.
- Chatflow App (A Sub-Type of Chatbot)
For Conversational Applications: Suitable for customer service, semantic search, and more conversational apps requiring multi-step logic in crafting the response.
Compared to the regular Workflow app type, Chatflow adds chat-specific features such as conversation history support (Memory), tagged replies, an Answer node type for streaming responses, and support for rich text and images.
For more information, please visit: https://docs.dify.ai/features/workflow/introduce
Other Enhancements:
- Optimized UI flow for app creation.
- Conversion support from various basic application types to Workflow-based applications.
- Basic / Expert mode Chatbot apps → Chatflow
- Text Generator → Workflow
- Dify's official app templates are now available in self-hosted mode.
- Support for adding descriptions to applications.
- Support for porting applications in and out of Dify with DSL.
- Under the hood, we also refactored the underlying execution logic of all app types for cleaner architecture and a tidier repo.
Update Guide
If you need to upgrade from 0.6.0-preview-workflow.1, you will need to connect to PostgreSQL and execute the following SQL (migration inserted in the main branch) to ensure data integrity.
```SQL
ALTER TABLE dataset_keyword_tables ADD COLUMN data_source_type VARCHAR(255) NOT NULL DEFAULT 'database';
ALTER TABLE embeddings ADD COLUMN provider_name VARCHAR(40) NOT NULL DEFAULT '';
ALTER TABLE embeddings DROP CONSTRAINT embedding_hash_idx;
ALTER
…(以下省略、公式リリースノートを参照)
本記事は非公式まとめです。 正式な機能仕様、互換性、移行手順については Dify 公式ドキュメント および 公式リリースノート を必ずご確認ください。