Class: QuestionsAnsweredExtractor
Extract questions from a list of nodes.
Extends
Constructors
new QuestionsAnsweredExtractor()
new QuestionsAnsweredExtractor(
options
?):QuestionsAnsweredExtractor
Constructor for the QuestionsAnsweredExtractor class.
Parameters
• options?: QuestionAnswerExtractArgs
Returns
Overrides
Source
packages/core/src/extractors/MetadataExtractors.ts:295
Properties
disableTemplateRewrite
disableTemplateRewrite:
boolean
=false
Inherited from
BaseExtractor
. disableTemplateRewrite
Source
packages/core/src/extractors/types.ts:13
embeddingOnly
embeddingOnly:
boolean
=false
Wheter to use metadata for embeddings only
Default
false
Source
packages/core/src/extractors/MetadataExtractors.ts:286
inPlace
inPlace:
boolean
=true
Inherited from
Source
packages/core/src/extractors/types.ts:14
isTextNodeOnly
isTextNodeOnly:
boolean
=true
Inherited from
BaseExtractor
. isTextNodeOnly
Source
packages/core/src/extractors/types.ts:10
llm
llm:
LLM
<object
,object
>
LLM instance.
Source
packages/core/src/extractors/MetadataExtractors.ts:266
metadataMode
metadataMode:
MetadataMode
=MetadataMode.ALL
Inherited from
Source
packages/core/src/extractors/types.ts:12
numWorkers
numWorkers:
number
=4