-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Unrecognized request argument supplied: seed #749
Comments
You're right this is a bug, the openai module should have the latest version in order to use the seed param |
@gamcoh, got it, thanks for your reply! You mean it's a bug in the current release of 1.4.8? Otherwise, I guess I'm missing something, but how is it expected to work now if the openai version specified in poetry.lock is 0.27.10? Tried upgrading openai to the latest version, but this broke pandasai. |
Yeah same for me, I'm trying to migrate the codebase to openai 1.2.3 but for now I think we need to downgrade |
#753 introduces support for the newest API (for OpenAI only, no Azure OpenAI yet). Feel free to have a look at it :) |
The newest version supports OpenAI v1 (including Azure OpenAI) and, among the others, |
Great work @mspronesti thanks! |
v1.4.10 (with v1.3.3 of Closing this as solved anyways. Many thanks to @mspronesti! |
System Info
pandasai v1.4.8, openai v0.27.10, Python 3.10
🐛 Describe the bug
When trying to
chat()
with a createdSmartDataFrame
, I'm getting the following error:Apparently, this has to do with v1.4.8 of pandasai and the introduction of the
seed
param in #742. Obviously, a solution could be simply to downgrade to 1.4.7, but was wondering if there is another way. I'm getting this error for any of the below mentioned Azure OpenAI API versions. @gamcoh, do you have any ideas? Thanks in advance!Here's the full code:
The text was updated successfully, but these errors were encountered: