Companion

object Companion

Functions

Link copied to clipboard
fun withHeadersProvider(name: String, httpOptions: HttpOptions? = null, headersProvider: () -> Map<String, String>): ChatCompletions

Creates a ChatCompletions model that calls headersProvider before each request, for an authorization scheme other than a bearer key, such as a custom header or a signed token.