Package-level declarations
Types
Link copied to clipboard
class TypeSafeDecisionModel(client: HttpClient, apiKey: String, model: String = DEFAULT_MODEL, headers: Map<String, String> = emptyMap(), baseUrl: String = "https://api.typesafe.ai", timeout: Duration? = 1.minutes) : DecisionModel
A DecisionModel that calls Jev, the decision model of TypeSafe AI, through its System One API. Jev does not write text: it picks an option, answers yes or no, or rates on a scale, in a fraction of the time and the price of a chat model. It is built on Ktor, so it runs on every Kotlin target.