Class: QuestionsAnsweredExtractor
Extract questions from a list of nodes.
Hierarchy
-
↳
QuestionsAnsweredExtractor
Constructors
constructor
• new QuestionsAnsweredExtractor(options?
): QuestionsAnsweredExtractor
Constructor for the QuestionsAnsweredExtractor class.
Parameters
Name | Type |
---|---|
options? | QuestionAnswerExtractArgs |
Returns
Overrides
Defined in
packages/core/src/extractors/MetadataExtractors.ts:258
Properties
disableTemplateRewrite
• disableTemplateRewrite: boolean
= false
Inherited from
BaseExtractor.disableTemplateRewrite
Defined in
packages/core/src/extractors/types.ts:12
embeddingOnly
• embeddingOnly: boolean
= false
Wheter to use metadata for embeddings only
Default
false
Defined in
packages/core/src/extractors/MetadataExtractors.ts:249
inPlace
• inPlace: boolean
= true
Inherited from
Defined in
packages/core/src/extractors/types.ts:13
isTextNodeOnly
• isTextNodeOnly: boolean
= true
Inherited from
Defined in
packages/core/src/extractors/types.ts:9
llm
• llm: LLM
LLM instance.
Defined in
packages/core/src/extractors/MetadataExtractors.ts:229
metadataMode
• metadataMode: MetadataMode
= MetadataMode.ALL