public class ResultPassageAnswer
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
String |
getAnswerText()
Gets the answerText.
|
Double |
getConfidence()
Gets the confidence.
|
Long |
getEndOffset()
Gets the endOffset.
|
Long |
getStartOffset()
Gets the startOffset.
|
public String getAnswerText()
Answer text for the specified query as identified by Discovery.
public Long getStartOffset()
The position of the first character of the extracted answer in the originating field.
public Long getEndOffset()
The position after the last character of the extracted answer in the originating field.
public Double getConfidence()
An estimate of the probability that the answer is relevant.
Copyright © 2024 IBM Cloud. All rights reserved.