Skip to main content

LLM regression testing — route your LLM calls through Regent's proxy

Project description

Regent SDK

pip install regent-ai

Usage

import regent
regent.init(api_key="your-regent-api-key")

# All OpenAI/Anthropic clients instantiated after this call
# will automatically route through Regent's proxy.

# Must be called before importing or instantiating OpenAI/Anthropic clients.
from openai import OpenAI
client = OpenAI()  # automatically proxied

Local development

regent.init(api_key="your-regent-api-key", proxy_url="http://localhost:8000")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

regent_sdk-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

regent_sdk-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file regent_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: regent_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for regent_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0b9d4d09721aa7e552523dec2690d1a48940ed4a4d3df1d825e0938054e5e5aa
MD5 c5311552319ee288a804e02f9fedd6c6
BLAKE2b-256 01ac5927b89827eb09f528c336a82a7bfdb17408eee0d21c73b486ab031fe7d1

See more details on using hashes here.

File details

Details for the file regent_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: regent_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for regent_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 188024d51c843eb66b6d629420bce95495250500f14dbb6e5869a86036fc0c2e
MD5 61104e3b8cb00901097702d258557b27
BLAKE2b-256 3a309abc68bc1f845da5ca76d66b55c859ce506dcf1fcc41e24a2d3b2d2ce73d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page