Package-level declarations
Types
Represents a metadata definition for annotated descriptions of a class and its fields. This interface facilitates managing descriptions for classes and their corresponding fields.
Represents a generic structure for handling data with a specific schema.
Represents the definition of structured data, enabling content construction and customization.
An object that provides utilities for formatting structured output prompts.
Represents a container for structured data parsed from raw text.
A parser for processing structured data that utilizes language models (LLMs) and attempts to correct any errors in the provided content to produce valid structured outputs.
Functions
Executes a prompt and ensures the response is properly structured by applying automatic output coercion.
Executes a given prompt and parses the resulting text, expecting structured data in the response message.
Adds a structured representation of the given value to the text content using the specified language.
Adds a structured JSON representation of the given value to the TextContentBuilder.