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?
• refineTemplate?
Returns
Overrides
Source
packages/llamaindex/src/synthesizers/builders.ts:88
Properties
llm
llm:
LLM
<object
,object
>
Source
packages/llamaindex/src/synthesizers/builders.ts:83
promptHelper
promptHelper:
PromptHelper
Source
packages/llamaindex/src/synthesizers/builders.ts:84