Description
Hi,
I am trying to set model version to gpt-4 as you suggested in the README file but I am getting the following error:
TypeError Traceback (most recent call last)
Cell In[4], line 6
3 df = pd.DataFrame({"x":[1,2,3], "y": [4,5,6]})
4 ## create a plot
----> 6 plot = PlotAI(df,model_version="gpt-4")
8 plot.make("scatter plot")
TypeError: PlotAI.init() got multiple values for argument 'model_version'
Initially when i tried with the default version , i got the following error:
...
178 """
--> 179 raise TypeError(f'Object of type {o.class.name} '
180 f'is not JSON serializable')
TypeError: Object of type DataFrame is not JSON serializable
Any suggestions how to fix the above errors? Thanks