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