-
-
Notifications
You must be signed in to change notification settings - Fork 789
1.8.3 get NotImplementedError for passing list into the prompt #1546
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
Comments
This should have a bedrock tag instead of anthropic. This is introduced in the last release via #1529 The intent with that PR was to align the chat.completions.create method with the rest of the providers in instructor, since the @TwilightSpar I'm not a maintainer but I am willing to help deliver a fix. With the knowledge I have of the project it's desirable to keep the chat.completions.create consistent, so if we introduce a formal |
@dogonthehorizon is this somethin you can tackle? I dont have bedrock to verify some of these issues |
@jxnl if we agree on that proposed fix then yea, not a problem |
I find out that, if I use anthropic(claude) api requst format, it works. It seems that in 1.8.3, the
Thanks for the links, @dogonthehorizon . A formal |
Uh oh!
There was an error while loading. Please reload this page.
What Model are you using?
Describe the bug
got: NotImplementedError: Non-text prompts are not currently supported in the Bedrock provider.
when i pass a list into the prompt
To Reproduce
Expected behavior
There should not be an error, the list in a format string should be parsed correctly.
The code above works fine for version 1.8.2, I update to 1.8.3 today, and got this error.
Screenshots
The text was updated successfully, but these errors were encountered: