Skip to main content

Typed async Python client for the iceOS Orchestrator API

Project description

iceos-client

Typed async Python client for the iceOS Orchestrator API.

Install

pip install iceos-client

Quickstart

import asyncio
from ice_client import IceClient

async def main():
    client = IceClient("http://localhost:8000")
    exec_id = await client.run_bundle(
        "chatkit.rag_chat",
        inputs={
            "query": "Two-sentence summary for Stefano.",
            "org_id": "demo_org",
            "user_id": "demo_user",
            "session_id": "chat_demo"
        },
        # If bundle is not pre-registered on the server, auto-register from YAML:
        blueprint_yaml_path="Plugins/bundles/chatkit/workflows/rag_chat.yaml",
        wait_seconds=5,
    )
    print("execution_id:", exec_id)

asyncio.run(main())

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.

iceos_client-0.1.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file iceos_client-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: iceos_client-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for iceos_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf6567b297e7e2ce10b6d24571e1ff6e6453cd185b6dd3ba18318acb209ef154
MD5 04a9bc635a5543787ac68de600168c06
BLAKE2b-256 f16e12bfc049c2ccde7fc69c90da45aed280dcf120be4dfd01c7327453e2db2b

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