Class: LLMQuestionGenerator
LLMQuestionGenerator uses the LLM to generate new questions for the LLM using tools and a user query.
Extends
Implements
BaseQuestionGenerator
Constructors
new LLMQuestionGenerator()
new LLMQuestionGenerator(
init
?):LLMQuestionGenerator
Parameters
• init?: Partial
<LLMQuestionGenerator
>
Returns
Overrides
Source
packages/llamaindex/src/QuestionGenerator.ts:28
Properties
llm
llm:
LLM
<object
,object
>
Source
packages/llamaindex/src/QuestionGenerator.ts:24
outputParser
outputParser:
BaseOutputParser
<StructuredOutput
<SubQuestion
[]>>
Source
packages/llamaindex/src/QuestionGenerator.ts:26