Class: ResponseSynthesizer
A ResponseSynthesizer is used to generate a response from a query and a list of nodes.
Hierarchy
-
↳
ResponseSynthesizer
Implements
Constructors
constructor
• new ResponseSynthesizer(«destructured»?
): ResponseSynthesizer
Parameters
Name | Type | Default value |
---|---|---|
«destructured» | Object | {} |
› metadataMode? | MetadataMode | MetadataMode.NONE |
› responseBuilder? | ResponseBuilder | undefined |
› serviceContext? | ServiceContext | undefined |
Returns
Overrides
Defined in
packages/core/src/synthesizers/ResponseSynthesizer.ts:25
Properties
metadataMode
• metadataMode: MetadataMode
Defined in
packages/core/src/synthesizers/ResponseSynthesizer.ts:23
responseBuilder
• responseBuilder: ResponseBuilder
Defined in
packages/core/src/synthesizers/ResponseSynthesizer.ts:22
Methods
_getPromptModules
▸ _getPromptModules(): Object
Returns
Object
Overrides
Defined in
packages/core/src/synthesizers/ResponseSynthesizer.ts:41
_getPrompts
▸ _getPrompts(): Object
Returns
Object
Overrides
Defined in
packages/core/src/synthesizers/ResponseSynthesizer.ts:45