-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prompt: default prompt for KG builder (#751)
Previously, due to the fact we assumed "name" is special for a extracted node to actually act as its vertexID, and, there in NebulaGraph the id is actually composite 4 fields(src,dst,type,rank), thus there is no "name" fields in extracted JSON. In such case, the "name" field in schema of edge type will not be handled properly in some of LLMs. Also, previously, the JSON format was not exactly an example, but a half example(nodes, edges) half json type schema(xxx:string, yyy:object). This is actually not clear enough, which will cost mind-power of LLMs. Now it's changed to a real example.
- Loading branch information
Showing
2 changed files
with
35 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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