hyf

Context-aware query service for Radroots
git clone https://radroots.dev/git/hyf.git
Log | Files | Refs | README | LICENSE

farm_update_interpret.response.missing_provenance.json (1923B)


      1 {
      2   "version": 1,
      3   "request_id": "farm-interpret-req-1",
      4   "trace_id": "farm-interpret-trace-1",
      5   "ok": true,
      6   "output": {
      7     "versions": {
      8       "schema": "hyf_ops_v2",
      9       "taxonomy": "hyf_ops_v2.taxonomy.v1",
     10       "normalization": "hyf_ops_v2.normalization.v1",
     11       "review_policy": "hyf_ops_v2.review_policy.v1",
     12       "ranking_policy": "hyf_ops_v2.ranking_policy.v1",
     13       "question_bundle": "hyf_ops_v2.question_bundle.v1",
     14       "model": "jev-1.13.0"
     15     },
     16     "claims": [
     17       {
     18         "claim_id": "claim-1",
     19         "product": {
     20           "phrase": "Roma tomatoes",
     21           "catalogue_id": "tomato.roma",
     22           "resolution": "resolved"
     23         },
     24         "status": "offered",
     25         "quantity": {
     26           "state": "known",
     27           "value": "80.00",
     28           "unit": "lb",
     29           "qualifier": "approximate"
     30         },
     31         "evidence": [
     32           {
     33             "kind": "span",
     34             "source_id": "src-farm-1",
     35             "revision": "rev-7",
     36             "start": 11,
     37             "end": 21,
     38             "method": "span"
     39           }
     40         ],
     41         "review_required": true
     42       }
     43     ],
     44     "proposed_changes": [
     45       {
     46         "target": {
     47           "kind": "listing",
     48           "id": "listing-1"
     49         },
     50         "operation": "remaining",
     51         "expected_revision": "rev-2",
     52         "evidence": [
     53           {
     54             "kind": "span",
     55             "source_id": "src-farm-1",
     56             "revision": "rev-7",
     57             "start": 11,
     58             "end": 21,
     59             "method": "span"
     60           }
     61         ]
     62       }
     63     ],
     64     "review": {
     65       "required": true,
     66       "clarifications": [
     67         {
     68           "field": "quantity",
     69           "reason": "approximation_requested"
     70         }
     71       ]
     72     },
     73     "execution": {
     74       "status": "complete",
     75       "provider_calls": 0,
     76       "model": null,
     77       "question_bundle": null,
     78       "degraded_reason": null
     79     }
     80   }
     81 }