Uses of Interface
dev.langchain4j.model.chat.request.json.JsonSchemaElement
-
Uses of JsonSchemaElement in dev.langchain4j.model.chat.request.json
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
Can referenceJsonObjectSchema
when recursion is required.class
Modifier 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()
Modifier and TypeMethodDescriptionJsonAnyOfSchema.anyOf()
JsonObjectSchema.definitions()
Used together withJsonReferenceSchema
when recursion is required.JsonObjectSchema.properties()
Modifier 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) Modifier and TypeMethodDescriptionJsonAnyOfSchema.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) Sets the properties of this JSON object.JsonSchemaElementHelper.toMap
(Map<String, JsonSchemaElement> properties) ModifierConstructorDescriptionVisitedClassMetadata
(JsonSchemaElement jsonSchemaElement, String reference, boolean recursionDetected) -
Uses of JsonSchemaElement in dev.langchain4j.model.vertexai
Modifier and TypeMethodDescriptionstatic com.google.cloud.vertexai.api.Schema
SchemaHelper.from
(JsonSchemaElement jsonSchemaElement)