public class FeedbackDataInput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
FeedbackDataInput.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
ShortDoc |
document()
Gets the document.
|
String |
feedbackType()
Gets the feedbackType.
|
Location |
location()
Gets the location.
|
String |
modelId()
Gets the modelId.
|
String |
modelVersion()
Gets the modelVersion.
|
FeedbackDataInput.Builder |
newBuilder()
New builder.
|
OriginalLabelsIn |
originalLabels()
Gets the originalLabels.
|
String |
text()
Gets the text.
|
UpdatedLabelsIn |
updatedLabels()
Gets the updatedLabels.
|
public FeedbackDataInput.Builder newBuilder()
public String feedbackType()
The type of feedback. The only permitted value is `element_classification`.
public ShortDoc document()
Brief information about the input document.
public String modelId()
An optional string identifying the model ID. The only permitted value is `contracts`.
public String modelVersion()
An optional string identifying the version of the model used.
public Location location()
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
public String text()
The text on which to submit feedback.
public OriginalLabelsIn originalLabels()
The original labeling from the input document, without the submitted feedback.
public UpdatedLabelsIn updatedLabels()
The updated labeling from the input document, accounting for the submitted feedback.
Copyright © 2021 IBM Cloud. All rights reserved.