Welcome to Rhesis SDK’s Documentation

Gen AI applications that deliver value, not surprises.
The Rhesis SDK enables developers to access curated test sets and generate dynamic ones for GenAI applications. It provides tools to tailor validations to your needs and integrate seamlessly to keep your Gen AI robust, reliable & compliant.
Installation
Install the Rhesis SDK using pip:
pip install rhesis-sdk
Getting Started
1. Obtain an API Key
Visit Rhesis App
Sign up for a Rhesis account
Navigate to your account settings
Generate a new API key
Your API key will be in the format rh-XXXXXXXXXXXXXXXXXXXX
. Keep this key secure and never share it publicly.
2. Configure the SDK
You can configure the Rhesis SDK either through environment variables or direct configuration:
Using Environment Variables
export RHESIS_API_KEY="your-api-key"
export RHESIS_BASE_URL="https://api.rhesis.ai" # optional
Direct Configuration
import rhesis
rhesis.api_key = "your-api-key"
rhesis.base_url = "https://api.rhesis.ai" # optional
Documentation Contents
User Guide
API Reference
Development