Object Creator
Interface to create objects of the given type from a prompt or messages. Allows setting strongly typed examples.
Functions
Create an object of the desired typed from messages
Create an object of the desired type using the given prompt and LLM options from context (process context or implementing class). Prompts are typically created within the scope of an
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
Excludes the given properties when creating an object.
Excludes the given properties when creating an object.
Includes the given properties when creating an object.
Includes the given properties when creating an object.
Adds a filter that determines which properties are to be included when creating an object.