Class: LLMMultiSelector
A selector that uses the LLM to select a single or multiple choices from a list of choices.
Hierarchy
-
↳
LLMMultiSelector
Constructors
constructor
• new LLMMultiSelector(init
): LLMMultiSelector
Parameters
Name | Type |
---|---|
init | Object |
init.llm | LLM |
init.maxOutputs? | number |
init.outputParser? | BaseOutputParser <StructuredOutput <Answer []>> |
init.prompt? | (numChoices : number , contextList : string , queryStr : string , maxOutputs : number ) => string |