with Example
Add an example of the desired output to the prompt. This will be included in JSON. It is possible to call this method multiple times. This will override PromptRunner.withGenerateExamples
Return
this instance for method chaining
Parameters
description
description of the example
value
the example object
Add an example of the desired output to the prompt. This will be included in JSON. It is possible to call this method multiple times. This will override PromptRunner.withGenerateExamples
Return
this instance for method chaining
Parameters
example
the example to add