Skip to content
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

Inconsistency in output_model paramter. #1077

Closed
owais3901 opened this issue Jul 29, 2024 · 3 comments
Closed

Inconsistency in output_model paramter. #1077

owais3901 opened this issue Jul 29, 2024 · 3 comments

Comments

@owais3901
Copy link

i am using pydantic schema for structed output, but it seems to be inconsistent in output format, sometime it returns output in pydantic model and sometime in str as a json format. how can i fix this?.

@KevinZhang19870314
Copy link

Same here. I think this might be due to the LLM model, as different models can produce varying results.

@ysolanky
Copy link
Contributor

@owais3901 Can you please share your Assistant config and the output_model?

@KevinZhang19870314 is right, the behaviour of output_model depends on the underlying LLM being used

@ysolanky
Copy link
Contributor

ysolanky commented Oct 9, 2024

Closing due to inactivity

@ysolanky ysolanky closed this as completed Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants