name
(Optional[str]
): The name of the MistralAI model to use.mistralai_api_key
(Optional[str]
): The MistralAI API key.temperature
(float
): The temperature of the LLM.max_tokens
(int
): The maximum number of tokens to generate.messages
(List[Message]
): The messages to pass to the MistralAILLM.str
: The response from the MistralAILLM.