-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kg build with unstructured data, an attempt! #746
Comments
this prompt is just a example output for ensure the result format. the graph schema already inject to the prompt like
|
I see, we could tune the prompt to better address this, in my case(where I think the schema generate no obvious confusion) it failed in most cases:
|
I will look into the prompt and tune it to improve this in a PR then. |
ok, maybe some space is not work well with this prompt |
I proposed a changed default prompt via #751, kindly help review that :D. |
Input Data: paul_graham_essay.txt
Schema:
(RDF Style, will try PropGraph Style later)
Log: all.log
Model: Azure OpenAI: 3.5-turbo 2023-07-01-preview
It's smooth! Thanks! Something we may consider change:
It seems in such rdf-style schema(as follows), with only one type of edge, and put edge type as edge.name, our current implementation is not guiding LLM to generate edge props. I guess we firstly address the typical Property Graph style modeling?
Thus, the extracted edges are w/o edge type(name prop):
The text was updated successfully, but these errors were encountered: