-
Notifications
You must be signed in to change notification settings - Fork 15.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
chat ollama with_structured_output fails with union type #28090
Comments
stack trace:
|
This is likely not an issue with the implementation, but the model failing to actually output appropriate structured_output -- so performance issue w/ the underlying model. The TODO item is to figure out how to improve error messages so such issues are easier for the user to understand |
@eyurtsev Would like to contribute to this issue. Please tell me what to do. |
What branch are you running? I get NotImplementedError, which seems correct, because:
does not implement with_structured_output, so the parent class raises this error. |
Privileged issue
Issue Content
raise here: #27415
The text was updated successfully, but these errors were encountered: