New Provider: @ai-sdk/sarvam
Description
I'd like to propose adding a 1st party @ai-sdk/sarvam provider for Sarvam AI
Sarvam provides a few models and APIs covering chat completion, text-to-speech (TTS), speech-to-text (STT) and translation with 20+ Indian languages.
Sarvam is the leading provider for Indic language AI. Adding @ai-sdk/sarvam would make it easy for developers building multi-lingual apps targeting users to plug into the SDK without custom wrappers.
I am willing to build and maintain this provider myself following the existing contribution guidelines.
- I have already worked on the initial
v0.0.0release for the package and ready to create a PR as soon as this issue is validated.
References: Docs: https://docs.sarvam.ai/ API Reference: https://docs.sarvam.ai/api-reference-docs/introduction
Thank You
AI SDK Version
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Hey! There is already a community provider for Sarvam 😊
I also saw an additional one here too.
Thanks for mentinioning the community providers, but my proposal was for a first party provider as @ai-sdk/sarvam.
But the community providers get the job done well either ways. Thank you for your time
Identify issue type
Identified as Feature
Confidence: High
Rationale
This requests new first-party provider and model/API support rather than reporting broken existing behavior.
Evidence
- The issue proposes adding a new first-party
@ai-sdk/sarvamprovider. - The requested provider would add support for Sarvam AI chat, TTS, STT, and translation APIs.
- The author clarified that the request is specifically for first-party support despite existing community providers.