Skip to content

Valen for Dify 0.2.0 — locate objects in images

Latest

Choose a tag to compare

@Liuziyu77 Liuziyu77 released this 14 Nov 14:46
· 3 commits to main since this release

Route support tickets, inspect images, locate objects and prioritize alerts in Dify with Valen. Ask a concrete question and use its answer and probabilities directly in your workflow.

Start using Valen

  1. In Dify, open Integrations → Install → GitHub (or Plugins → Install plugin in older layouts).
  2. Enter https://github.com/Valen-Team/valen-integrations, choose dify-v0.2.0, and select valen-0.2.0.difypkg.
  3. Authorize the provider with the default free API address; leave the API key empty.
  4. Download support-review.yml, import it in Studio, and try a support ticket.

You can also download the .difypkg below and choose Local Package File. Requires Dify 1.18.0+ and an instance that permits unsigned community plugins.

What you can build

  • Yes/No — route clear results and send the middle probability band to human review.
  • Choice — choose among your named destinations with a full probability distribution.
  • Score — prioritize work using ordered levels.
  • Locate — describe what to find in an image and read its bbox, a point inside it and confidence.
  • Evaluate — answer several named questions about the same text or image, including bbox questions.

The starter workflow includes normal routing, human review and a separate request-failure output. It returns data; connect your own business actions when ready.

New in 0.2.0

The Locate tool, and bbox questions in Evaluate. Coordinates are fractions of the image's width and height, from the top-left corner. The hosted model IDs valen-0.8b, valen-2b and valen-4b run Valen-Decision-1.5. The Yes/No, Choice, Score and Evaluate inputs, outputs and routing behavior remain compatible with 0.1.1.

Setup guide · Privacy · Source

在 Dify 中开始使用

打开「集成 → 安装 → GitHub」,输入上述仓库地址,选择 dify-v0.2.0 和插件文件。保留默认免费服务地址,密钥留空。安装后导入 support-review.yml,即可试用工单分流。0.2.0 新增 Locate(定位) 工具,Evaluate 也可回答 bbox 题:描述要在图片中找的目标,返回 bbox、框内一点 point 和 confidence,坐标为相对图片宽高的比例。输入和可选图片会发送到配置的服务;请先阅读数据处理说明。需要 Dify 1.18.0+,且实例允许未签名社区插件。