Skip to main content

Python SDK for Jammi AI Platform — the commercial managed audit-native AI platform

Project description

jammi-ai-platform

Python SDK for the Jammi AI Platform — the commercial managed audit-native AI platform. Talks to a Jammi SaaS endpoint via gRPC with bearer-token authentication.

Install

pip install jammi-ai-platform

Wheel-only distribution. Python 3.9+ on Linux / macOS / Windows.

Quickstart

import jammi_ai_platform as jap

with jap.Connection(url="https://api.jammi.cloud", api_key="jt_…") as conn:
    print(conn.tenant_id)         # resolved via WhoAmI at connect time
    print(conn.token_label)       # label of the bearer in use

    registry = jap.Registry(conn)
    model_id = registry.register_model("recall-q4", task="embedding")
    print(model_id)

Use http://… instead of https://… for local insecure development.

Surface

  • Connection — gRPC channel + bearer auth, calls WhoAmI at connect
  • Registry — model + version + evidence catalog
  • Gate — quality-gate checks
  • Monitor — embedding / inference / divergence monitors + run streaming
  • Experiment — Bayesian / Grid / Random experiments
  • DeploymentBlocks — block / unblock sources from production traffic
  • Resilience — perturbation-based validation runs
  • Auth — issue / revoke / list API keys; WhoAmI
  • Tenants — read-only tenant directory lookup

Errors

status_to_exception (in jammi_ai_platform.errors) maps every gRPC status code to a typed Python exception. The hierarchy:

  • EnterpriseException
    • NotFoundError
    • AlreadyExistsError
    • TransitionNotAllowedError
    • TenantUnboundError
    • ConfigError
    • PermissionDeniedError

Docs

Full docs at https://docs.jammi.cloud.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

jammi_ai_platform-0.2.0-py3-none-any.whl (93.5 kB view details)

Uploaded Python 3

File details

Details for the file jammi_ai_platform-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jammi_ai_platform-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 909c30b66a8e5ae18a347d4ea09e6ea01f1c16250d58b55d9f96e91b1c70defa
MD5 94b358eda8b40055fdd6b74b0c57dd20
BLAKE2b-256 634c26e28b7881c61f4b02a2f94cf2df328f39bf562619e56bb2f42530138d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for jammi_ai_platform-0.2.0-py3-none-any.whl:

Publisher: sdk-pypi.yml on f-inverse/jammi-enterprise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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