Class BasePromptSelectorAbstract

Abstract class that defines the interface for selecting a prompt for a given language model.

Hierarchy

Constructors

Methods

Constructors

Methods

  • Asynchronous version of getPrompt that also accepts an options object for partial variables.

    Parameters

    Returns Promise<BasePromptTemplate<any, BasePromptValue, any>>

    A Promise that resolves to a prompt template.

Generated using TypeDoc