Uses of Class
dev.langchain4j.agent.tool.JsonSchemaProperty
Packages that use JsonSchemaProperty
-
Uses of JsonSchemaProperty in dev.langchain4j.agent.tool
Fields in dev.langchain4j.agent.tool declared as JsonSchemaPropertyModifier and TypeFieldDescriptionstatic final JsonSchemaPropertyJsonSchemaProperty.ARRAYA property with key "type" and value "array".static final JsonSchemaPropertyJsonSchemaProperty.BOOLEANA property with key "type" and value "boolean".static final JsonSchemaPropertyJsonSchemaProperty.INTEGERA property with key "type" and value "integer".static final JsonSchemaPropertyJsonSchemaProperty.NULLA property with key "type" and value "null".static final JsonSchemaPropertyJsonSchemaProperty.NUMBERA property with key "type" and value "number".static final JsonSchemaPropertyJsonSchemaProperty.OBJECTA property with key "type" and value "object".static final JsonSchemaPropertyJsonSchemaProperty.STRINGA property with key "type" and value "string".Methods in dev.langchain4j.agent.tool that return JsonSchemaPropertyModifier and TypeMethodDescriptionstatic JsonSchemaPropertyJsonSchemaProperty.description(String value) Construct a property with key "description" and value.static JsonSchemaPropertyConstruct a property with key "enum" and all enum values taken from enumClass.static JsonSchemaPropertyConstruct a property with key "enum" and value enumValues.static JsonSchemaPropertyConstruct a property with key "enum" and value enumValues.static JsonSchemaPropertyConstruct a property with key and value.static JsonSchemaPropertyJsonSchemaProperty.items(JsonSchemaProperty type) Wraps the given type in a property with key "items".static JsonSchemaPropertyConstruct a property with key and value.static JsonSchemaPropertyConstruct a property with key "type" and value.Methods in dev.langchain4j.agent.tool with parameters of type JsonSchemaPropertyModifier and TypeMethodDescriptionToolSpecification.Builder.addOptionalParameter(String name, JsonSchemaProperty... jsonSchemaProperties) Adds an optional parameter to the tool.ToolSpecification.Builder.addParameter(String name, JsonSchemaProperty... jsonSchemaProperties) Adds a parameter to the tool.static JsonSchemaPropertyJsonSchemaProperty.items(JsonSchemaProperty type) Wraps the given type in a property with key "items".Method parameters in dev.langchain4j.agent.tool with type arguments of type JsonSchemaPropertyModifier and TypeMethodDescriptionToolSpecification.Builder.addOptionalParameter(String name, Iterable<JsonSchemaProperty> jsonSchemaProperties) Adds an optional parameter to the tool.ToolSpecification.Builder.addParameter(String name, Iterable<JsonSchemaProperty> jsonSchemaProperties) Adds a parameter to the tool.