SystemOneModelFactory

constructor(endpoint: SystemOneEndpoint, defaultModel: String, apiKey: Supplier<String?>, restClientBuilder: <Error class: unknown class>? = null, observationRegistry: <Error class: unknown class> = ObservationRegistry.NOOP)

Parameters

endpoint

where the models live

defaultModel

the model build and buildValidated return

apiKey

supplies the key for each call

restClientBuilder

the application's HTTP client builder, or null for the factory's own

observationRegistry

records decision and request observations