Learn R Programming

tidyllm (version 0.8.0)

jev: Jev and System One compatible servers

Description

Provider for decide(). The default server is TypeSafe AI's hosted Jev, read with the key in TYPESAFE_API_KEY. Pass .server to reach any server that speaks the same API, such as a Clef or CLM deployment.

Usage

jev(..., .called_from = NULL)

Value

A provider call to pass as .provider to decide().

Arguments

...

Provider settings: .server, the base URL of the server without a path (NULL, the default, is https://api.typesafe.ai), and .model, the model name (default "jev-latest").

.called_from

Internal; the verb that dispatched here.

Examples

Run this code
if (FALSE) {
decide("The invoice was paid late.",
       tidyllm_schema(late = field_lgl("Was the payment late?")), jev())
}

Run the code above in your browser using DataLab