This method takes prompt values, options, and callbacks, and generates a result based on the prompts.
generatePrompt(
promptValues: BasePromptValueInterface[],
options: string[] | Partial<CohereCallOptions>,
callbacks: Callbacks
): Promise<LLMResult>| Name | Type | Description |
|---|---|---|
promptValues* | BasePromptValueInterface[] | Prompt values for the LLM. |
options | string[] | Partial<CohereCallOptions> | Options for the LLM call. |
callbacks | Callbacks | Callbacks for the LLM call. |