Class: SimpleResponseBuilder
A response builder that just concatenates responses.
Implements
Constructors
constructor
• new SimpleResponseBuilder(serviceContext
, textQATemplate?
): SimpleResponseBuilder
Parameters
Name | Type |
---|---|
serviceContext | ServiceContext |
textQATemplate? | (__namedParameters : { context : undefined | string = ""; query : undefined | string = "" }) => string |
Returns
Defined in
packages/core/src/synthesizers/builders.ts:42
Properties
llm
• llm: LLM
Defined in
packages/core/src/synthesizers/builders.ts:39
textQATemplate
• textQATemplate: (__namedParameters
: { context
: undefined
| string
= ""; query
: undefined
| string
= "" }) => string
Type declaration
▸ («destructured»
): string
Parameters
Name | Type | Default value |
---|---|---|
«destructured» | Object | undefined |
› context | undefined | string | "" |
› query | undefined | string | "" |
Returns
string