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()
public String getInferredQuery()
Copyright © 2025 IBM Cloud. All rights reserved.