Package-level declarations

Types

Link copied to clipboard
@ApiStatus.Experimental
open class CloudflareModelFactory constructor(accountId: String, apiKey: Supplier<String?>, restClientBuilder: <Error class: unknown class>? = null, observationRegistry: <Error class: unknown class> = ObservationRegistry.NOOP, val defaultModel: String = CLEF, maxResponseBytes: Int = SystemOneEndpoint.DEFAULT_MAX_RESPONSE_BYTES) : SystemOneModelFactory

Builds decision services for the decision models on Cloudflare Workers AI: the CLEF models Cloudflare hosts, and Jev, which it runs as a third-party model. Workers AI serves System One behind its own REST API, so this is a SystemOneModelFactory with Cloudflare's address for the account, its envelope and its limits.