Class: LLMQuestionGenerator
LLMQuestionGenerator uses the LLM to generate new questions for the LLM using tools and a user query.
Hierarchy
-
↳
LLMQuestionGenerator
Implements
BaseQuestionGenerator
Constructors
constructor
• new LLMQuestionGenerator(init?
): LLMQuestionGenerator
Parameters
Name | Type |
---|---|
init? | Partial <LLMQuestionGenerator > |
Returns
Overrides
Defined in
packages/core/src/QuestionGenerator.ts:28
Properties
llm
• llm: LLM
<object
, object
>
Defined in
packages/core/src/QuestionGenerator.ts:24
outputParser
• outputParser: BaseOutputParser
<StructuredOutput
<SubQuestion
[]>>
Defined in
packages/core/src/QuestionGenerator.ts:26
prompt
• prompt: (__namedParameters
: { queryStr
: undefined
| string
= ""; toolsStr
: undefined
| string
= "" }) => string
Type declaration
▸ («destructured»
): string