updatePrompt

Updates the current prompt by applying modifications defined in the provided block. The modifications are applied using a PromptBuilder instance, allowing for customization of the prompt's content, structure, and associated messages.

Parameters

body

A lambda with a receiver of type PromptBuilder that defines the modifications to be applied to the current prompt.