Asynchronous version of getPrompt that also accepts an options object
for partial variables.
getPromptAsync(
llm: BaseLanguageModelInterface,
options: BaseGetPromptAsyncOptions
): Promise<BasePromptTemplate<any, BasePromptValueInterface, any>>| Name | Type | Description |
|---|---|---|
llm* | BaseLanguageModelInterface | The language model for which to get a prompt. |
options | BaseGetPromptAsyncOptions | Optional object for partial variables. |