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

Document processing shows 0 records after running indexer.py script #324

Open
FatemaD1577 opened this issue Jan 23, 2025 · 1 comment
Open
Assignees

Comments

@FatemaD1577
Copy link

FatemaD1577 commented Jan 23, 2025

I am trying to create a knowledge graph for a custom schema.

My input data is pdf files. So I have used dir_file_scanner.

Schema commit has been done successfully and I can see the my entity types in the knowledge model.

As per the documentation, after this process we need to run the indexer.py file. There are no errors/warnings but it shows there is 0 data to process.

Image

Even the chkpt file is empty. I dont know what am I missing.

Guidance would be highly appreciated.

Thanks in advance.

@caszkgui
Copy link
Collaborator

I am trying to create a knowledge graph for a custom schema.

My input data is pdf files. So I have used dir_file_scanner.

Schema commit has been done successfully and I can see the my entity types in the knowledge model.

As per the documentation, after this process we need to run the indexer.py file. There are no errors/warnings but it shows there is 0 data to process.

Image Even the chkpt file is empty. I dont know what am I missing.

Guidance would be highly appreciated.

Thanks in advance.

Could you provide your kag_config.yaml and tell us which llm you are using?
It looks like llm have not extracted any subgraphs from your input file within the constraint of your customized schema.

@caszkgui caszkgui self-assigned this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants