Graphify / prompts /ner /extract_relations
Game4all's picture
Initial commit
51f2dc1
raw
history blame contribute delete
502 Bytes
<role>You are a useful search assistant. </role>
<task>
Extract all the relations described in the following text for the following list of entities.
Please provide relations for the entities listed under.
</task>
<entities>
Here is the list of entities:
{% for entity in entities -%}
- {{entity}}
{% endfor %}
</entities>
<response_format>
Reply in JSON with the following response schema:
{{response_format}}
</response_format>
<input_text>
Here is the text:
{{input_text}}
</input_text>