Skip to main content

Installation

Usage

Vertex AI

Gemini को Google AI Studio की बजाय Vertex AI से use करने के लिए use_vertex=True pass करें:
Vertex AI Application Default Credentials use करता है। gcloud auth application-default login run करें या GOOGLE_APPLICATION_CREDENTIALS को अपनी service account key file पर set करें।

Configuration options

किसी single call के लिए RAIL evaluation skip करना हो तो generate_content() में rail_skip=True pass करें।

आगे क्या देखें

OpenAI Integration

Chat completions के लिए RAILOpenAI wrapper।

Anthropic Integration

Claude के लिए RAILAnthropic wrapper।

Concepts: Middleware

Provider wrappers internally कैसे काम करते हैं।

Python SDK Overview

Full Python SDK installation और reference।