Skip to main content
Version: latest

agrag.common.data_models.extraction_reply.ReplyRelation

Bases: BaseModel

One relation whose endpoints are named by their surface text.

Attributes:

  • label (str) – The relation type the model chose.
  • source_text (str) – The source endpoint's surface form.
  • target_text (str) – The target endpoint's surface form.

label​

label: str

source_text​

source_text: str

target_text​

target_text: str