invoke(input: BaseLanguageModelInput, options: Partial<MistralAICallOptions>): Promise<string>| Name | Type | Description |
|---|---|---|
input* | BaseLanguageModelInput | Input for the LLM. |
options | Partial<MistralAICallOptions> | Options for the LLM call. |
This method takes an input and options, and returns a string. It converts the input to a prompt value and generates a result based on the prompt.