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
Name | Type |
---|---|
query | string |
textChunks | string [] |
parentEvent? | Event |
prevResponse? | string |
Returns
Promise
<string
>