Skip to content

v0.6.16

Compare
Choose a tag to compare
@takatost takatost released this 06 Aug 03:00
· 1548 commits to main since this release
23ed15d

✨ What’s New in v0.6.16? ✨

Hey everyone, we’re back with another update, and this one’s packed with some exciting new features, model support, and enhancements. Let’s dive right in!

🚀 Phasing Out N-to-1: Upgrading Multi-path Knowledge Retrieval

Important

We're phasing out the N-to-1 retrieval strategy on September 1, 2024, and introducing a more flexible multi-path retrieval strategy. We recommend switching to this new approach to boost your application's retrieval efficiency.

image

Learn More: https://dify.ai/blog/dify-ai-blog-n-to-1-knowledge-retrieval-legacy

🧠 Models

Llama3.1 Support

GPT-4o Mini Support

Other Models

🛠️ Tools

⚙️ Enhancements

  • Python 3.12 Support: Added Python 3.12 support for API Service by @bowenliang123 in #6771.
  • Milvus 2.4.x Support: Initial support for Milvus 2.4.x by @bowenliang123 in #6084.
  • Docker-Compose Certbot Configurations: Added with backward compatibility by @k-brahma in #6702.
  • Celery Auto-Scale: Added support for Celery auto-scaling by @ZuzooVn in #6249.
  • User Session ID Search: Enhanced App Logs search capabilities by @ZhouhaoJiang in #6638.

🧹 Cleanups

  • Remove TTS (Blocking Call): Removed blocking call for TTS by @ic-xu in #6869.

For additional enhancements and updates, refer to the What's Changed section below.


Upgrade Guide

Docker compose deployments

Warning

The docker-compose.yaml has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.

  1. Back up your customized docker-compose YAML file (optional)

    cd docker
    cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
  2. Get the latest code from the main branch

    git checkout main
    git pull origin main
  3. Stop the service,Command, please execute in the docker directory

    docker compose down
  4. Back up data

    tar -cvf volumes-$(date +%s).tgz volumes
  5. Upgrade services

    docker compose up -d

Source Code deployments

  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. Update Python dependencies:

    cd api
    poetry install
  4. Then, let's run the migration script:

    poetry shell
    flask db upgrade
  5. Finally, run API server, Worker and Web frontend Server again.


What's Changed

New Contributors

Full Changelog: 0.6.15...0.6.16