hyf

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

buyer_request_interpret.request.json (2020B)


      1 {
      2   "version": 1,
      3   "request_id": "buyer-interpret-req-1",
      4   "capability": "buyer_request.interpret",
      5   "context": {
      6     "consumer": "radroots-cli",
      7     "execution_mode_preference": "deterministic",
      8     "deadline_ms": 2500,
      9     "evaluation_time": "2026-09-24T09:00:00-07:00",
     10     "timezone": "America/Vancouver",
     11     "locale": "en-CA",
     12     "versions": {
     13       "schema": "hyf_ops_v2",
     14       "taxonomy": "hyf_ops_v2.taxonomy.v1",
     15       "normalization": "hyf_ops_v2.normalization.v1",
     16       "review_policy": "hyf_ops_v2.review_policy.v1",
     17       "ranking_policy": "hyf_ops_v2.ranking_policy.v1",
     18       "question_bundle": "hyf_ops_v2.question_bundle.v1",
     19       "model": "jev-1.13.0"
     20     },
     21     "return_provenance": false,
     22     "actor_id": "buyer-7"
     23   },
     24   "input": {
     25     "source": {
     26       "source_id": "src-buyer-1",
     27       "revision": "rev-3",
     28       "text": "Looking for 25 lb of Roma tomatoes, pickup near Vancouver this weekend.",
     29       "source_time": "2026-09-24T08:45:00-07:00",
     30       "timezone": "America/Vancouver",
     31       "locale": "en-CA",
     32       "actor_id": "buyer-7",
     33       "ingestion_time": "2026-09-24T08:46:00-07:00"
     34     },
     35     "references": {
     36       "taxonomy": {
     37         "version": "hyf_ops_v2.taxonomy.v1",
     38         "provenance": "host_supplied",
     39         "products": [
     40           {"catalogue_id": "tomato.roma", "terms": ["Roma tomatoes", "roma tomato", "tomates"]}
     41         ]
     42       },
     43       "normalization": {
     44         "version": "hyf_ops_v2.normalization.v1",
     45         "provenance": "host_supplied",
     46         "units": [
     47           {"unit": "lb", "dimension": "mass"},
     48           {"unit": "kg", "dimension": "mass"}
     49         ],
     50         "conversions": [
     51           {"from_unit": "lb", "to_unit": "kg", "numerator": "45359237", "denominator": "100000000"}
     52         ],
     53         "packs": []
     54       }
     55     },
     56     "clarification": {
     57       "source_id": "src-clar-2",
     58       "revision": "rev-1",
     59       "target_field": "conditions.window",
     60       "text": "weekend includes Friday evening",
     61       "expected_revision": "rev-3"
     62     }
     63   }
     64 }