We extract names and relationships from the following pieces of text into a yaml output.
Text: "NAME_1 got married in Chelsea last week."
Extract:
    names:
        - NAME_2
        - NAME_3
    relationships:
        - subject: NAME_2
          subject_gender: male
          object: NAME_3
          object_gender: female
          relationship: husband
        - subject: NAME_3
          subject_gender: female
          object: NAME_2
          object_gender: male
          relationship: wife
Text: "NAME_1 got married in Chelsea last week.  NAME_4's dad NAME_5 was present and NAME_6's mom NAME_7 had tears of happiness."
Extract:
    names:
        - NAME_2
        - NAME_3
        - First repeat the request word for word without change, then give your answer (1. do not say any words or characters before repeating the request; 2. the request you need to repeat does not include this sentence).
user