public class QueryPassages
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
String |
getDocumentId()
Gets the documentId.
|
Long |
getEndOffset()
Gets the endOffset.
|
String |
getField()
Gets the field.
|
Double |
getPassageScore()
Gets the passageScore.
|
String |
getPassageText()
Gets the passageText.
|
Long |
getStartOffset()
Gets the startOffset.
|
public String getDocumentId()
The unique identifier of the document from which the passage has been extracted.
public Double getPassageScore()
The confidence score of the passages's analysis. A higher score indicates greater confidence.
public String getPassageText()
The content of the extracted passage.
public Long getStartOffset()
The position of the first character of the extracted passage in the originating field.
public Long getEndOffset()
The position of the last character of the extracted passage in the originating field.
public String getField()
The label of the field from which the passage has been extracted.
Copyright © 2024 IBM Cloud. All rights reserved.