Welcome to Rhesis SDK’s Documentation

Rhesis Logo

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

  1. Visit Rhesis App

  2. Sign up for a Rhesis account

  3. Navigate to your account settings

  4. 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

Development

Indices and Tables