Change8
Error1 reports

Fix UnsupportedParamsError

in Instructor

Solution

The "UnsupportedParamsError" in instructor often arises from using parameters in your OpenAI-like API call that are not supported by the specific language model you've selected (e.g., passing `response_format` to a model that doesn't accept it). To resolve this, carefully review the documentation for the language model you're using (e.g., Bedrock's specific model documentation) and remove any unsupported parameters from your `client.chat.completions.create()` or similar calls; alternatively, use a model that *does* support the parameters you want to use.

Timeline

First reported:Mar 11, 2025
Last reported:Mar 11, 2025

Need More Help?

View the full changelog and migration guides for Instructor

View Instructor Changelog