Class JsonSchemaElementHelper
java.lang.Object
dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JsonSchemaElement
jsonObjectOrReferenceSchemaFrom
(Class<?> type, String description, Map<Class<?>, JsonSchemaElementHelper.VisitedClassMetadata> visited, boolean setDefinitions) static JsonSchemaElement
jsonSchemaElementFrom
(Class<?> clazz) static JsonSchemaElement
jsonSchemaElementFrom
(Class<?> clazz, Type type, String fieldDescription, Map<Class<?>, JsonSchemaElementHelper.VisitedClassMetadata> visited) toMap
(JsonSchemaElement jsonSchemaElement) toMap
(Map<String, JsonSchemaElement> properties)
-
Constructor Details
-
JsonSchemaElementHelper
public JsonSchemaElementHelper()
-
-
Method Details
-
jsonSchemaElementFrom
-
jsonSchemaElementFrom
public static JsonSchemaElement jsonSchemaElementFrom(Class<?> clazz, Type type, String fieldDescription, Map<Class<?>, JsonSchemaElementHelper.VisitedClassMetadata> visited) -
jsonObjectOrReferenceSchemaFrom
public static JsonSchemaElement jsonObjectOrReferenceSchemaFrom(Class<?> type, String description, Map<Class<?>, JsonSchemaElementHelper.VisitedClassMetadata> visited, boolean setDefinitions) -
toMap
-
toMap
-