Class: LLMMultiSelector
A selector that uses the LLM to select a single or multiple choices from a list of choices.
Extends
Constructors
new LLMMultiSelector()
new LLMMultiSelector(
init
):LLMMultiSelector
Parameters
• init
• init.llm: LLMPredictorType
• init.maxOutputs?: number
• init.outputParser?: BaseOutputParser
<StructuredOutput
<Answer
[]>>
• init.prompt?
Returns
Overrides
Source
packages/core/src/selectors/llmSelectors.ts:53
Properties
llm
llm:
LLMPredictorType
Source
packages/core/src/selectors/llmSelectors.ts:48
maxOutputs
maxOutputs:
number
Source
packages/core/src/selectors/llmSelectors.ts:50