Class: Refine
A response builder that uses the query to ask the LLM generate a better response using multiple text chunks.
Hierarchy
-
Refine
Implements
BaseResponseBuilder
Constructors
constructor
• new Refine(serviceContext
, textQATemplate?
, refineTemplate?
)
Parameters
Name | Type |
---|---|
serviceContext | ServiceContext |
textQATemplate? | (__namedParameters : Object ) => string |
refineTemplate? | (__namedParameters : Object ) => string |
Defined in
packages/core/src/ResponseSynthesizer.ts:82
Properties
refineTemplate
• refineTemplate: (__namedParameters
: Object
) => string
Type declaration
▸ («destructured»
): string
Parameters
Name | Type |
---|---|
«destructured» | Object |
Returns
string
Defined in
packages/core/src/ResponseSynthesizer.ts:80