Prompt
{%- set names = [] -%} {%- set types = [] -%} {%- for ners in vertexSet -%} {%- for ner in ners if ner['name'] not in names -%} {{ names.append(ner['name']) | default("", True) }} {{ types.append(ner['type']) | default("", True) }} {%- endfor -%} {%- endfor -%} Read the following text and answer the question. Text: {% for sent in sents -%} {{ sent | join(" ") }}{{" "}} {%- endfor %} Question: Assign an entity type to the following entities. Entities: {{ names | join(", ")}}{{"."}} The choices are PER (Person), LOC (Location), ORG (Organization), TIME (Time), NUM (Number), and MISC (Miscellaneous).
