-
This is my error and please help:
|
Beta Was this translation helpful? Give feedback.
Answered by
dosubot[bot]
Jul 15, 2024
Replies: 1 comment 4 replies
-
Could you provide the query or code snippet you're trying to run? This will help identify any private methods, dunder methods, disallowed builtins, or imports that might be causing the issue. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error you're encountering is due to the use of imports, which are restricted in the LlamaIndex query engine. Specifically, the imports of
pandas
andmatplotlib.pyplot
are causing the issue.To resolve this, you need to remove the import statements and ensure that the code does not use any disallowed builtins or private/dunder methods. Here is a modified version of your code that avoids using imports: