determineResponse
Stentor API Reference / stentor-response/src / determineResponse
Function: determineResponse()
determineResponse(
responses,request,context,additionalContext?,macros?):Response
Defined in: packages/stentor-response/src/determineResponse.ts:11
Determines which response is best based on the provided list of possible responses.
Parametersβ
responsesβ
Response[]
requestβ
contextβ
additionalContext?β
Record\<string, unknown>
macros?β
MacroMap