Skip to content

Conversation

@rajatsandeepsen
Copy link

Background

Previous Sarvam provider package was unofficial and old #6079

But this one is officially approved by Sarvam DevRel team & @kurianbenoy-sarvam

From now on, we'll make sure a regular and up-to-date changes to this community provider package.

Summary

Added more API support for Sarvam, including

  • Chat completion
  • Text-to-Speech
  • Speech-to-Text
  • Language identifications
  • Translation
  • Transliterate
  • Tool Calling

Future Work

Latest sarvam-m model isn't trained on native tool calling feature (aka JSON mode). So we simulate this with added prompt engineering technique.

Soon team Sarvam will release next new model with complete OpenAI API support.

Also we're working on the future ai-sdk v5 support too.

Related Issues

Previous unofficial PR #6079 #6096

dylanmoz and others added 30 commits April 3, 2025 08:10
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…nge (vercel#5531)

Co-authored-by: Carl Brugger <cebrugg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…#5541)

Co-authored-by: Bram Meerten <bram.meerten@acagroup.be>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
)

Co-authored-by: Sam Denty <sam@samdenty.com>
Co-authored-by: Sam Denty <samddenty@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@gr2m gr2m added documentation Improvements or additions to documentation provider/community and removed provider/anthropic provider/azure provider/openai-compatible provider/xai provider/amazon-bedrock Issues related to the @ai-sdk/amazon-bedrock provider provider/assemblyai Issues related to the @ai-sdk/assemblyai provider provider/cerebras Issues related to the @ai-sdk/cerebras provider provider/cohere Issues related to the @ai-sdk/cohere provider provider/deepgram Issues related to the @ai-sdk/deepgram provider provider/deepinfra Issues related to the @ai-sdk/deepinfra provider provider/deepseek Issues related to the @ai-sdk/deepseek provider provider/elevenlabs Issues related to the @ai-sdk/elevenlabs provider provider/fal Issues related to the @ai-sdk/fal provider provider/fireworks Issues related to the @ai-sdk/fireworks provider provider/gladia Issues related to the @ai-sdk/gladia provider provider/google-vertex Issues related to the @ai-sdk/google-vertex provider provider/groq Issues related to the @ai-sdk/groq provider provider/hume Issues related to the @ai-sdk/hume provider provider/lmnt Issues related to the @ai-sdk/lmnt provider provider/luma Issues related to the @ai-sdk/luma provider provider/mistral Issues related to the @ai-sdk/mistral provider provider/perplexity Issues related to the @ai-sdk/perplexity provider provider/replicate Issues related to the @ai-sdk/replicate provider provider/revai Issues related to the @ai-sdk/revai provider provider/togetherai Issues related to the @ai-sdk/togetherai provider provider/vercel Issues related to the @ai-sdk/vercel provider labels Nov 7, 2025
@rajatsandeepsen
Copy link
Author

rajatsandeepsen commented Nov 8, 2025

@gr2m thanks for the reminder

I'll update the custom provider with v5 & v6 support later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider documentation Improvements or additions to documentation provider/community

Projects

None yet

Development

Successfully merging this pull request may close these issues.