Berk commited on
Commit
2e06d7b
·
verified ·
1 Parent(s): 812a403

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +13 -4
README.md CHANGED
@@ -65,12 +65,21 @@ per-tier abstention and latency are in
65
 
66
  ## Serving
67
 
68
- `assay.server` exposes `POST /v1/decide`, the System One style `POST /v1/systemone`
69
- (questions typed `choice`/`noul`/`score` with options under `criteria`, plus a batch
70
- endpoint), and `POST /v1/decide_graph`, which walks a decision tree in a single forward pass.
71
- Requests arriving together are answered in one pass; `/health` and `/metrics` are for
 
 
 
 
 
72
  operations. `assay.backends.sglang` runs the same model on an SGLang deployment.
73
 
 
 
 
 
74
  ## Train one on your own data
75
 
76
  `python -m assay.pipeline --config <your>.json` runs training, temperature calibration,
 
65
 
66
  ## Serving
67
 
68
+ ```bash
69
+ python -m assay.server --model Berk/assay-compiled-base --port 8000
70
+ ```
71
+
72
+ `POST /v1/decide` is the native shape; `POST /v1/systemone` and `/v1/systemone/batch` accept
73
+ the shape other open decision models use (`criteria` options, `noul` booleans); `POST
74
+ /v1/decide_graph` walks a decision tree in one forward pass; `POST /v1/agents` registers an
75
+ agent -- a graph plus the actions its outcomes stand for -- and `/v1/agents/<name>/run`
76
+ decides a case. Requests arriving together share a pass, and `/health` and `/metrics` are for
77
  operations. `assay.backends.sglang` runs the same model on an SGLang deployment.
78
 
79
+ Guides: [deployment and the full API](https://github.com/bgokden/assay/blob/main/docs/serving.md),
80
+ [agents](https://github.com/bgokden/assay/blob/main/docs/agents.md),
81
+ [runnable examples](https://github.com/bgokden/assay/tree/main/examples).
82
+
83
  ## Train one on your own data
84
 
85
  `python -m assay.pipeline --config <your>.json` runs training, temperature calibration,