Invokes the chat model with a single input.
invoke(
input: BaseLanguageModelInput,
options: Partial<CallOptions>
): Promise<AIMessageChunk<MessageStructure| Name | Type | Description |
|---|---|---|
input* | BaseLanguageModelInput | |
options | Partial<CallOptions> |
The input for the language model.
The call options.