public class GenerativeAITask
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Classes which extend this class: - GenerativeAITaskContentGroundedAnswering - GenerativeAITaskGeneralPurposeAnswering
Modifier and Type | Method and Description |
---|---|
GenerativeAITaskConfidenceScores |
getConfidenceScores()
Gets the confidenceScores.
|
String |
getInferredQuery()
Gets the inferredQuery.
|
String |
getOriginalResponse()
Gets the originalResponse.
|
String |
getTask()
Gets the task.
|
Boolean |
isIsHapDetected()
Gets the isHapDetected.
|
Boolean |
isIsIdkResponse()
Gets the isIdkResponse.
|
public String getTask()
The type of generative ai task.
public Boolean isIsIdkResponse()
Whether response was an idk response.
public Boolean isIsHapDetected()
Whether response was a hap response.
public GenerativeAITaskConfidenceScores getConfidenceScores()
The confidence scores for determining whether to show the generated response or an “I don't know” response.
public String getOriginalResponse()
The original response returned by the generative ai.
public String getInferredQuery()
Generated from the input text after auto-correction. If this field is not present, the input text was used as the query to the generative ai.
Copyright © 2025 IBM Cloud. All rights reserved.