Class WatsonxAiEndpointBuilderFactory.WatsonxAiHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.WatsonxAiEndpointBuilderFactory.WatsonxAiHeaderNameBuilder
Enclosing interface:
WatsonxAiEndpointBuilderFactory

public static class WatsonxAiEndpointBuilderFactory.WatsonxAiHeaderNameBuilder extends Object
The builder of headers' name for the IBM watsonx.ai component.
  • Constructor Details

    • WatsonxAiHeaderNameBuilder

      public WatsonxAiHeaderNameBuilder()
  • Method Details

    • iBMWatsonxAiOperation

      public String iBMWatsonxAiOperation()
      The operation to perform. The option is a: WatsonxAiOperations type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiOperation.
    • iBMWatsonxAiInput

      public String iBMWatsonxAiInput()
      The input text/prompt for generation. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiInput.
    • iBMWatsonxAiInputs

      public String iBMWatsonxAiInputs()
      The list of inputs for batch operations. The option is a: java.util.List<String> type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiInputs.
    • iBMWatsonxAiGeneratedText

      public String iBMWatsonxAiGeneratedText()
      The generated text output. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiGeneratedText.
    • iBMWatsonxAiModelId

      public String iBMWatsonxAiModelId()
      The model ID to use. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiModelId.
    • iBMWatsonxAiDeploymentId

      public String iBMWatsonxAiDeploymentId()
      The deployment ID to use. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDeploymentId.
    • iBMWatsonxAiSpaceId

      public String iBMWatsonxAiSpaceId()
      The space ID for deployment operations. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiSpaceId.
    • iBMWatsonxAiDeploymentName

      public String iBMWatsonxAiDeploymentName()
      The deployment name. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDeploymentName.
    • iBMWatsonxAiDeploymentAssetType

      public String iBMWatsonxAiDeploymentAssetType()
      The deployed asset type. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDeploymentAssetType.
    • iBMWatsonxAiDeploymentStatus

      public String iBMWatsonxAiDeploymentStatus()
      The deployment status state. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDeploymentStatus.
    • iBMWatsonxAiTemperature

      public String iBMWatsonxAiTemperature()
      Temperature for randomness (0.0 to 2.0). The option is a: Double type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiTemperature.
    • iBMWatsonxAiMaxNewTokens

      public String iBMWatsonxAiMaxNewTokens()
      Maximum new tokens to generate. The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiMaxNewTokens.
    • iBMWatsonxAiTopP

      public String iBMWatsonxAiTopP()
      Top P (nucleus sampling). The option is a: Double type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiTopP.
    • iBMWatsonxAiTopK

      public String iBMWatsonxAiTopK()
      Top K (top-k sampling). The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiTopK.
    • iBMWatsonxAiRepetitionPenalty

      public String iBMWatsonxAiRepetitionPenalty()
      Repetition penalty. The option is a: Double type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiRepetitionPenalty.
    • iBMWatsonxAiMessages

      public String iBMWatsonxAiMessages()
      The chat messages. The option is a: java.util.List type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiMessages.
    • iBMWatsonxAiSystemMessage

      public String iBMWatsonxAiSystemMessage()
      The system message for chat (used to build messages if MESSAGES header is not set). The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiSystemMessage.
    • iBMWatsonxAiUserMessage

      public String iBMWatsonxAiUserMessage()
      The user message for chat (used to build messages if MESSAGES header is not set, alternative to body). The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiUserMessage.
    • iBMWatsonxAiTools

      public String iBMWatsonxAiTools()
      The tools available for function calling. The option is a: java.util.List type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiTools.
    • iBMWatsonxAiToolChoice

      public String iBMWatsonxAiToolChoice()
      Tool choice option (auto, required, none). The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiToolChoice.
    • iBMWatsonxAiEmbeddings

      public String iBMWatsonxAiEmbeddings()
      The embedding vectors result. The option is a: java.util.List type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiEmbeddings.
    • iBMWatsonxAiRerankQuery

      public String iBMWatsonxAiRerankQuery()
      The query for reranking. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiRerankQuery.
    • iBMWatsonxAiRerankTopN

      public String iBMWatsonxAiRerankTopN()
      Number of top results to return for reranking. The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiRerankTopN.
    • iBMWatsonxAiTokenCount

      public String iBMWatsonxAiTokenCount()
      The token count. The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiTokenCount.
    • iBMWatsonxAiTokens

      public String iBMWatsonxAiTokens()
      The token IDs. The option is a: java.util.List<Integer> type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiTokens.
    • iBMWatsonxAiFile

      public String iBMWatsonxAiFile()
      The file to upload. The option is a: java.io.File type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiFile.
    • iBMWatsonxAiFileName

      public String iBMWatsonxAiFileName()
      The file name when using InputStream input. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiFileName.
    • iBMWatsonxAiFilePath

      public String iBMWatsonxAiFilePath()
      The file path for extraction or classification (for files already in COS). The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiFilePath.
    • iBMWatsonxAiExtractionId

      public String iBMWatsonxAiExtractionId()
      The extraction request ID. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiExtractionId.
    • iBMWatsonxAiExtractionStatus

      public String iBMWatsonxAiExtractionStatus()
      The extraction status. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiExtractionStatus.
    • iBMWatsonxAiExtractedText

      public String iBMWatsonxAiExtractedText()
      The extracted text content. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiExtractedText.
    • iBMWatsonxAiBucketName

      public String iBMWatsonxAiBucketName()
      The COS bucket name for file operations. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiBucketName.
    • iBMWatsonxAiUploadSuccess

      public String iBMWatsonxAiUploadSuccess()
      Whether the upload operation was successful. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiUploadSuccess.
    • iBMWatsonxAiDeleteSuccess

      public String iBMWatsonxAiDeleteSuccess()
      Whether the delete operation was successful. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDeleteSuccess.
    • iBMWatsonxAiClassificationId

      public String iBMWatsonxAiClassificationId()
      The classification request ID. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiClassificationId.
    • iBMWatsonxAiClassificationStatus

      public String iBMWatsonxAiClassificationStatus()
      The classification status. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiClassificationStatus.
    • iBMWatsonxAiClassificationResult

      public String iBMWatsonxAiClassificationResult()
      The classification result (document type). The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiClassificationResult.
    • iBMWatsonxAiDocumentClassified

      public String iBMWatsonxAiDocumentClassified()
      Whether the document was classified. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDocumentClassified.
    • iBMWatsonxAiErrorMessage

      public String iBMWatsonxAiErrorMessage()
      Error message when classification or extraction fails. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiErrorMessage.
    • iBMWatsonxAiErrorCode

      public String iBMWatsonxAiErrorCode()
      Error code when classification or extraction fails. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiErrorCode.
    • iBMWatsonxAiDetectors

      public String iBMWatsonxAiDetectors()
      List of detectors to use. The option is a: java.util.List<com.ibm.watsonx.ai.detection.detector.BaseDetector> type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDetectors.
    • iBMWatsonxAiDetected

      public String iBMWatsonxAiDetected()
      Whether harmful content was detected. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDetected.
    • iBMWatsonxAiDetectionResults

      public String iBMWatsonxAiDetectionResults()
      Detection results grouped by type. The option is a: java.util.Map type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDetectionResults.
    • iBMWatsonxAiDetectionCount

      public String iBMWatsonxAiDetectionCount()
      Count of detections found. The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiDetectionCount.
    • iBMWatsonxAiStreamConsumer

      public String iBMWatsonxAiStreamConsumer()
      Consumer for streaming text. The option is a: java.util.function.Consumer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiStreamConsumer.
    • iBMWatsonxAiInputTokenCount

      public String iBMWatsonxAiInputTokenCount()
      Input token count. The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiInputTokenCount.
    • iBMWatsonxAiOutputTokenCount

      public String iBMWatsonxAiOutputTokenCount()
      Output token count. The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiOutputTokenCount.
    • iBMWatsonxAiStopReason

      public String iBMWatsonxAiStopReason()
      Stop reason for generation. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiStopReason.
    • iBMWatsonxAiForecastInputSchema

      public String iBMWatsonxAiForecastInputSchema()
      The input schema for time series forecast. The option is a: com.ibm.watsonx.ai.timeseries.InputSchema type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiForecastInputSchema.
    • iBMWatsonxAiForecastData

      public String iBMWatsonxAiForecastData()
      The forecast data. The option is a: com.ibm.watsonx.ai.timeseries.ForecastData type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiForecastData.
    • iBMWatsonxAiForecastResults

      public String iBMWatsonxAiForecastResults()
      The forecast results. The option is a: java.util.List type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiForecastResults.
    • iBMWatsonxAiForecastInputDataPoints

      public String iBMWatsonxAiForecastInputDataPoints()
      Number of input data points. The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiForecastInputDataPoints.
    • iBMWatsonxAiForecastOutputDataPoints

      public String iBMWatsonxAiForecastOutputDataPoints()
      Number of output data points. The option is a: Integer type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiForecastOutputDataPoints.
    • iBMWatsonxAiFoundationModels

      public String iBMWatsonxAiFoundationModels()
      List of foundation models. The option is a: java.util.List type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiFoundationModels.
    • iBMWatsonxAiFoundationModelTasks

      public String iBMWatsonxAiFoundationModelTasks()
      List of foundation model tasks. The option is a: java.util.List type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiFoundationModelTasks.
    • iBMWatsonxAiFoundationModelFilter

      public String iBMWatsonxAiFoundationModelFilter()
      Filter for foundation models or tasks. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiFoundationModelFilter.
    • iBMWatsonxAiFoundationModelTechPreview

      public String iBMWatsonxAiFoundationModelTechPreview()
      Include tech preview models. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiFoundationModelTechPreview.
    • iBMWatsonxAiToolName

      public String iBMWatsonxAiToolName()
      The tool name to run. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiToolName.
    • iBMWatsonxAiToolRequest

      public String iBMWatsonxAiToolRequest()
      The tool request object. The option is a: com.ibm.watsonx.ai.tool.ToolRequest type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiToolRequest.
    • iBMWatsonxAiToolConfig

      public String iBMWatsonxAiToolConfig()
      The tool configuration. The option is a: java.util.Map type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiToolConfig.
    • iBMWatsonxAiUtilityTools

      public String iBMWatsonxAiUtilityTools()
      List of available utility tools. The option is a: java.util.List type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiUtilityTools.
    • iBMWatsonxAiToolRegistry

      public String iBMWatsonxAiToolRegistry()
      Tool registry for chat with tool calling capabilities. The option is a: com.ibm.watsonx.ai.chat.ToolRegistry type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiToolRegistry.
    • iBMWatsonxAiToolCalls

      public String iBMWatsonxAiToolCalls()
      List of tool calls requested by the assistant. The option is a: java.util.List<com.ibm.watsonx.ai.chat.model.ToolCall> type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiToolCalls.
    • iBMWatsonxAiHasToolCalls

      public String iBMWatsonxAiHasToolCalls()
      Whether the assistant response contains tool calls. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiHasToolCalls.
    • iBMWatsonxAiAssistantMessage

      public String iBMWatsonxAiAssistantMessage()
      The full assistant message from chat response. The option is a: com.ibm.watsonx.ai.chat.model.AssistantMessage type. Group: producer
      Returns:
      the name of the header IBMWatsonxAiAssistantMessage.