Class: Refine
A response builder that uses the query to ask the LLM generate a better response using multiple text chunks.
Extends
Extended by
Implements
Constructors
new Refine()
new Refine(
serviceContext
?,textQATemplate
?,refineTemplate
?):Refine
Parameters
• serviceContext?: ServiceContext
• textQATemplate?: TextQAPrompt
• refineTemplate?: RefinePrompt
Returns
Overrides
Defined in
packages/llamaindex/src/synthesizers/builders.ts:95
Properties
llm
llm:
LLM
<object
,object
>
Defined in
packages/llamaindex/src/synthesizers/builders.ts:90
promptHelper
promptHelper:
PromptHelper
Defined in
packages/llamaindex/src/synthesizers/builders.ts:91
refineTemplate
refineTemplate:
RefinePrompt
Defined in
packages/llamaindex/src/synthesizers/builders.ts:93
textQATemplate
textQATemplate:
TextQAPrompt
Defined in
packages/llamaindex/src/synthesizers/builders.ts:92