LLM regression testing — route your LLM calls through Regent's proxy
Project description
Regent SDK
pip install regent-sdk
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
Release history Release notifications | RSS feed
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.1.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file regent_sdk-0.1.1.tar.gz.
File metadata
- Download URL: regent_sdk-0.1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f83956113b03904feb0e93024e3508d1da601c6aa784e4151c9483ecb6939715
|
|
| MD5 |
3702ec5ad150e81ea6886314a7cd8c24
|
|
| BLAKE2b-256 |
f7f0223d19126aad118bd5a0db1621b8f484d0f0cf95ec0ec5fee26e89d91f8c
|
File details
Details for the file regent_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: regent_sdk-0.1.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcdf8d26ca127f38618a98521c300220c2e53382664b149ead44a2dcaae2abeb
|
|
| MD5 |
9f9a5d61953b9c9e400edffa9d742619
|
|
| BLAKE2b-256 |
6006cb5a542c500d9ac23cf45a77e4ae1bc6fc1d52e139f152c3062337033617
|