[PR #3253] docs: add ChatSarvam integration page #3312

Open
opened 2026-06-05 18:22:42 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3253
Author: @Srinivasulu2003
Created: 3/23/2026
Status: 🔄 Open

Base: mainHead: add-sarvam-integration


📝 Commits (7)

  • b9d577e docs: add ChatSarvam integration page
  • 58caa30 fix: add ChatSarvam to link map and fix tool import
  • 1d59629 docs: update ChatSarvam with accurate model details and examples
  • 7cc936b docs: rewrite sarvam.mdx with complete package documentation
  • c5d0bad fix: remove spaces around em dashes per lint rule
  • 1b92d39 Merge branch 'main' into add-sarvam-integration
  • 3f628b7 Merge branch 'main' into add-sarvam-integration

📊 Changes

3 files changed (+482 additions, -0 deletions)

View changed files

📝 pipeline/preprocessors/link_map.py (+3 -0)
📝 src/oss/python/integrations/chat/index.mdx (+1 -0)
src/oss/python/integrations/chat/sarvam.mdx (+478 -0)

📄 Description

Closes #3252

Summary

  • Add src/oss/python/integrations/chat/sarvam.mdx — a full integration page for ChatSarvam from the langchain-sarvamcloud package
  • Add ChatSarvam to the chat models index page (src/oss/python/integrations/chat/index.mdx)

Changes

New file: src/oss/python/integrations/chat/sarvam.mdx

  • Overview — integration details table (class, package, downloads, version) and model features table (tool calling, structured output, streaming, async)
  • Setup — installation via pip/uv and SARVAM_API_KEY credential setup
  • InstantiationChatSarvam(model="sarvam-m") with common parameters
  • Invocation — invoke, stream, and async examples
  • Tool callingbind_tools example
  • Indian language support — table of 12 supported language codes with a usage example

Updated: src/oss/python/integrations/chat/index.mdx

  • Added ChatSarvam row to the Featured models table with tool calling , structured output , multimodal

🔄 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/3253 **Author:** [@Srinivasulu2003](https://github.com/Srinivasulu2003) **Created:** 3/23/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `add-sarvam-integration` --- ### 📝 Commits (7) - [`b9d577e`](https://github.com/langchain-ai/docs/commit/b9d577eee7dd150cd882a73e09670ef303f4914d) docs: add ChatSarvam integration page - [`58caa30`](https://github.com/langchain-ai/docs/commit/58caa3000a4ccf68e5048f2117e0e6074f8db75f) fix: add ChatSarvam to link map and fix tool import - [`1d59629`](https://github.com/langchain-ai/docs/commit/1d5962973f704f406e7343f33128a271a3ab31d0) docs: update ChatSarvam with accurate model details and examples - [`7cc936b`](https://github.com/langchain-ai/docs/commit/7cc936b29614796f0a8dd168e937313e4e6b2fc5) docs: rewrite sarvam.mdx with complete package documentation - [`c5d0bad`](https://github.com/langchain-ai/docs/commit/c5d0bad99d3270f7faf433e58b20fbe1447dd90d) fix: remove spaces around em dashes per lint rule - [`1b92d39`](https://github.com/langchain-ai/docs/commit/1b92d3901da3c607c23cc9568b29ff79ea9b0bdd) Merge branch 'main' into add-sarvam-integration - [`3f628b7`](https://github.com/langchain-ai/docs/commit/3f628b7e54dbcb22434afaddd3d2920800f6ec9c) Merge branch 'main' into add-sarvam-integration ### 📊 Changes **3 files changed** (+482 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/preprocessors/link_map.py` (+3 -0) 📝 `src/oss/python/integrations/chat/index.mdx` (+1 -0) ➕ `src/oss/python/integrations/chat/sarvam.mdx` (+478 -0) </details> ### 📄 Description Closes #3252 ## Summary - Add `src/oss/python/integrations/chat/sarvam.mdx` — a full integration page for `ChatSarvam` from the `langchain-sarvamcloud` package - Add `ChatSarvam` to the chat models index page (`src/oss/python/integrations/chat/index.mdx`) ## Changes ### New file: `src/oss/python/integrations/chat/sarvam.mdx` - **Overview** — integration details table (class, package, downloads, version) and model features table (tool calling, structured output, streaming, async) - **Setup** — installation via `pip`/`uv` and `SARVAM_API_KEY` credential setup - **Instantiation** — `ChatSarvam(model="sarvam-m")` with common parameters - **Invocation** — invoke, stream, and async examples - **Tool calling** — `bind_tools` example - **Indian language support** — table of 12 supported language codes with a usage example ### Updated: `src/oss/python/integrations/chat/index.mdx` - Added `ChatSarvam` row to the Featured models table with tool calling ✅, structured output ✅, multimodal ❌ --- <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:22:42 -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#3312