[PR #2897] [MERGED] chore: update docs for standard schema for structured output #2985

Closed
opened 2026-06-05 18:20:36 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2897
Author: @colifran
Created: 3/3/2026
Status: Merged
Merged: 3/4/2026
Merged by: @colifran

Base: mainHead: colifran/standard-schema-docs


📝 Commits (3)

  • d994f5c standard schema for structured output doc updates
  • c1d3baf restore unneeded changes
  • e3451e3 update examples to correctly use valibot to standard json schema util

📊 Changes

2 files changed (+91 additions, -4 deletions)

View changed files

📝 src/oss/langchain/models.mdx (+30 -1)
📝 src/oss/langchain/structured-output.mdx (+61 -3)

📄 Description

Overview

Adds Standard Schema support documentation for LangChain JS. Updates the Models page with a new Standard Schema tab and validation notes in the structured output section, and updates the Structured Output page with Standard Schema support for createAgent's responseFormat, providerStrategy, and toolStrategy

Type of change

Type: Update existing documentation

Related issues/PRs

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

Additional notes

More information about standard schema and standard JSON schema: https://standardschema.dev/


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/2897 **Author:** [@colifran](https://github.com/colifran) **Created:** 3/3/2026 **Status:** ✅ Merged **Merged:** 3/4/2026 **Merged by:** [@colifran](https://github.com/colifran) **Base:** `main` ← **Head:** `colifran/standard-schema-docs` --- ### 📝 Commits (3) - [`d994f5c`](https://github.com/langchain-ai/docs/commit/d994f5c5d4128fc8e91cefa04a81ab3a7bc5b7f5) standard schema for structured output doc updates - [`c1d3baf`](https://github.com/langchain-ai/docs/commit/c1d3baf2b3edeed4ebe05c03d45bf24e84c1af77) restore unneeded changes - [`e3451e3`](https://github.com/langchain-ai/docs/commit/e3451e3144563bd84d694d004e4ab25e4a143fdf) update examples to correctly use valibot to standard json schema util ### 📊 Changes **2 files changed** (+91 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/models.mdx` (+30 -1) 📝 `src/oss/langchain/structured-output.mdx` (+61 -3) </details> ### 📄 Description ## Overview Adds Standard Schema support documentation for LangChain JS. Updates the Models page with a new Standard Schema tab and validation notes in the structured output section, and updates the Structured Output page with Standard Schema support for createAgent's responseFormat, providerStrategy, and toolStrategy ## Type of change **Type:** Update existing documentation ## Related issues/PRs - Feature PRs: https://github.com/langchain-ai/langchainjs/pull/10204 https://github.com/langchain-ai/langchainjs/pull/10205 https://github.com/langchain-ai/langchainjs/pull/10206 https://github.com/langchain-ai/langchainjs/pull/10207 https://github.com/langchain-ai/langchainjs/pull/10208 https://github.com/langchain-ai/langchainjs/pull/10209 https://github.com/langchain-ai/langchainjs/pull/10210 https://github.com/langchain-ai/langchainjs/pull/10211 https://github.com/langchain-ai/langchainjs/pull/10212 https://github.com/langchain-ai/langchainjs/pull/10213 https://github.com/langchain-ai/langchainjs/pull/10214 https://github.com/langchain-ai/langchainjs/pull/10215 https://github.com/langchain-ai/langchainjs/pull/10216 https://github.com/langchain-ai/langchainjs/pull/10240 https://github.com/langchain-ai/langchainjs/pull/10252 ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed ## Additional notes <!-- Any other information that would be helpful for reviewers --> More information about standard schema and standard JSON schema: https://standardschema.dev/ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:20:36 -04:00
yindo closed this issue 2026-06-05 18:20:36 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2985