Class: CompactAndRefine
CompactAndRefine is a slight variation of Refine that first compacts the text chunks into the smallest possible number of chunks.
Hierarchy
-
↳
CompactAndRefine
Constructors
constructor
• new CompactAndRefine(serviceContext
, textQATemplate?
, refineTemplate?
)
Parameters
Name | Type |
---|---|
serviceContext | ServiceContext |
textQATemplate? | (__namedParameters : Object ) => string |
refineTemplate? | (__namedParameters : Object ) => string |
Inherited from
Defined in
packages/core/src/ResponseSynthesizer.ts:82