Class: PromptMixin
Hierarchy
-
PromptMixin
↳
MultiModalResponseSynthesizer
↳
Refine
Constructors
constructor
• new PromptMixin(): PromptMixin
Returns
Methods
_getPromptModules
▸ _getPromptModules(): Record
<string
, any
>
Returns
Record
<string
, any
>
Defined in
packages/core/src/prompts/Mixin.ts:83
_getPrompts
▸ _getPrompts(): PromptsDict
Returns
PromptsDict
Defined in
packages/core/src/prompts/Mixin.ts:79
_updatePrompts
▸ _updatePrompts(promptsDict
): void
Parameters
Name | Type |
---|---|
promptsDict | PromptsDict |
Returns
void
Defined in
packages/core/src/prompts/Mixin.ts:87
getPrompts
▸ getPrompts(): PromptsDict
Returns all prompts from the mixin and its modules