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 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.LangChain4jChatOperations type. Required: true Default: CHAT_SINGLE_MESSAGE Group: common
      Parameters:
      chatOperation - the value to set
      Returns:
      the dsl builder
    • 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 a org.apache.camel.component.langchain4j.chat.LangChain4jChatOperations type. Required: true Default: CHAT_SINGLE_MESSAGE Group: common
      Parameters:
      chatOperation - the value to set
      Returns:
      the dsl builder
    • description

      Tool description. The option is a: java.lang.String type. Group: consumer
      Parameters:
      description - the value to set
      Returns:
      the dsl builder
    • parameters

      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 key
      value - the option value
      Returns:
      the dsl builder
    • parameters

      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