Abstract
Abstract
getAbstract method that must be implemented by any class that extends
BasePromptSelector
. It takes a language model as an argument and
returns a prompt template.
The language model for which to get a prompt.
A prompt template.
Asynchronous version of getPrompt
that also accepts an options object
for partial variables.
The language model for which to get a prompt.
Optional
options: BaseGetPromptAsyncOptionsOptional object for partial variables.
A Promise that resolves to a prompt template.
Generated using TypeDoc
Abstract class that defines the interface for selecting a prompt for a given language model.