Provider-neutral System One semantics with a default hosted TypeSafe adapter.
Use evaluate/4 for validated questions, caller-key preservation and enriched
answers, or system_one/4 for the existing wire-oriented parity interface.
Execution is selected by the configured client provider: hosted TypeSafe, a
generic System One HTTP endpoint, or an inference-side contracts provider.
Summary
Functions
Strict ordered Choice constructor.
Evaluate with caller-key restoration and request-relative answer validation.
Evaluate or raise the normalized SDK error.
Collect the bounded evaluation stream.
Lazy, bounded evaluation. See SystemOneSDK.Batch.
Strict Noul constructor. Raises on invalid locally defined questions.
Validate and prepare questions once, returning a tuple.
Validate and prepare questions or raise.
Strict ordered Score constructor.
Legacy wire-oriented system_one call, raising on error.
Functions
Strict ordered Choice constructor.
Evaluate with caller-key restoration and request-relative answer validation.
Evaluate or raise the normalized SDK error.
Collect the bounded evaluation stream.
Lazy, bounded evaluation. See SystemOneSDK.Batch.
@spec list_models(SystemOneSDK.Client.t(), keyword()) :: {:ok, SystemOneSDK.ListModelsResponse.t()} | {:error, term()}
@spec new_client(keyword()) :: SystemOneSDK.Client.t()
Strict Noul constructor. Raises on invalid locally defined questions.
Validate and prepare questions once, returning a tuple.
Validate and prepare questions or raise.
Strict ordered Score constructor.
@spec system_one(SystemOneSDK.Client.t(), term(), map(), keyword()) :: {:ok, SystemOneSDK.SystemOneResponse.t()} | {:error, term()}
Legacy wire-oriented system_one call, raising on error.
@spec version() :: String.t()