microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
19.34k stars 1.91k forks source link

[Feature Request]: Implement Query-Engine.log similar to index-engine.log #995

Open fclarke1 opened 3 months ago

fclarke1 commented 3 months ago

Do you need to file an issue?

Is your feature request related to a problem? Please describe.

When attempting to run queries which are failing it is hard to understand where the issues are. A logger, similar to the index-engine.log, would really help this.

Describe the solution you'd like

Implement a log, very similar to the index-engine.log, but for querying (local and global).

All the log info/warning messages are already implemented in the query package, so all that needs to happen is to enable a log to save it down in the directory.

I propose:

I would like to create a pull request for this fix. I have implemented this in my cloned repo and is working well.

Thanks

Additional context

I would like to create a pull request for this fix. I have implemented this in my cloned repo and is working well.

AlonsoGuevara commented 3 months ago

Hi @fclarke1

Contributions are welcome :) Please feel free to submit your PR.

fclarke1 commented 3 months ago

Great - I'll submit a PR. Cheers

github-actions[bot] commented 2 months ago

This issue has been marked stale due to inactivity after repo maintainer or community member responses that request more information or suggest a solution. It will be closed after five additional days.

fclarke1 commented 2 months ago

I've submitted a PR #1037

github-actions[bot] commented 2 months ago

This issue has been marked stale due to inactivity after repo maintainer or community member responses that request more information or suggest a solution. It will be closed after five additional days.