Skip to main content

KAI Inference Builder REST API

This package is a client API for the Keysight AI Inference Builder (KAI IB) Controller.

This is a full implementation of all features supported by KAI Inference Builder.

Getting started

To connect to a controller running at https://my-controller, just run the following:

import kai_inference_builder as kaiib

configuration = kaiib.Configuration(host="https://my-controller",
                          username="admin",
                          refresh_token="get a token from KAI Inference Builder UI > Gear > Offline Token")
# if you don't have a valid HTTPS certificate for controller, uncomment this line
# configuration.verify_ssl = False

with kaiib.ApiClient(configuration) as api_client:
    # Find an existing config
    configs_api = kaiib.ConfigurationsApi(api_client)
    config = configs_api.get_configs(take=1, search_col="displayName", search_val="Law Firm Legal Service")

    # Create a session from that config
    sessions_api = kaiib.SessionsApi(api_client)
    session = sessions_api.create_sessions(session=[kaiib.Session(config_url=config.data[0].config_url)])[0]

Metadata

Release files for kai-inference-builder 26.0.6

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

Source distribution (sdist)

Source distribution for kai-inference-builder 26.0.6
File Size Uploaded Provenance
kai_inference_builder-26.0.6.tar.gz 239.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for kai-inference-builder 26.0.6
File Interpreter ABI Platform
kai_inference_builder-26.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 920.5 kB

Release files / kai_inference_builder-26.0.6.tar.gz

Download URL kai_inference_builder-26.0.6.tar.gz
Size 239.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a0534a629b6d650c30d3750837a9ee1234252bfc844a6bc467a3de11232d414a
BLAKE2b-256 checksum
How to use checksums
6a9cdc46445be41a55c32a58c60a51a4a9e39bdf926581ca9720df0bd36fbb7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / kai_inference_builder-26.0.6-py3-none-any.whl

Download URL kai_inference_builder-26.0.6-py3-none-any.whl
Size 680.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2885fc6115a18f03b4595fd32c58f5d1ec4c8a77f0be31875ab8aff849685ee
BLAKE2b-256 checksum
How to use checksums
e6b8c30fe0cfdf65d541cb0d34b57855147fef4267e7c5b98773093caf497a31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Security for kai-inference-builder 26.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

26.0.6 This release

2 release files No provenance

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