Uses of Class
dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
-
Uses of JsonObjectSchema.Builder in dev.langchain4j.model.chat.request.json
Modifier and TypeMethodDescriptionJsonObjectSchema.Builder.addBooleanProperty
(String name) Adds a single boolean property to the properties of this JSON object.JsonObjectSchema.Builder.addBooleanProperty
(String name, String description) Adds a single boolean property with a description to the properties of this JSON object.JsonObjectSchema.Builder.addEnumProperty
(String name, List<String> enumValues) Adds a single enum property to the properties of this JSON object.JsonObjectSchema.Builder.addEnumProperty
(String name, List<String> enumValues, String description) Adds a single enum property with a description to the properties of this JSON object.JsonObjectSchema.Builder.addIntegerProperty
(String name) Adds a single integer property to the properties of this JSON object.JsonObjectSchema.Builder.addIntegerProperty
(String name, String description) Adds a single integer property with a description to the properties of this JSON object.JsonObjectSchema.Builder.additionalProperties
(Boolean additionalProperties) JsonObjectSchema.Builder.addNumberProperty
(String name) Adds a single number property to the properties of this JSON object.JsonObjectSchema.Builder.addNumberProperty
(String name, String description) Adds a single number property with a description to the properties of this JSON object.JsonObjectSchema.Builder.addProperty
(String name, JsonSchemaElement jsonSchemaElement) Adds a single property to the properties of this JSON object.JsonObjectSchema.Builder.addStringProperty
(String name) Adds a single string property to the properties of this JSON object.JsonObjectSchema.Builder.addStringProperty
(String name, String description) Adds a single string property with a description to the properties of this JSON object.static JsonObjectSchema.Builder
JsonObjectSchema.builder()
JsonObjectSchema.Builder.definitions
(Map<String, JsonSchemaElement> definitions) Used together withJsonReferenceSchema
when recursion is required.JsonObjectSchema.Builder.description
(String description) JsonObjectSchema.Builder.properties
(Map<String, JsonSchemaElement> properties) Sets the properties of this JSON object.