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

Returning the "idx" of retrieved passages #77

Open
jonathanjthomas opened this issue Mar 9, 2025 · 0 comments
Open

Returning the "idx" of retrieved passages #77

jonathanjthomas opened this issue Mar 9, 2025 · 0 comments

Comments

@jonathanjthomas
Copy link

jonathanjthomas commented Mar 9, 2025

Thank you for the great framework. I had a question about retrieval. How do we retrieve the "idx"(index) of the passages that are retrieved for a specific query?

Currently, from what I understand from the source code in HippoRAG.py, both the indexing and retrieval work on a list of strings, and do not keep track of the idx(index) provided in the corpus json. However, I require the idx in order to find the source document for the passage.

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

1 participant