FeedbackDataOutput

public struct FeedbackDataOutput : Codable, Equatable

Information returned from the Add Feedback method.

  • A string identifying the user adding the feedback. The only permitted value is element_classification.

    Declaration

    Swift

    public var feedbackType: String?
  • Brief information about the input document.

    Declaration

    Swift

    public var document: ShortDoc?
  • An optional string identifying the model ID. The only permitted value is contracts.

    Declaration

    Swift

    public var modelID: String?
  • An optional string identifying the version of the model used.

    Declaration

    Swift

    public var modelVersion: String?
  • The numeric location of the identified element in the document, represented with two integers labeled begin and end.

    Declaration

    Swift

    public var location: Location?
  • The text to which the feedback applies.

    Declaration

    Swift

    public var text: String?
  • The original labeling from the input document, without the submitted feedback.

    Declaration

    Swift

    public var originalLabels: OriginalLabelsOut?
  • The updated labeling from the input document, accounting for the submitted feedback.

    Declaration

    Swift

    public var updatedLabels: UpdatedLabelsOut?
  • Pagination details, if required by the length of the output.

    Declaration

    Swift

    public var pagination: Pagination?