Skip to content

feat: add ls_structured_output_format tracing #8368

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

Merged
merged 4 commits into from
Jun 16, 2025

Conversation

hntrl
Copy link
Contributor

@hntrl hntrl commented Jun 16, 2025

Fixes #8144

The change in python was to replace the structured_output_format config option, but here we never had one to begin with! Any items that aren't a model or runnable param get passed through to options in the trace, so we're relying on the integration package to provide it rather than trying to transform that in core

before trace: https://smith.langchain.com/public/82b3d21d-28a6-4abf-b2b9-1d429af84948/r
after trace: https://smith.langchain.com/public/7560ef8e-b839-494c-8de1-2a5fd1197c0e/r

Copy link

vercel bot commented Jun 16, 2025

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

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 5:09pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Jun 16, 2025 5:09pm

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features labels Jun 16, 2025
@hntrl hntrl merged commit 57f754d into main Jun 16, 2025
44 checks passed
@hntrl hntrl deleted the hunter/structured-output-tracing branch June 16, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: trace structured output params
1 participant