-
Notifications
You must be signed in to change notification settings - Fork 66
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
[BUG] Instructor Instrumentator causing Pydantic ValidationErrors #1192
Comments
Thanks for the note @ikarth ! We've tagged the maintainer of the instrumentation. Let us know if you need anything! |
Ran into the same issue using Instructor + Anthropic Bedrock as the provider. |
@ikarth - sorry you are facing issues with instructor - we added instrumentation prior to structured data output with the foundation models. If you are still using instructor and would like instrumentation, please let us know we can get this in better shape. Sorry about the error - we will do better here. |
Still getting this error, I'm afraid. |
Hey @ikarth so sorry this instrumentation has fallen out of a level of confidence. We're actively working on resourcing for instructor and will keep this ticket up to date as it gets assigned out. |
Describe the bug
I'm having repeated validation errors when I'm attempting to use the InstructorInstrumentor (via LiteLLM talking to vLLM).
To Reproduce
Results in a Pydantic ValidationError:
For some reason, moving the
client = instructor.from_litellm(completion)
line above the telemetry setup gives a different warning:Expected behavior
The expected response is that the validation would work after the generation is finished.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: