The client contract: the TypeSafeClient interface, TypeSafeException, and the decorators that wrap any implementation (RetryingTypeSafeClient, DeadlineTypeSafeClient, TokenCounter). Depends only on typesafe-java-core. Implemented by typesafe-java-client-http (the TypeSafe API over HTTP) and typesafe-java-client-local (in-process models).

Artifacts using typesafe-java-client version 0.7.0 (4)
Sort by:Popular▼

The TypeSafeClient that calls the TypeSafe API over HTTP: DefaultTypeSafeClient and its Builder, plus the HttpTransport SPI it sends through. Depends only on typesafe-java-client and typesafe-java-codec; needs one transport ...
Last Release on Oct 6, 2026
Two TypeSafeClient test doubles for unit-testing code that calls it without hitting the real API: RecordingTypeSafeClient (queue responses, record requests) and FailingTypeSafeClient (a decorator that fails every Nth call). Depends only on ...
Last Release on Oct 6, 2026
A TypeSafeClient that evaluates in-process on ONNX Runtime instead of calling the TypeSafe API: Laya (a ModernBERT decision model), Clef-flash (Qwen3.5-9B + joint schema head) or Qwen2.5 (next-token logits), read from a local model ...
Last Release on Oct 6, 2026
MappingTypeSafeClient, a TypeSafeClient decorator that maps a record's @Noul/@Choice/@Score-annotated components into an EvaluateRequest and the response back into an instance of that same record, via reflection, so a caller gets a typed ...
Last Release on Oct 6, 2026
  • Prev
  • 1
  • Next