v0.5.0
🎉🎉 Dify Version 0.5 Release Notes
We're excited to announce the release of Dify Version 0.5. This update introduces several major enhancements, including the integration of Agent mode, the implementation of text-to-speech (TTS) capabilities, and the introduction of the AWS Bedrock model provider. Additionally, we have incorporated GLM3/GLM4 models and Portuguese language support. Read on for more details 👇
What's New
Agent Mode Integration
The Assistant App (previously known as the Chat App) now features an Agent mode, providing access to 12 built-in tools including DALL-E, Stable Diffusion, WebScraper, WolframAlpha, Dify Knowledge, and more.
The integration of Agent reasoning and tool outputs with the Assistant's replies offers a fluid, intuitive user experience.
logo.design.final.mp4
Our expansion into text-to-image capabilities marks a significant step in our multimodal journey. This includes a shared file variable pool, facilitating image-to-image and image-to-text functionality across all tools.
Custom tool integration is now more accessible through:
-
APIs: OpenAI/Swagger and ChatGPT Plugin spec files are supported, with a UI form for API specification in development.
-
Extensions: A guide is provided for users to contribute their own tool business logic.
Additional Updates:
-
The "Build App" has been renamed "Studio", and the "Chat App" is now the "Assistant". Choose between "Basic Assistant" or "Agent Assistant" in the Assistant den.
-
"API Based Extension", previously under the Assistant, is now in the "Variables" module.
-
For ease of use, "Tools" has been relocated to the main product menu, centralizing customization, authorization, and management.
-
With the release of the Agent Assistant, the experimental feature 'Universal Chat in Explorer' has completed its mission! Now, you can directly create an Agent Assistant to achieve the same functions.
TTS Capabilities
Thanks to @charli117, new TTS models are now supported. Our model provider includes an interface for the OpenAI TTS model, and we welcome contributions to our TTS scheme here.
TTS features are available in-app under "Add Feature".
Easily convert text to speech playback.
Note: To use TTS, ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ.
Additional Enhancements
We've introduced the AWS Bedrock model provider and expanded GLM3/GLM4 model support. Plus, Dify now supports Portuguese, broadening our language capabilities.
Update Guide
Deploying with Docker Compose:
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Go to the next step and update to the latest image:
cd docker docker-compose up -d
Deploying from Source Code:
-
Stop API server, Worker and Web frontend Server.
-
Get the latest code from the main branch:
git checkout main git pull origin main
-
Then, let's run the migration script:
cd api flask db upgrade
Note: To use TTS, ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ.
- Finally, run API server, Worker and Web frontend Server again.
Change Log
- fix: arg missing when call method
on_message_replace_func
in output… by @takatost in #2106 - fix: empty keywords moderation. by @GarfieldDai in #2108
- chore: enchance view billing text by @iamjoel in #2109
- feat: support legacy doc by @crazywoola in #2100
- feat: support re-invite email. by @GarfieldDai in #2107
- Init azure openai show quota by @charli117 in #2096
- fix: invite email template languages constant var by @BenjaminX in #2111
- Fix/2102 long dify app description throws backend exception by @crazywoola in #2112
- Feat/2070 glm 4 and glm 3 turbo by @crazywoola in #2114
- feat: add cohere llm and embedding by @takatost in #2115
- Add bedrock by @guchenhe in #2119
- feat: support GLM-4V by @Yeuoly in #2124
- feat: bedrock reorder in provider list by @takatost in #2121
- fix: recipt info by @zxhlyh in #2123
- fix: bump lamejs from 1.2.0 to 1.2.1 by @bowenliang123 in #2122
- fix annotation reply by @JohnJyong in #2127
- fix: model-parameter-modal slider by @zxhlyh in #2135
- feat: support assistant frontend by @iamjoel in #2139
- Feat/assistant app by @Yeuoly in #2086
- feat: remove universal chat app by @takatost in #2140
- fix: agent strategy by @Yeuoly in #2141
- Feat/portuguese support by @crazywoola in #2075
- fix: None type in cot assistant app by @Yeuoly in #2142
- Fix/assistant none type by @Yeuoly in #2143
- Fix/assistant none type by @Yeuoly in #2145
- tts models support by @charli117 in #2033
- feat: add ffmpeg faq link in missing ffmpeg error by @takatost in #2146
- Fix/language support by @crazywoola in #2154
- refractor: assistant runner rename by @rickythink in #2150
- fix: Fix typo in credentials field name by @Yeuoly in #2155
- fix: add tool index by @Yeuoly in #2152
- Refactor: CoT runner by @Yeuoly in #2157
- fix: embeded chat app input by @zxhlyh in #2159
- fix: explore app add to workspace by @zxhlyh in #2160
- version to 0.5.0. by @takatost in #2147
Full Changelog: 0.4.9...0.5.0