Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

cloudera-ai-inference

Python client for Cloudera AI Inference service.

Installation

pip install cloudera-ai-inference

Quick Start

from cloudera.ai.inference import create_client, ServingListEndpointsRequest

client = create_client(
    host="https://<your-inference-service-domain>",
    token="<CDP_TOKEN>",
)

# List endpoints
response = client.serving_list_endpoints(
    ServingListEndpointsRequest(namespace="serving-default")
)
for ep in response.endpoints:
    print(ep.name, ep.state)

Authentication

Generate a CDP workload auth token:

CDP_TOKEN=$(cdp iam generate-workload-auth-token --workload-name DE | jq -r '.token')

Then pass it to create_client:

client = create_client(host="https://...", token=CDP_TOKEN)

SSL

To disable SSL verification (development/self-signed certs only):

client = create_client(host="https://...", token="...", verify_ssl=False)

API Reference

Full API documentation: https://docs.cloudera.com/machine-learning/cloud/ai-inference/topics/ml-caii-use-caii.html

Metadata

Release files for cloudera.ai.inference 1.13.0.2000b17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudera.ai.inference 1.13.0.2000b17
File Size Uploaded
cloudera_ai_inference-1.13.0.2000b17.tar.gz 78.6 kB Details

Release files / cloudera_ai_inference-1.13.0.2000b17.tar.gz

Download URL cloudera_ai_inference-1.13.0.2000b17.tar.gz
Size 78.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bedee14efe5360d117747803c6a7f75528c61d42e72cef92698c2daaff653fd2
BLAKE2b-256 checksum
How to use checksums
02b313506489cc3bcbb76d0d674eee39f06908fa10e7d946aaf4ebc8d07489fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

1.13.0.2000b17 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page