-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[Bug]: Async version of opensearch module not implemented #10360
Comments
🤖 Hello @ahs8w! I'm Dosu, an AI assistant here to help you while we wait for a human maintainer. I'm pretty handy with bug squashing, answering questions, and guiding you on your journey to becoming a contributor. I'm currently looking into your issue and will be back with a more complete answer shortly. Hang tight! |
We currently have this fixed in our code by creating new Async* classes inherited from the
|
This should be a relatively simple implementation on the llama-index side which I may potentially be able to help with. We were only interested in asynchronous query methods though so I haven't looked into the other db functions and how to make them async. |
🤖 Thank you for your detailed report and the proposed solution. It seems like you've identified a gap in the current implementation of the Your proposed solution of creating new However, it's important to note that while this solution may work for your specific use case, it might not be the best approach for integrating asynchronous functionality into the LlamaIndex codebase as a whole. The introduction of asynchronous methods would likely require a more comprehensive refactoring of the codebase to ensure compatibility and maintainability. As a maintainer of the LlamaIndex repository, I can't create pull requests or issues. However, I would recommend you to create a pull request with your proposed changes. This would allow the maintainers and contributors of the LlamaIndex repository to review your code and potentially integrate it into the main codebase. Before you do that, please make sure to thoroughly test your code to ensure it works as expected and doesn't introduce any new issues. Also, please follow the contribution guidelines of the LlamaIndex repository when preparing your pull request. For more information on how to create a pull request, you can refer to the GitHub documentation. I hope this helps! If you have any other questions or need further clarification, feel free to ask. Here for your reference. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Bug Description
Neither OpensearchVectorClient nor OpensearchVectorStore implement async functions
Version
0.9.28.post2
Steps to Reproduce
Follow instructions here to set up opensearch and define
query_engine
Relevant Logs/Tracbacks
No response
The text was updated successfully, but these errors were encountered: