Welcome to the Sarvam AI Cookbook! This repository provides example code, guides, and tutorials to help you accomplish common tasks using the Sarvam AI API. Whether you're building conversational AI, generating text, or working on other AI-powered applications, these resources will help you get started quickly.
To use the examples in this cookbook, you'll need a Sarvam AI API key. If you don’t have one yet, sign up for a free account here. Once you have your API key, set it as an environment variable:
export SARVAM_API_KEY=<your API key>
Alternatively, you can create a .env
file in the root of your project with the following content:
SARVAM_API_KEY=<your API key>
Most examples are written in Python, but the concepts can be adapted to any programming language.
Explore the cookbook, experiment with the examples, and start building amazing AI-powered applications with Sarvam AI!
Keep Building 🚀