Expand description
Request and answer types, validation, state rendering, confidence formulas, rounding, calibration, email cleaning and presets.
Everything here is pure computation on the host with no device and no I/O, which is why it is the crate every other one can depend on. See spec/03-api.md, spec/04-semantics.md and spec/06-input.md.
Modules§
- answer
- Answers, built from a question’s option logits and act logits the way Laya builds them.
- confidence
- The confidence formulas from spec/04-semantics.md.
- pyjson
- Python’s
json.dumps, byte for byte, for the values a request can hold. - render
- The text the model reads for a question, before tokenizing.
- request
- The
/v1/systemonerequest, parsed from JSON and validated the way spec/03-api.md describes. - round
- Rounding a distribution for the wire, per spec/03-api.md.