Skip to content

Releases: langgenius/dify

v0.5.7

28 Feb 10:09
5bd3b02
Compare
Choose a tag to compare

New Features

  • Added Mistral AI model provider. #2594
  • Added Vector Database migrate tool, see below. #2562
  • Added response format(JSON/XML) for google, anthropic, openai, wenxin, chatglm, tongyi LLMs. #2563
  • Refactor RAG(knowledge) module, remove dependency on langchain to increase scalability and flexibility. #2528
  • Agent App utilizing an LLM with ReACT mode (not support function calling), supports streaming output. #2498
  • Added DuckDuckGo Search Tool for Enhanced Privacy-Focused Search Functionality by @Yash-1511 #2499

Vector Database Migrate Tool

When you want to switch to another vector database, you can deactivate or delete the original vector database after switching.

How to use

Step:

  1. If you are starting from local source code, modify the environment variable in the .env file to the vector database you want to migrate to.
    For example:
VECTOR_STORE=qdrant
  1. If you are starting from docker compose, modify the environment variable in the docker-compose.yaml file to the vector database you want to migrate to, both api and worker are all needed.

For example:

# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
VECTOR_STORE: qdrant
  1. run the below command in your terminal or docker container
flask vdb-migrarte

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.

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

What's Changed

New Contributors

Full Changelog: 0.5.6...0.5.7

v0.5.6

19 Feb 09:16
8b49e0e
Compare
Choose a tag to compare
  • Added voice choose for TTS in App. Thanks @charli117!
  • Fix some problems.

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.

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

What's Changed

New Contributors

Full Changelog: 0.5.5...0.5.6

v0.5.5

13 Feb 04:36
8633957
Compare
Choose a tag to compare
  • Adding SMTP method for sending emails. Thanks @jonahcui!
  • Fix some problems.

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.

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

What's Changed

New Contributors

Full Changelog: 0.5.4...0.5.5

v0.5.4

06 Feb 06:31
41328bd
Compare
Choose a tag to compare
  • GPT-3.5-Turbo-0125 Integration
  • Moonshot LLM Integration
  • Add Bing Search Tool
  • Add Built-in Maths Tool, a tool for evaluating an math expression, calculated locally with NumExpr.
  • Enhanced Custom Tool Response Visibility, which allows users to view detailed custom API responses during testing, facilitating better debugging and integration.
  • Fix some problems

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.

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

What's Changed

New Contributors

Full Changelog: 0.5.3...0.5.4

v0.5.3

01 Feb 10:26
9f637ea
Compare
Choose a tag to compare
  • Support function calling for more models (Azure OpenAI, xinference, ZhipuAI, Minimax)
  • Fix some problems

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.

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

What's Changed

New Contributors

Full Changelog: 0.5.2...0.5.3

v0.5.2

26 Jan 07:02
4ab6629
Compare
Choose a tag to compare
  • Add OpenAI gpt-4-turbo-preview, gpt-4-0125-preview, text-embedding-3-large, text-embedding-3-small Models
  • Chunk overlap supported in Knowledge
  • Fix some problems

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.

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

What's Changed

New Contributors

Full Changelog: 0.5.1...0.5.2

v0.5.1

25 Jan 19:16
c038040
Compare
Choose a tag to compare
  • add multiple LLM debug mode ⚔️

    image
    image

  • let citation show on webapp

  • add tongyi tts

  • minimax abab6-chat LLM supported

  • support Annotations output

  • openai_api_compatible support config stream_mode_delimiter

  • fix some problems

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.

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

What's Changed

New Contributors

Full Changelog: 0.5.0...0.5.1

v0.5.0

24 Jan 05:07
e0f72d2
Compare
Choose a tag to compare

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

v0.4.9

19 Jan 14:35
c7783db
Compare
Choose a tag to compare
  • Fix some bugs

Notice

As per the planned schedule, these deprecated envs are being removed:

  • CONSOLE_URL: Replace with CONSOLE_API_URL and CONSOLE_WEB_URL.
  • APP_URL: Replace with APP_API_URL and APP_WEB_URL.
  • API_URL : Replace with SERVICE_API_URL.

More details: https://docs.dify.ai/getting-started/install-self-hosted/environments#console_api_url

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
  4. Finally, run API server, Worker and Web frontend Server again.

What's Changed

Full Changelog: 0.4.8...0.4.9

v0.4.8

17 Jan 15:01
8654415
Compare
Choose a tag to compare
  • Jina AI jina-embeddings-v2-base-zh model supported.
  • Minimax abab5.5s-chat model supported.
  • App OpenAPI add LLM usage return
  • Fix some problems.

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
  4. Finally, run API server, Worker and Web frontend Server again.

What's Changed

Full Changelog: 0.4.7...0.4.8