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