MyGit

0.6.16

langgenius/dify

版本发布时间: 2024-08-05 23:49:41

langgenius/dify最新发布版本:0.8.2(2024-09-13 13:45:51)

✨ 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

🧹 Cleanups

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: https://github.com/langgenius/dify/compare/0.6.15...0.6.16

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-08-05发行的版本