output_type for the chat function is not working properly #637
sajithamma
started this conversation in
General
Replies: 1 comment 1 reply
-
I got a workaround that solves my problem, for the time being,
The output image is save as mylocalfile.png 🙌 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have the following output_type,
number, string, plot and dataframe.
When we pass dataframe, we expect the dataframe as output, instead it returns strings, with a filename: "temp_chart.png"
Also, when we pass parameter "plot", it always write the image on same file.
If multiple users are using same time, the one with last user request is shown to all.
Please add option to specify the custom output file path, than always writing in same file temp_chart.png
Right now, in that aspect PandasAI only support a single user.
I also tried passing "custom_instructions": with instructions to specify a new output file path, no luck.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions