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-1.0.1.tar.gz
(9.6 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-1.0.1.tar.gz.
File metadata
- Download URL: adaline_client-1.0.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.11.14 Linux/6.14.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52beaf967d8b42693da28e1c54eaee5c79c03ef72d705870a93ff9d4b78a7c84
|
|
| MD5 |
dd115e8059e7cf1348d7e267f359f291
|
|
| BLAKE2b-256 |
730163a03ce394d7b1fe3551a9c6c7aa86ea191f7d9ce9517c2a7c6894bc777b
|
File details
Details for the file adaline_client-1.0.1-py3-none-any.whl.
File metadata
- Download URL: adaline_client-1.0.1-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.11.14 Linux/6.14.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22cc22e0a267d21fd4e8c686dfbb7b26a2e49aa602400d7509c2b6db5b7cbfb0
|
|
| MD5 |
2c945238f5773f62f92290bb362d0ab9
|
|
| BLAKE2b-256 |
fd4b7e7068d8a2706749f030123593b6fc02d573efde46199a07ecdc9df1094a
|