Uses of Interface
dev.langchain4j.model.chat.request.json.JsonSchemaElement
Packages that use JsonSchemaElement
-
Uses of JsonSchemaElement in dev.langchain4j.model.chat.request.json
Classes in dev.langchain4j.model.chat.request.json that implement JsonSchemaElementModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
Can referenceJsonObjectSchema
when recursion is required.class
Fields in dev.langchain4j.model.chat.request.json declared as JsonSchemaElementMethods in dev.langchain4j.model.chat.request.json that return JsonSchemaElementModifier and TypeMethodDescriptionJsonArraySchema.items()
static JsonSchemaElement
JsonSchemaElementHelper.jsonObjectOrReferenceSchemaFrom
(Class<?> type, String description, Map<Class<?>, JsonSchemaElementHelper.VisitedClassMetadata> visited, boolean setDefinitions) static JsonSchemaElement
JsonSchemaElementHelper.jsonSchemaElementFrom
(Class<?> clazz) static JsonSchemaElement
JsonSchemaElementHelper.jsonSchemaElementFrom
(Class<?> clazz, Type type, String fieldDescription, Map<Class<?>, JsonSchemaElementHelper.VisitedClassMetadata> visited) JsonSchema.rootElement()
Methods in dev.langchain4j.model.chat.request.json that return types with arguments of type JsonSchemaElementModifier and TypeMethodDescriptionJsonAnyOfSchema.anyOf()
JsonObjectSchema.definitions()
Used together withJsonReferenceSchema
when recursion is required.JsonObjectSchema.properties()
Methods in dev.langchain4j.model.chat.request.json with parameters of type JsonSchemaElementModifier and TypeMethodDescriptionJsonObjectSchema.Builder.addProperty
(String name, JsonSchemaElement jsonSchemaElement) Adds a single property to the properties of this JSON object.JsonAnyOfSchema.Builder.anyOf
(JsonSchemaElement... anyOf) JsonArraySchema.Builder.items
(JsonSchemaElement items) JsonSchema.Builder.rootElement
(JsonSchemaElement rootElement) JsonSchemaElementHelper.toMap
(JsonSchemaElement jsonSchemaElement) JsonSchemaElementHelper.toMap
(JsonSchemaElement jsonSchemaElement, boolean strict) Method parameters in dev.langchain4j.model.chat.request.json with type arguments of type JsonSchemaElementModifier and TypeMethodDescriptionJsonObjectSchema.Builder.addProperties
(Map<String, JsonSchemaElement> properties) Adds all properties in the parameter Map to the properties of this JSON object.JsonAnyOfSchema.Builder.anyOf
(List<JsonSchemaElement> anyOf) JsonObjectSchema.Builder.definitions
(Map<String, JsonSchemaElement> definitions) Used together withJsonReferenceSchema
when recursion is required.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.JsonSchemaElementHelper.toMap
(Map<String, JsonSchemaElement> properties) JsonSchemaElementHelper.toMap
(Map<String, JsonSchemaElement> properties, boolean strict) Constructors in dev.langchain4j.model.chat.request.json with parameters of type JsonSchemaElementModifierConstructorDescriptionVisitedClassMetadata
(JsonSchemaElement jsonSchemaElement, String reference, boolean recursionDetected) -
Uses of JsonSchemaElement in dev.langchain4j.model.vertexai
Methods in dev.langchain4j.model.vertexai with parameters of type JsonSchemaElementModifier and TypeMethodDescriptionstatic com.google.cloud.vertexai.api.Schema
SchemaHelper.from
(JsonSchemaElement jsonSchemaElement)