github langgenius/dify 0.6.9
v0.6.9 Workflow as Tool

latest releases: 0.6.11, 0.6.10
one month ago

✨ Dify v0.6.9 has landed! ✨

We’ve been working on enhancing our workflow capabilities lately. Today we’ve got some news:

☄️ Publish workflow as a tool

You can now publish your AI workflow in Dify as a reusable tool. This allows for integration with new agents and other workflows, eliminating redundant efforts.

dify-0-6-9.mp4

🧩 Two new workflow nodes and one node improvement

🔄 Iteration

Make sure the input is an array. Each item in the array will be processed sequentially by the iteration node until all items are addressed. For instance, if you require a lengthy article, simply input several headlines. This will result in an article containing a paragraph for each headline, freeing you from the need for complex prompt orchestration.

💥 Parameter Extractor

Uses LLM to extract structured parameters from natural language, making tool use and HTTP requests in workflows a breeze.

🔗 Variable Aggregator

Improved Variable Assigner supports more flexible variable selection. Additionally, the user experience is enhanced by improving the way node connections are made.

🖼️ Brand new tool management page

We’ve updated our UI to be more intuitive and easier to use, with improved classification.

🚀 Other New Features

  • GPT-4o for Azure: Added support for GPT-4o on Azure by @leslie2046 in #4568.
  • Vertex AI Support: Added support for Vertex AI by @patryk20120 in #4586 and @miendinh in #4641.
  • Gemini Flash: Added Gemini Flash by @QuietRocket in #4616.
  • Doubao LLM and Embedding Models: Added support for Doubao LLM and embedding models by @sinomoe in #4431.
  • Amazon Titan V2: Added support for Amazon Titan V2 and updated pricing for Titan V1 by @longzhihun in #4643.
  • Ernie-Character-8k of Wenxin: New LLM Ernie-Character-8k added by @jiaqianjing in #4448.
  • Claude Stream Tool Call: Enhanced Claude stream tool call by @Yeuoly in #4469.
  • Chat Custom Disclaimer: You can add custom disclaimers in WebApp by @patryk20120 in #4306.
  • MiniMax Mode Sensitive Info Masking: Added parameter config for masking sensitive info in MiniMax mode by @zhangever in #4294.
  • Jina Search & Reader CSS Selectors: Added CSS selectors for Jina Search & Reader by @rennokki in #4523.
  • Images and Tables Extraction from DOCX: Now supports extracting images and tables from DOCX files by @JohnJyong in #4619.

⚙️ Enhancements

  • RAG Document Segmentation: Configurable max segmentation tokens length for RAG documents using an environment variable by @rainchen in #4375.
  • WORKFLOW_MAX_EXECUTION_TIME: Added environment variable for max workflow execution time by @majian159 in #4632.
  • Image Preview URL expire Env Variable: Added environment variable for time signature of image preview url by @patryk20120 in #4650.

🛠️ Bug Fixes

  • General Fixes: Various bug fixes and improvements to enhance stability and performance.

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

Update Guide

Docker compose deployments:

  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

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
    pip install -r requirements.txt
  4. Then, let's run the migration script:

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

What's Changed

New Contributors

Full Changelog: 0.6.8...0.6.9

Don't miss a new dify release

NewReleases is sending notifications on new releases.