generate(
prompts: string[],
options: string[] | Partial<BaseLanguageModelCallOptions>,
callbacks: | Name | Type | Description |
|---|---|---|
prompts* | string[] | |
options | string[] | Partial<BaseLanguageModelCallOptions> | |
callbacks | Callbacks |
Run the LLM on the given prompts and input, handling caching.