Interface LangChain4jChatEndpointBuilderFactory.LangChain4jChatEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
LangChain4jChatEndpointBuilderFactory.LangChain4jChatEndpointBuilder
- Enclosing interface:
LangChain4jChatEndpointBuilderFactory
public static interface LangChain4jChatEndpointBuilderFactory.LangChain4jChatEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the LangChain4j Chat component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()chatOperation(String chatOperation) Operation in case of Endpoint of type CHAT.chatOperation(org.apache.camel.component.langchain4j.chat.LangChain4jChatOperations chatOperation) Operation in case of Endpoint of type CHAT.description(String description) Tool description.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.=.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
chatOperation
default LangChain4jChatEndpointBuilderFactory.LangChain4jChatEndpointConsumerBuilder chatOperation(org.apache.camel.component.langchain4j.chat.LangChain4jChatOperations chatOperation) Operation in case of Endpoint of type CHAT. The value is one of the values of org.apache.camel.component.langchain4j.chat.LangChain4jChatOperations. The option is a:org.apache.camel.component.langchain4j.chat.LangChain4jChatOperationstype. Required: true Default: CHAT_SINGLE_MESSAGE Group: common- Parameters:
chatOperation- the value to set- Returns:
- the dsl builder
-
chatOperation
default LangChain4jChatEndpointBuilderFactory.LangChain4jChatEndpointConsumerBuilder chatOperation(String chatOperation) Operation in case of Endpoint of type CHAT. The value is one of the values of org.apache.camel.component.langchain4j.chat.LangChain4jChatOperations. The option will be converted to aorg.apache.camel.component.langchain4j.chat.LangChain4jChatOperationstype. Required: true Default: CHAT_SINGLE_MESSAGE Group: common- Parameters:
chatOperation- the value to set- Returns:
- the dsl builder
-
description
default LangChain4jChatEndpointBuilderFactory.LangChain4jChatEndpointConsumerBuilder description(String description) Tool description. The option is a:java.lang.Stringtype. Group: consumer- Parameters:
description- the value to set- Returns:
- the dsl builder
-
parameters
default LangChain4jChatEndpointBuilderFactory.LangChain4jChatEndpointConsumerBuilder parameters(String key, Object value) List of Tool parameters in the form of 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 LangChain4jChatEndpointBuilderFactory.LangChain4jChatEndpointConsumerBuilder parameters(Map values) List of Tool parameters in the form of 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
-