Class: CompactAndRefine
CompactAndRefine is a slight variation of Refine that first compacts the text chunks into the smallest possible number of chunks.
Extends
Constructors
new CompactAndRefine()
new CompactAndRefine(
serviceContext
?,textQATemplate
?,refineTemplate
?):CompactAndRefine
Parameters
• serviceContext?: ServiceContext
• textQATemplate?
• refineTemplate?
Returns
Inherited from
Source
packages/core/src/synthesizers/builders.ts:88
Properties
llm
llm:
LLM
<object
,object
>
Inherited from
Source
packages/core/src/synthesizers/builders.ts:83
promptHelper
promptHelper:
PromptHelper