MistralAIClient
Client for Mistral.AI’s API.
Requires api_key or environment variable to be set
Parameters:
Instance Methods
Parameters:
Parameters:
Name | Description |
---|
params | Type: dict[str, typing.Any] |
get_usage
Parameters:
Name | Description |
---|
response | Type: autogen.oai.oai_models.chat_completion.ChatCompletionExtended |
message_retrieval
Retrieve the messages from the response.
Parameters:
Name | Description |
---|
response | Type: autogen.oai.oai_models.chat_completion.ChatCompletionExtended |
parse_params
Loads the parameters for Mistral.AI API from the passed in parameters and returns a validated set. Checks types, ranges, and sets defaults
Parameters:
Name | Description |
---|
params | Type: dict[str, typing.Any] |