MistralAILLMClient

constructor(apiKey: String, settings: MistralAIClientSettings = MistralAIClientSettings(), baseClient: HttpClient = HttpClient(), clock: Clock = Clock.System, toolsConverter: OpenAICompatibleToolDescriptorSchemaGenerator = OpenAICompatibleToolDescriptorSchemaGenerator())(source)

Parameters

apiKey

The API key for the Mistral AI API

settings

The base URL, chat completion path, and timeouts for the Mistral AI

clock

Clock instance used for tracking response metadata timestamps