Skip to content
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

Querying an XML file with multiple entitiy sets and relationships fails #163

Open
CumulusService opened this issue Sep 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CumulusService
Copy link

CumulusService commented Sep 7, 2024

metadata.txt
Describe the bug

I am not sure if this is a bug or an issue on my end however once succesfully deploying the accelerator, I uploaded an XML file to the Blob Storage in Azure that represents a metadata information of an ERP system(see attached) and then generfated the prompts via the exposed API method:

community_report.txt
entity_extraction.txt
summarize_descriptions.txt

The indexing process went well and had been completed however when I started querying the index(both local and global queries ) via the API I got totally unrelated results that had nothing to do with the indexed data.
The returned JSON contained multiple properties and I couldn't tell where to look for the result.
Running the solution locally yielded much better results

Can the GraphRAG handle complex XMLs? is XML parsing & cleaning needed first? building a Pandas DF around it ?
Maybe I am using the wrong Prompt templates while indexing?
Any recommendation would be helpful

The goal is that when I query about a certain entitiy ( say 'Orders' ) . then the Knowledge Graph should know that 'Orders' is of type 'Document' and be able to extract all the property names of 'Document' . same goes for 'Invoices' , 'PurhaseOrders' etc.

@CumulusService CumulusService added the bug Something isn't working label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant