The official Python SDK for Adaline - the single platform to iterate, evaluate, deploy, and monitor AI agents.
Project description
adaline-client
Official Python SDK for Adaline - Prompt management, testing, evaluation, and monitoring.
Installation
pip install adaline-client
Usage
import asyncio
from adaline import Adaline
async def main():
# Initialize client (reads ADALINE_API_KEY and ADALINE_BASE_URL from environment)
client = Adaline()
# Get latest deployment
deployment = await client.get_latest_deployment(
prompt_id="your-prompt-id",
deployment_environment_id="your-env-id"
)
print(f"Model: {deployment.prompt.config.model}")
# Close the client
await client.client.close()
asyncio.run(main())
Environment Variables
ADALINE_API_KEY- Your Adaline API keyADALINE_BASE_URL- API base URL (defaults tohttps://api.adaline.ai/v2)
Requirements
- Python >= 3.11
License
MIT
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
adaline_client-2.2.1.tar.gz
(17.4 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 adaline_client-2.2.1.tar.gz.
File metadata
- Download URL: adaline_client-2.2.1.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.11.15 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d713b7148d8a7e6ce8fb1ac03ed5e097478fea46696bc78f9f29f7006698dcdc
|
|
| MD5 |
9a8f7f634bc88cb240cd69dae776adf8
|
|
| BLAKE2b-256 |
ad42cded32020ffcceda0275cda927270a1204054ea20c04929d8eb5c7edc92a
|
File details
Details for the file adaline_client-2.2.1-py3-none-any.whl.
File metadata
- Download URL: adaline_client-2.2.1-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.11.15 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cae7f348f6bd143c2b87a79889a13c972076c8a03bde05de01397a0c66b53ee
|
|
| MD5 |
de41413aa31af041d066f8f83edc50d6
|
|
| BLAKE2b-256 |
8410bdc6f03b79ef2cec122b97274fcbbed5d0787a3a41f41095237afcc3356b
|