Default implementation of batch, which calls invoke N times. Subclasses should override this method if they can batch more efficiently.
batch(
inputs: BaseLanguageModelInput[],
options: Partial<MistralAICallOptions> | Partial<MistralAICallOptions>[],
batchOptions: RunnableBatchOptions __type
): Promise<string[]>| Name | Type | Description |
|---|---|---|
inputs* | BaseLanguageModelInput[] | Array of inputs to each batch call. |
options | Partial<MistralAICallOptions> | Partial<MistralAICallOptions>[] | Either a single call options object to apply to each batch call or an array for each call. |
batchOptions | RunnableBatchOptions & __type |