public class ResponseGenericConfidenceScores
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
Double |
getExtractiveness()
Gets the extractiveness.
|
Double |
getPostGen()
Gets the postGen.
|
Double |
getPreGen()
Gets the preGen.
|
Double |
getThreshold()
Gets the threshold.
|
public Double getThreshold()
The confidence score threshold. If either the pre_gen or post_gen score is below this threshold, an “I don't know” response will be shown to replace the generated text. It can be configured either in the user interface or through the Update skill API. For more information, see the [watsonx Assistant documentation]( https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-conversational-search#behavioral-tuning-conversational-search).
public Double getPreGen()
The confidence score based on user query and search results.
public Double getPostGen()
The confidence score based on user query, search results, and the generated response.
public Double getExtractiveness()
It indicates how extractive the generated response is from the search results.
Copyright © 2025 IBM Cloud. All rights reserved.