Class WatsonxAiEndpointBuilderFactory.WatsonxAiHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.WatsonxAiEndpointBuilderFactory.WatsonxAiHeaderNameBuilder
- Enclosing interface:
WatsonxAiEndpointBuilderFactory
The builder of headers' name for the IBM watsonx.ai component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe full assistant message from chat response.The COS bucket name for file operations.The classification request ID.The classification result (document type).The classification status.Whether the delete operation was successful.The deployed asset type.The deployment ID to use.The deployment name.The deployment status state.Whether harmful content was detected.Count of detections found.Detection results grouped by type.List of detectors to use.Whether the document was classified.The embedding vectors result.Error code when classification or extraction fails.Error message when classification or extraction fails.The extracted text content.The extraction request ID.The extraction status.The file to upload.The file name when using InputStream input.The file path for extraction or classification (for files already in COS).The forecast data.Number of input data points.The input schema for time series forecast.Number of output data points.The forecast results.Filter for foundation models or tasks.List of foundation models.List of foundation model tasks.Include tech preview models.The generated text output.Whether the assistant response contains tool calls.The input text/prompt for generation.The list of inputs for batch operations.Input token count.Maximum new tokens to generate.The chat messages.The model ID to use.The operation to perform.Output token count.Repetition penalty.The query for reranking.Number of top results to return for reranking.The space ID for deployment operations.Stop reason for generation.Consumer for streaming text.The system message for chat (used to build messages if MESSAGES header is not set).Temperature for randomness (0.0 to 2.0).The token count.The token IDs.List of tool calls requested by the assistant.Tool choice option (auto, required, none).The tool configuration.The tool name to run.Tool registry for chat with tool calling capabilities.The tool request object.The tools available for function calling.Top K (top-k sampling).Top P (nucleus sampling).Whether the upload operation was successful.The user message for chat (used to build messages if MESSAGES header is not set, alternative to body).List of available utility tools.
-
Constructor Details
-
WatsonxAiHeaderNameBuilder
public WatsonxAiHeaderNameBuilder()
-
-
Method Details
-
iBMWatsonxAiOperation
The operation to perform. The option is a:WatsonxAiOperationstype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiOperation.
-
iBMWatsonxAiInput
The input text/prompt for generation. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiInput.
-
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
The generated text output. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiGeneratedText.
-
iBMWatsonxAiModelId
The model ID to use. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiModelId.
-
iBMWatsonxAiDeploymentId
The deployment ID to use. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDeploymentId.
-
iBMWatsonxAiSpaceId
The space ID for deployment operations. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiSpaceId.
-
iBMWatsonxAiDeploymentName
The deployment name. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDeploymentName.
-
iBMWatsonxAiDeploymentAssetType
The deployed asset type. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDeploymentAssetType.
-
iBMWatsonxAiDeploymentStatus
The deployment status state. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDeploymentStatus.
-
iBMWatsonxAiTemperature
Temperature for randomness (0.0 to 2.0). The option is a:Doubletype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiTemperature.
-
iBMWatsonxAiMaxNewTokens
Maximum new tokens to generate. The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiMaxNewTokens.
-
iBMWatsonxAiTopP
Top P (nucleus sampling). The option is a:Doubletype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiTopP.
-
iBMWatsonxAiTopK
Top K (top-k sampling). The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiTopK.
-
iBMWatsonxAiRepetitionPenalty
Repetition penalty. The option is a:Doubletype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiRepetitionPenalty.
-
iBMWatsonxAiMessages
The chat messages. The option is a:java.util.Listtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiMessages.
-
iBMWatsonxAiSystemMessage
The system message for chat (used to build messages if MESSAGES header is not set). The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiSystemMessage.
-
iBMWatsonxAiUserMessage
The user message for chat (used to build messages if MESSAGES header is not set, alternative to body). The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiUserMessage.
-
iBMWatsonxAiTools
The tools available for function calling. The option is a:java.util.Listtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiTools.
-
iBMWatsonxAiToolChoice
Tool choice option (auto, required, none). The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiToolChoice.
-
iBMWatsonxAiEmbeddings
The embedding vectors result. The option is a:java.util.Listtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiEmbeddings.
-
iBMWatsonxAiRerankQuery
The query for reranking. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiRerankQuery.
-
iBMWatsonxAiRerankTopN
Number of top results to return for reranking. The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiRerankTopN.
-
iBMWatsonxAiTokenCount
The token count. The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiTokenCount.
-
iBMWatsonxAiTokens
The token IDs. The option is a:java.util.List<Integer>type. Group: producer- Returns:
- the name of the header
IBMWatsonxAiTokens.
-
iBMWatsonxAiFile
The file to upload. The option is a:java.io.Filetype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiFile.
-
iBMWatsonxAiFileName
The file name when using InputStream input. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiFileName.
-
iBMWatsonxAiFilePath
The file path for extraction or classification (for files already in COS). The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiFilePath.
-
iBMWatsonxAiExtractionId
The extraction request ID. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiExtractionId.
-
iBMWatsonxAiExtractionStatus
The extraction status. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiExtractionStatus.
-
iBMWatsonxAiExtractedText
The extracted text content. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiExtractedText.
-
iBMWatsonxAiBucketName
The COS bucket name for file operations. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiBucketName.
-
iBMWatsonxAiUploadSuccess
Whether the upload operation was successful. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiUploadSuccess.
-
iBMWatsonxAiDeleteSuccess
Whether the delete operation was successful. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDeleteSuccess.
-
iBMWatsonxAiClassificationId
The classification request ID. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiClassificationId.
-
iBMWatsonxAiClassificationStatus
The classification status. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiClassificationStatus.
-
iBMWatsonxAiClassificationResult
The classification result (document type). The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiClassificationResult.
-
iBMWatsonxAiDocumentClassified
Whether the document was classified. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDocumentClassified.
-
iBMWatsonxAiErrorMessage
Error message when classification or extraction fails. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiErrorMessage.
-
iBMWatsonxAiErrorCode
Error code when classification or extraction fails. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiErrorCode.
-
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
Whether harmful content was detected. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDetected.
-
iBMWatsonxAiDetectionResults
Detection results grouped by type. The option is a:java.util.Maptype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDetectionResults.
-
iBMWatsonxAiDetectionCount
Count of detections found. The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiDetectionCount.
-
iBMWatsonxAiStreamConsumer
Consumer for streaming text. The option is a:java.util.function.Consumertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiStreamConsumer.
-
iBMWatsonxAiInputTokenCount
Input token count. The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiInputTokenCount.
-
iBMWatsonxAiOutputTokenCount
Output token count. The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiOutputTokenCount.
-
iBMWatsonxAiStopReason
Stop reason for generation. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiStopReason.
-
iBMWatsonxAiForecastInputSchema
The input schema for time series forecast. The option is a:com.ibm.watsonx.ai.timeseries.InputSchematype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiForecastInputSchema.
-
iBMWatsonxAiForecastData
The forecast data. The option is a:com.ibm.watsonx.ai.timeseries.ForecastDatatype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiForecastData.
-
iBMWatsonxAiForecastResults
The forecast results. The option is a:java.util.Listtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiForecastResults.
-
iBMWatsonxAiForecastInputDataPoints
Number of input data points. The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiForecastInputDataPoints.
-
iBMWatsonxAiForecastOutputDataPoints
Number of output data points. The option is a:Integertype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiForecastOutputDataPoints.
-
iBMWatsonxAiFoundationModels
List of foundation models. The option is a:java.util.Listtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiFoundationModels.
-
iBMWatsonxAiFoundationModelTasks
List of foundation model tasks. The option is a:java.util.Listtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiFoundationModelTasks.
-
iBMWatsonxAiFoundationModelFilter
Filter for foundation models or tasks. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiFoundationModelFilter.
-
iBMWatsonxAiFoundationModelTechPreview
Include tech preview models. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiFoundationModelTechPreview.
-
iBMWatsonxAiToolName
The tool name to run. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiToolName.
-
iBMWatsonxAiToolRequest
The tool request object. The option is a:com.ibm.watsonx.ai.tool.ToolRequesttype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiToolRequest.
-
iBMWatsonxAiToolConfig
The tool configuration. The option is a:java.util.Maptype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiToolConfig.
-
iBMWatsonxAiUtilityTools
List of available utility tools. The option is a:java.util.Listtype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiUtilityTools.
-
iBMWatsonxAiToolRegistry
Tool registry for chat with tool calling capabilities. The option is a:com.ibm.watsonx.ai.chat.ToolRegistrytype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiToolRegistry.
-
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
Whether the assistant response contains tool calls. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiHasToolCalls.
-
iBMWatsonxAiAssistantMessage
The full assistant message from chat response. The option is a:com.ibm.watsonx.ai.chat.model.AssistantMessagetype. Group: producer- Returns:
- the name of the header
IBMWatsonxAiAssistantMessage.
-