PIKE-RAG icon indicating copy to clipboard operation
PIKE-RAG copied to clipboard

Unable to Create a Knowledge Base Successfully Based on the Documentation.

Open JV-X opened this issue 1 week ago • 5 comments

Hello, I'm currently trying to create a knowledge base and interact with it based on the documentation. I have reached the third step. According to the documentation https://github.com/microsoft/PIKE-RAG/blob/main/docs/guides/examples.md, I successfully executed chunking.py and obtained a .pkl file. However, in the next step, when I tried to run tagging.py, I encountered an issue.

As per the documentation, I need to pass a .yml file as an argument. Since I'm not sure how to configure each field in the .yml file, I used the example examples/hotpotqa/configs/tagging.yml provided in the documentation. However, I received the following error: FileNotFoundError: [Errno 2] No such file or directory: 'data/hotpotqa/dev_500_retrieval_contexts_as_chunks.jsonl'

The file dev_500_retrieval_contexts_as_chunks.jsonl is configured in tagging.yml, but I couldn't find this file in the project. I'm also unsure about what content should be in this file or how to obtain this file.

Could you please provide some assistance or a complete executable example for reference?

thanks for your help.

JV-X avatar Feb 21 '25 11:02 JV-X