Concrete implementation of BasePromptSelector that selects a prompt based on a set of conditions. It has a default prompt that it returns if none of the conditions are met.

Hierarchy (view full)

Constructors

Properties

conditionals: [condition: ((llm: BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>) => boolean), prompt: BasePromptTemplate<any, BasePromptValueInterface, any>][]

Methods