You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The table has a column "reporter" which includes a name kevin. I input question which query kevib but it returns kevin's result. The prompt pandasai generated is wrong as it automatically changes my query to the value in the table. How to solve this issue?
The text was updated successfully, but these errors were encountered:
To prevent pandasai from automatically changing your query "kevib" to match the value "kevin" in the table, you can disable the error correction framework. This can be done by setting the use_error_correction_framework property to False.
Here is how you can do it:
# Assuming you have already created a SmartDatalake or SmartDataframe instance named `df`df.use_error_correction_framework=False
This will prevent the automatic correction of your query terms [1].
System Info
pandasai version 2.1
馃悰 Describe the bug
The table has a column "reporter" which includes a name kevin. I input question which query kevib but it returns kevin's result. The prompt pandasai generated is wrong as it automatically changes my query to the value in the table. How to solve this issue?
The text was updated successfully, but these errors were encountered: