Skip to main content

Interface: BaseResponseBuilder

A ResponseBuilder is used in a response synthesizer to generate a response from multiple response chunks.

Implemented by

Methods

getResponse

getResponse(query, textChunks, parentEvent?, prevResponse?): Promise<string>

Get the response from a query and a list of text chunks.

Parameters

NameType
querystring
textChunksstring[]
parentEvent?Event
prevResponse?string

Returns

Promise<string>

Defined in

packages/core/src/synthesizers/builders.ts:36