Closed SliverBulle closed 2 months ago
LGTM! Do you finish your PR? If so, I will fix some small things and merge this PR
LGTM! Do you finish your PR? If so, I will fix some small things and merge this PR
I think it's finished, thanks for your time.
Description
Thanks a lot for sharing this light accomplishment version of graphrag with the support of incremental insert.
When you have an
AZURE_OPENAI_API_KEY
instead ofOPENAI_API_KEY
like me, you can use this PR to handle it. Mimicking the author's writeup, I wrote the asynchronous call to azure openai. This pull request introduces an azure openai option to LLM and embedding, allowing users who have azure openai key instead of openai key.Checklist
How to use
demos are like, I use load_dotenv to load environment variables.
you can add an .env file like in your demo.py
or run
export API_KEY_EMB = "<your azure openai key for embedding>"
in your terminal.