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

Distributed environment / azure functions #69

Open
promentol opened this issue Sep 30, 2024 · 3 comments
Open

Distributed environment / azure functions #69

promentol opened this issue Sep 30, 2024 · 3 comments

Comments

@promentol
Copy link

Thank you for this library

We are trying to run this in azure functions, where filesystem is not persistent.
Is there anyway we can avoid working_dir ? If we attach our own vector db, key value db and graph db, do we need then working directory at all ?

In other words, if indexing and querying are happening in different instances, what can we do ?

@gusye1234
Copy link
Owner

Yeah, that's a problem.
Right now, nano-graphrag gonna create a working dir no matter the storages are using or not. Will open a PR about this.

@gusye1234
Copy link
Owner

gusye1234 commented Oct 1, 2024

Hi @promentol ,
check out the latest commit where I add an option to skip the creating of working dir. You can use always_create_working_dir=False to do that(detail in Advances: some setup options)

@alexandergirardet
Copy link

Bumping this since I am implementing a similar solution on AWS lambda and Ions. Happy to add code as example once done :)

rangehow pushed a commit to rangehow/nano-graphrag that referenced this issue Oct 18, 2024
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

3 participants