Skip to main content

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 backend
  • SPECIFIC_AI_BASE_URL: platform backend base URL (default in examples: https://platform.specific.ai/)

Optional:

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.py
  • 02_asset_management.py
  • 03_training_workflows.py
  • 04_model_deployment.py

Support

Contact support@specific.ai.

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

specific_ai-0.1.10.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

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

specific_ai-0.1.10-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file specific_ai-0.1.10.tar.gz.

File metadata

  • Download URL: specific_ai-0.1.10.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for specific_ai-0.1.10.tar.gz
Algorithm Hash digest
SHA256 e147ff0f257aec73bd7705061cce32c816fce4b09c226b81ddf7bcc7aa6017f5
MD5 0524798cf25d4c7207da7927bb66afa1
BLAKE2b-256 d3dbec6347f2cf332d8ca1ad351b0b0e3539b61b5507bddec1f1907bf5dbfa1f

See more details on using hashes here.

File details

Details for the file specific_ai-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: specific_ai-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for specific_ai-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2da5cac38e83e7cfa7d84d2cd281e6a96305d637166d15bdca8829187875ae2c
MD5 7f445f3c350df32ec80cf0ca97fa4135
BLAKE2b-256 9da3f30c5c3262936c0ff4c6fc6771d36ca0d3f6078e2ff8147b29b22f0303d5

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