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

It's possible for the cache response cache to have null values #66

Open
rawsh-rubrik opened this issue Sep 27, 2024 · 2 comments
Open

Comments

@rawsh-rubrik
Copy link

Screenshot 2024-09-26 at 9 04 56 PM

See TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str' when writing graph

Not sure exactly how to reproduce, flaky behavior when using large corpus with azure openai.

@gusye1234
Copy link
Owner

Yeah, I kinda know why.
Maybe the azure openai chat complete will return null, so nano-graphrag will cache this return.
Do you know in which case azure openai will have such behavior? Maybe I can think of a work round to avoid this.

@rawsh-rubrik
Copy link
Author

Not sure what cases, seemed to happen a few thousand requests in

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