build
Builds a Prompt object using the specified identifier, parameters, and initialization logic.
Return
The constructed Prompt object.
Parameters
The unique identifier for the Prompt being built.
The configuration parameters for the Prompt with a default value of LLMParams().
The clock to use for generating timestamps, defaults to KoogClock.Companion.System.
The initialization logic applied to the PromptBuilder.
Constructs a new Prompt instance by applying the provided initialization logic to a PromptBuilder.
Return
A new Prompt instance configured with the specified initialization logic.
Parameters
The base Prompt used for initializing the PromptBuilder.
The clock to use for generating timestamps, defaults to KoogClock.Companion.System.
The initialization block applied to configure the PromptBuilder.