-
Notifications
You must be signed in to change notification settings - Fork 285
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] Import error using llama-index-core
#2509
Comments
Thank you for providing the detailed steps to reproduce the error. It seems like the issue is arising due to the In your case, you have installed As a workaround, you could try installing the However, I understand that you expect the Arize Phoenix to work normally when Please note that the function I hope this helps! If you have any other questions or need further clarification, feel free to ask. Sources
|
@JohnCHarrington thanks so much for the bug report. Makes sense! We will fix asap. |
@JohnCHarrington This issue is resolved in 3.10.0. Thanks! |
Describe the bug
Import error occurs when
llama-index
package is missing, even whenllama-index-core
andllama-index-callbacks-arize-phoenix
are present.It appears that
phoenix.llama_index.callback._check_instrumentation_compatibility
checks forversion("llama-index")
, which raises an import error if llama index was installed using the modularllama-index-core
package only.To Reproduce
llama-index-core
andllama-index-callbacks-arize-phoenix
llama-index.core.set_global_handler("arize_phoenix")
Expected behavior
It should work as normal when llama-index is installed in this minimal modular way.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: