hyf

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

buyer_request_match.response.json (1519B)


      1 {
      2   "version": 1,
      3   "request_id": "buyer_request.match-ex-1",
      4   "trace_id": "trace-buyer_request.match-ex-1",
      5   "ok": true,
      6   "output": {
      7     "assessments": [
      8       {
      9         "candidate_id": "lot-1",
     10         "eligibility": "eligible",
     11         "checks": [
     12           {
     13             "kind": "product",
     14             "result": "pass",
     15             "reason": "catalogue match",
     16             "evidence": []
     17           }
     18         ]
     19       }
     20     ],
     21     "plans": [
     22       {
     23         "plan_id": "p1",
     24         "supplier_id": "farm-1",
     25         "allocations": [
     26           {
     27             "lot_id": "lot-1",
     28             "revision": "l1",
     29             "line_id": "l1",
     30             "quantity": {
     31               "state": "known",
     32               "value": "25",
     33               "unit": "kg",
     34               "qualifier": "exact"
     35             }
     36           }
     37         ],
     38         "coverage": {
     39           "lines_covered": [
     40             "l1"
     41           ],
     42           "uncovered": [],
     43           "partial": false
     44         },
     45         "unresolved": [],
     46         "preference": {
     47           "policy": "rk1",
     48           "score": 0
     49         }
     50       }
     51     ],
     52     "limitations": {
     53       "scope": "supplied_only",
     54       "truncated": false,
     55       "supported_mode": "single_supplier_compatible_lots",
     56       "unsupported": [
     57         "multi_supplier"
     58       ]
     59     },
     60     "execution": {
     61       "status": "complete",
     62       "provider_calls": 0,
     63       "model": null,
     64       "question_bundle": "qb1"
     65     }
     66   },
     67   "meta": {
     68     "execution_mode": "deterministic",
     69     "backend": "heuristic"
     70   }
     71 }