| Package | Description |
|---|---|
| dev.langchain4j.agent.tool |
| Modifier and Type | Field and Description |
|---|---|
static JsonSchemaProperty |
JsonSchemaProperty.ARRAY |
static JsonSchemaProperty |
JsonSchemaProperty.BOOLEAN |
static JsonSchemaProperty |
JsonSchemaProperty.INTEGER |
static JsonSchemaProperty |
JsonSchemaProperty.NULL |
static JsonSchemaProperty |
JsonSchemaProperty.NUMBER |
static JsonSchemaProperty |
JsonSchemaProperty.OBJECT |
static JsonSchemaProperty |
JsonSchemaProperty.STRING |
| Modifier and Type | Method and Description |
|---|---|
static JsonSchemaProperty |
JsonSchemaProperty.description(String value) |
static JsonSchemaProperty |
JsonSchemaProperty.enums(Class<?> enumClass) |
static JsonSchemaProperty |
JsonSchemaProperty.enums(Object... enumValues) |
static JsonSchemaProperty |
JsonSchemaProperty.enums(String... enumValues) |
static JsonSchemaProperty |
JsonSchemaProperty.from(String key,
Object value) |
static JsonSchemaProperty |
JsonSchemaProperty.property(String key,
Object value) |
static JsonSchemaProperty |
JsonSchemaProperty.type(String value) |
| Modifier and Type | Method and Description |
|---|---|
ToolSpecification.Builder |
ToolSpecification.Builder.addOptionalParameter(String name,
JsonSchemaProperty... jsonSchemaProperties) |
ToolSpecification.Builder |
ToolSpecification.Builder.addParameter(String name,
JsonSchemaProperty... jsonSchemaProperties) |
| Modifier and Type | Method and Description |
|---|---|
ToolSpecification.Builder |
ToolSpecification.Builder.addOptionalParameter(String name,
Iterable<JsonSchemaProperty> jsonSchemaProperties) |
ToolSpecification.Builder |
ToolSpecification.Builder.addParameter(String name,
Iterable<JsonSchemaProperty> jsonSchemaProperties) |
Copyright © 2023. All rights reserved.