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

core[patch]: update structured output tracing #30123

Merged
merged 13 commits into from
Mar 7, 2025

Conversation

ccurme
Copy link
Collaborator

@ccurme ccurme commented Mar 5, 2025

  • Trace JSON schema in options
  • Rename to ls_structured_output_format

Copy link

vercel bot commented Mar 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 3:03pm

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. langchain Related to the langchain package labels Mar 5, 2025
@ccurme ccurme removed the langchain Related to the langchain package label Mar 5, 2025
@ccurme ccurme merged commit 8062114 into master Mar 7, 2025
189 checks passed
@ccurme ccurme deleted the cc/structured_output_tracing branch March 7, 2025 18:05
def convert_to_json_schema(
schema: Union[dict[str, Any], type[BaseModel], Callable, BaseTool],
*,
strict: Optional[bool] = None,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will strict get lost here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in which case should we start storing strict as a kwarg (in ls_structured_output_format)? and making sure non-openai models just ignore strict if it's passed in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants