specific.ai python sdk
Project description
Specific AI Python SDK
This SDK supports two main workflows:
- Platform automation: manage Tasks, Assets (datasets/benchmarks), Trainings, and Models
- Inference: run inference on deployed Specific AI models
For copy‑paste‑ready deep dives, see optune-sdk/examples/platform/.
Installation
pip install specific-ai
Authentication & configuration
Set these environment variables:
SPECIFIC_AI_API_KEY: API key / bearer token for the platform backendSPECIFIC_AI_BASE_URL: platform backend base URL (default in examples:https://platform.specific.ai/)
Optional:
SPECIFIC_AI_TASK_ID: current task id. You can create a new task or see the current task_id in the platform url. for example - the following url: https://platform.specific.ai/model-setup?usecaseId=68bedd42667aca8d3086e536 the task_id is '68bedd42667aca8d3086e536'SPECIFIC_AI_TASK_TYPE: task type string (e.g.ClassificationResponse)
5-line quickstart (platform)
import os
from specific_ai import SpecificAIClient
client = SpecificAIClient(base_url=os.getenv("SPECIFIC_AI_BASE_URL", "http://localhost:8000"), api_key=os.environ["SPECIFIC_AI_API_KEY"])
task_id = client.tasks.list()[0].iter_tasks()[0].task_id
print(client.models.get_metrics(task_id=task_id).versions)
Deep dive examples
Located in optune-sdk/examples/platform/:
01_task_management.py02_asset_management.py03_training_workflows.py04_model_deployment.py
Support
Contact support@specific.ai.
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
specific_ai-0.1.7.tar.gz
(26.0 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 specific_ai-0.1.7.tar.gz.
File metadata
- Download URL: specific_ai-0.1.7.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
754f3fd89a2c64c4627c2632e6f4eaab402f687431c03cc98c99582ed4299fd1
|
|
| MD5 |
e49b608b4b61f1e84c7220d0ac2f3c0e
|
|
| BLAKE2b-256 |
124f69a0c202372a6ffd3a12c0924ede95ed9d4173ae3e8c576062a10a58431e
|
File details
Details for the file specific_ai-0.1.7-py3-none-any.whl.
File metadata
- Download URL: specific_ai-0.1.7-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c43003f50d848b8cc23483c75a963a0d69cd6463f5436ceaf1fb7f99191d6ee
|
|
| MD5 |
8ae526d7980279734e46d413a7997a75
|
|
| BLAKE2b-256 |
df6a80c2cb0b4b4cf29f29dba2a31df4de7874d0f53bd6aef0c5ef6c4ada1953
|