Skip to content

v0.5.0

Compare
Choose a tag to compare
@takatost takatost released this 24 Jan 05:07
· 3283 commits to main since this release
e0f72d2

🎉🎉 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:

  1. 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.

  2. "API Based Extension", previously under the Assistant, is now in the "Variables" module.

  3. For ease of use, "Tools" has been relocated to the main product menu, centralizing customization, authorization, and management.

  4. 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".

TTS Feature

Easily convert text to speech playback.

TTS 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:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
  2. Go to the next step and update to the latest image:

    cd docker
    docker-compose up -d

Deploying from Source Code:

  1. Stop API server, Worker and Web frontend Server.

  2. Get the latest code from the main branch:

    git checkout main
    git pull origin main
  3. 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.

  1. Finally, run API server, Worker and Web frontend Server again.

Change Log

Full Changelog: 0.4.9...0.5.0