Uses of Interface
dev.langchain4j.model.chat.request.json.JsonSchemaElement
Packages that use JsonSchemaElement
Package
Description
-
Uses of JsonSchemaElement in dev.langchain4j.internal
Fields in dev.langchain4j.internal declared as JsonSchemaElementMethods in dev.langchain4j.internal that return JsonSchemaElementModifier and TypeMethodDescriptionstatic JsonSchemaElement
JsonSchemaElementUtils.jsonObjectOrReferenceSchemaFrom
(Class<?> type, String description, boolean areSubFieldsRequiredByDefault, Map<Class<?>, JsonSchemaElementUtils.VisitedClassMetadata> visited, boolean setDefinitions) static JsonSchemaElement
JsonSchemaElementUtils.jsonSchemaElementFrom
(Class<?> clazz) static JsonSchemaElement
JsonSchemaElementUtils.jsonSchemaElementFrom
(Class<?> clazz, Type type, String fieldDescription, boolean areSubFieldsRequiredByDefault, Map<Class<?>, JsonSchemaElementUtils.VisitedClassMetadata> visited) Methods in dev.langchain4j.internal with parameters of type JsonSchemaElementModifier and TypeMethodDescriptionJsonSchemaElementUtils.toMap
(JsonSchemaElement jsonSchemaElement) JsonSchemaElementUtils.toMap
(JsonSchemaElement jsonSchemaElement, boolean strict) JsonSchemaElementUtils.toMap
(JsonSchemaElement jsonSchemaElement, boolean strict, boolean required) Method parameters in dev.langchain4j.internal with type arguments of type JsonSchemaElementModifier and TypeMethodDescriptionJsonSchemaElementUtils.toMap
(Map<String, JsonSchemaElement> properties) JsonSchemaElementUtils.toMap
(Map<String, JsonSchemaElement> properties, boolean strict) Constructors in dev.langchain4j.internal with parameters of type JsonSchemaElementModifierConstructorDescriptionVisitedClassMetadata
(JsonSchemaElement jsonSchemaElement, String reference, boolean recursionDetected) -
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
class
Can referenceJsonObjectSchema
when recursion is required.class
Methods in dev.langchain4j.model.chat.request.json that return JsonSchemaElementMethods 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) 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. -
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)