Skip to content

2.10.0

Choose a tag to compare

@tomchop tomchop released this 01 Sep 12:40
· 29 commits to main since this release
993daf9

Breaking change: POST /api/v2/search/semantic response shape

A hit is now {score, matched, object_summary} rather than the whole object with semantic_score and matched_on written into it.

  • Search metadata lives outside the object, so it cannot be confused with — or shadowed by — an object's own fields.
  • matched carries the document that matched. When a DFIQ question is found through one of its approaches, that approach is returned with its description and steps; the question's other approaches are not.
  • object_summary is a summary (id, root_type, type, name, description, tags). Fetch the full object by id. dfiq_yaml is no longer returned, and was half the payload of a question.

Measured on production-shaped data, a 5-result query went from 19,845 to 2,836 bytes with the same results in the same order.

Clients must be updated. yeti-agents was updated in lockstep (yeti-platform/yeti-agents#9); deploy yeti-agents:dev at or after this release.

Full Changelog: 2.9.0...2.10.0