by boywitharupee · 2y ago · 0 comments
Looking at an example prompt from GraphRAG will make things clear https://github.com/microsoft/graphrag/blob/main/graphrag/pro...
especially these lines:
Return output in English as a single list of all the entities and relationships identified in steps 1 and 2.
Format each relationship as a JSON entry with the following format:
{{"source": <source_entity>, "target": <target_entity>, "relationship": <relationship_description>, "relationship_strength": <relationship_strength>}}