Skip to content

Class: PromptBuilder

Constructors

Constructor

new PromptBuilder(host): PromptBuilder;

Parameters

Parameter Type
host ManifestInstance

Returns

PromptBuilder

Methods

build()

build(opts?): Promise<string>;

Build the final prompt string for the given (or default) agent. Equivalent to mi.buildPrompt(opts).

Parameters

Parameter Type
opts? BuildPromptOpts

Returns

Promise\<string>