Skip to main content

Valen for Dify 0.2.0 — locate objects in images

Valen for Dify 0.2.0 adds the Locate tool and bbox questions in Evaluate, and the hosted models it calls run Valen-Decision-1.5.

New in 0.2.0​

  • Locate: describe what to find in an image and read its bbox, a point inside it and confidence.
  • Evaluate answers bbox questions too.
  • 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.

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: find what you describe in an image.
  • 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.

Install​

  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 and choose Local Package File. Requires Dify 1.18.0+ and an instance that permits unsigned community plugins.

Setup guide · Privacy · Source