Integrate / Product integration
Build on the reading
Superb's products share one engine: the reading (reading-v1). Superb Support checks every help article as it is written and attaches a contrast to every source conflict; the MCP server exposes the same reading to any AI client; the reader and the library resolve a word in its sentence. A product adds its own experience around the reading; it should not keep a private rule for what a sense or a proposition is.
Keep the record whole#
Store the reading, or the records you use, with their ids, spans, strengths and the release. A product may show less, but should not discard an alternative, drop a close strength or turn a machine-proposed sense into an accepted one. calibrated is always false.
Use the exact layers for decisions#
Tokens, morphology, phrases, clauses, propositions and references are deterministic and carry no probabilities; build rules on them. Senses are an estimate: act on clear readings, show likely ones, and treat close ones as open. Suggestions built on a proposition name it (proposition), so a product can show the question beside the exact phrase.
Validate what a model returns#
If a model fills any part of a reading, run it through validateReading before showing it: spans inside the text, quotes at their spans, ids that resolve, senses from the unit's own inventory. The model reading on the API already does this and reports what it kept in checks.
Keep product data private#
Ordinary requests are not retained. Drafts, messages and customer text are used only for that request and never enter public releases. Observation submission and the contribution programme are paused; see observation permissions for the rules that will apply when they resume.
Handle errors and retries#
Use SuperbError.status and code to distinguish unavailable services, invalid input, rate limits and denied access. The SDK supports cancellation and a configurable timeout, and never retries a write.
Integration checklist#
- Exercise clear, likely, close, empty, invalid and unavailable responses.
- Keep model credentials server-side; deterministic reads need none.
- Validate any reading a model produced before acting on it.
- Keep the
releasewith anything you store. - Add a product-specific evaluation set before describing a new capability as validated.
The SDK guide documents the client; Read a passage documents every layer.