Uses of Class
dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Packages that use JsonObjectSchema.Builder
-
Uses of JsonObjectSchema.Builder in dev.langchain4j.model.chat.request.json
Methods in dev.langchain4j.model.chat.request.json that return JsonObjectSchema.BuilderModifier 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.addProperties
(Map<String, JsonSchemaElement> properties) Adds all properties in the parameter Map 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) Deprecated, for removal: This API element is subject to removal in a future version.since it has the misleading side effect of deleting all other properties eventually added so far.Constructors in dev.langchain4j.model.chat.request.json with parameters of type JsonObjectSchema.Builder