NEW Fine-Tuning OpenAI Models: A Guide 🚀

Relation

The Relation tag represents a single relation label. Use with the Relations tag to specify the value of a label to apply to a relation between regions.

Parameters

Param Type Description
value string Value of the relation
[background] string Background color of the active label in hexadecimal

Example

Basic labeling configuration to apply the label “similar” to a relation identified between two labeled regions of text

<View>
  <Relations>
    <Relation value="similar" />
  </Relations>

  <Text name="txt-1" value="$text" />
  <Labels name="lbl-1" toName="txt-1">
    <Label value="Relevant" />
    <Label value="Not Relevant" />
  </Labels>
</View>

In this article

  1. Parameters
  2. Example
Unlock more with Enterprise Get a Demo