This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !!Note: Still a work in progress | |
# A prompt for extracting SQL entities for use in Microsoft's graphrag implementation. Builds on the default entity extraction prompt by modifying prompt goals. Includes SQL specific extraction examples. | |
# Original Prompt: https://github.com/microsoft/graphrag/blob/main/graphrag/index/graph/extractors/graph/prompts.py | |
GRAPH_EXTRACTION_PROMPT = """ | |
-Goal- | |
Given the following information regarding entities in a sql database: | |
- Table & View DDL |