Structure
abstract class Structure<TStruct, TSchema : LLMParams.Schema>(val id: String, val schema: TSchema, val examples: List<TStruct>) : StructureDefinition(source)
Represents a generic structure for handling data with a specific schema.
This abstract class provides a base for defining structured data entities that are identified by a unique id, involve a list of examples of a specific type TStruct, and adhere to a given schema.
Parameters
TStruct
The type of the structured data that this class handles.
Inheritors
Constructors
Functions
Link copied to clipboard
Defines the structure of textual content using the provided TextContentBuilder.