Class: SimpleResponseBuilder
A response builder that just concatenates responses.
Implements
BaseResponseBuilder
Constructors
constructor
• new SimpleResponseBuilder(serviceContext
)
Parameters
Name | Type |
---|---|
serviceContext | ServiceContext |
Defined in
packages/core/src/ResponseSynthesizer.ts:53
Properties
llm
• llm: LLM
Defined in
packages/core/src/ResponseSynthesizer.ts:50
textQATemplate
• textQATemplate: SimplePrompt
Defined in
packages/core/src/ResponseSynthesizer.ts:51
Methods
getResponse
▸ getResponse(query
, textChunks
, parentEvent?
): Promise
<string
>
Parameters
Name | Type |
---|---|
query | string |
textChunks | string [] |
parentEvent? | Event |
Returns
Promise
<string
>