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