Class: MultiModalResponseSynthesizer
A BaseSynthesizer is used to generate a response from a query and a list of nodes.
Implements
Constructors
constructor
• new MultiModalResponseSynthesizer(«destructured»?
)
Parameters
Name | Type |
---|---|
«destructured» | Partial <MultiModalResponseSynthesizer > |
Defined in
packages/core/src/synthesizers/MultiModalResponseSynthesizer.ts:18
Properties
metadataMode
• metadataMode: MetadataMode
Defined in
packages/core/src/synthesizers/MultiModalResponseSynthesizer.ts:15
serviceContext
• serviceContext: ServiceContext
Defined in
packages/core/src/synthesizers/MultiModalResponseSynthesizer.ts:14
textQATemplate
• textQATemplate: (__namedParameters
: Object
) => string
Type declaration
▸ («destructured»
): string
Parameters
Name | Type |
---|---|
«destructured» | Object |
Returns
string
Defined in
packages/core/src/synthesizers/MultiModalResponseSynthesizer.ts:16
Methods
synthesize
▸ synthesize(params
): Promise
<AsyncIterable
<Response
>>
Parameters
Name | Type |
---|---|
params | SynthesizeParamsStreaming |
Returns
Promise
<AsyncIterable
<Response
>>
Implementation of
Defined in
packages/core/src/synthesizers/MultiModalResponseSynthesizer.ts:28
▸ synthesize(params
): Promise
<Response
>
Parameters
Name | Type |
---|---|
params | SynthesizeParamsNonStreaming |
Returns
Promise
<Response
>
Implementation of
Defined in
packages/core/src/synthesizers/MultiModalResponseSynthesizer.ts:31