Uses of Class
io.github.glaforge.gemini.schema.Schema
Packages that use Schema
-
Uses of Schema in io.github.glaforge.gemini.interactions.model
Methods in io.github.glaforge.gemini.interactions.model with parameters of type SchemaModifier and TypeMethodDescriptionInteractionParams.AgentInteractionParams.Builder.responseFormat(Schema responseFormat) Sets the response format from a schema.InteractionParams.ModelInteractionParams.Builder.responseFormat(Schema schema) Sets the response format using a Schema object. -
Uses of Schema in io.github.glaforge.gemini.schema
Subclasses of Schema in io.github.glaforge.gemini.schemaModifier and TypeClassDescriptionclassSchema for Array types.classSchema for Boolean types.classSchema for Number and Integer types.classSchema for Object types.classSchema for String types.Methods in io.github.glaforge.gemini.schema that return SchemaModifier and TypeMethodDescriptionSet the description for this schema.static SchemaGenerate a Schema from a Java Class.static SchemaParse a JSON schema string back into a Schema object.Schema.nullable()Mark this schema as nullable.Set the title for this schema.Methods in io.github.glaforge.gemini.schema with parameters of type SchemaModifier and TypeMethodDescriptionDefine the schema for additional properties.Add an array property with specified item schema.Define the schema for items in this array.ArraySchema.prefixItems(Schema... schemas) Define the schema for the first N items (prefixItems).Add a property to this object schema.Helper to add a required property in one go.static StringConvert a schema to a JSON string.