sarvamai-go SDK Documentation
Code-accurate documentation for the sarvamai-go SDK
NOTE: The SDK and these corresponding documentation is unofficial. It is not affiliated with or endorsed by Sarvam. It is developed and maintained by Shreehari Acharya as an independent project to provide Go developers with a convenient interface to Sarvam's services.
What this docs set covers
This documentation is generated from the current SDK codebase and is organized package-by-package.
Services and Reference
client setup: root client, config, and service handleslanguages: language code constants and language setschat: chat completions and streaming chattext: translation, transliteration, and language detectionspeech-to-text: speech-to-text (REST, stream, and batch jobs with per-method docs)translate: speech-to-text-translate (REST + WebSocket stream)tts: text-to-speech (REST + WebSocket stream)translatejob: batch speech-to-text-translate workflowdocintel: document intelligence job workflowshared/speech: shared stream/event/data types returned by speech streamserrors and retries: SDK error types and retry behaviorexamples: runnable repository examples mapped to each package
Import path
import "github.com/Shreehari-Acharya/sarvamai-go"Source of truth
If you update SDK behavior, update these docs pages in the same PR so docs stay code-accurate.