prompt

abstract fun prompt(prompt: Prompt): AIAgentBuilderAPI(source)

Sets the prompt to be used by the builder.

Return

The current instance of the builder.

Parameters

prompt

The Prompt instance to set.