Interface LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointBuilder
- Enclosing interface:
LangChain4jToolsEndpointBuilderFactory
public static interface LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the LangChain4j Tools component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()description(String description) Tool description.exposed(boolean exposed) Whether the tool is automatically exposed to the LLM.Whether the tool is automatically exposed to the LLM.Tool name.parameters(String key, Object value) List of Tool parameters in the form of parameter.=.parameters(Map values) List of Tool parameters in the form of parameter.=.The tags for the tools.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
tags
default LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder tags(String tags) The tags for the tools. The option is a:java.lang.Stringtype. Required: true Group: common- Parameters:
tags- the value to set- Returns:
- the dsl builder
-
description
default LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder description(String description) Tool description. The option is a:java.lang.Stringtype. Group: consumer- Parameters:
description- the value to set- Returns:
- the dsl builder
-
exposed
default LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder exposed(boolean exposed) Whether the tool is automatically exposed to the LLM. When false, the tool is added to a searchable list and can be discovered via the tool-search-tool. The option is a:booleantype. Default: true Group: consumer- Parameters:
exposed- the value to set- Returns:
- the dsl builder
-
exposed
default LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder exposed(String exposed) Whether the tool is automatically exposed to the LLM. When false, the tool is added to a searchable list and can be discovered via the tool-search-tool. The option will be converted to abooleantype. Default: true Group: consumer- Parameters:
exposed- the value to set- Returns:
- the dsl builder
-
name
default LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder name(String name) Tool name. The option is a:java.lang.Stringtype. Group: consumer- Parameters:
name- the value to set- Returns:
- the dsl builder
-
parameters
default LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder parameters(String key, Object value) List of Tool parameters in the form of parameter.=. This is a multi-value option with prefix: parameter. The option is a:java.util.Map<java.lang.String, java.lang.String>type. The option is multivalued, and you can use the parameters(String, Object) method to add a value (call the method multiple times to set more values). Group: consumer- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
parameters
default LangChain4jToolsEndpointBuilderFactory.LangChain4jToolsEndpointConsumerBuilder parameters(Map values) List of Tool parameters in the form of parameter.=. This is a multi-value option with prefix: parameter. The option is a:java.util.Map<java.lang.String, java.lang.String>type. The option is multivalued, and you can use the parameters(String, Object) method to add a value (call the method multiple times to set more values). Group: consumer- Parameters:
values- the values- Returns:
- the dsl builder
-