Python client library for the Kamiwaza AI Platform
Project description
Kamiwaza Python SDK
Python client library for interacting with the Kamiwaza AI Platform. This SDK provides a type-safe interface to all Kamiwaza API endpoints with built-in authentication, error handling, and resource management.
Installation
pip install kamiwaza-sdk
Python SDK Usage
from kamiwaza_sdk import kamiwaza_sdk as kz
# Initialize the client for local development
client = kz("http://localhost:7777/api/")
Examples
The /examples directory contains Jupyter notebooks demonstrating various use cases:
- Model Download and Deployment - A comprehensive guide to searching, downloading, deploying, and using models with the Kamiwaza SDK
- Quick Model Deployment - Streamlined approach to download and deploy models using a single function
- Model Evaluation - How to evaluate and benchmark multiple language models for performance comparison using the streamlined
download_and_deploy_modelfunction - Structured Output - Using Kamiwaza's OpenAI-compatible interface to generate structured outputs with specific JSON schemas
- Function Calling - Demonstrates how to use function calling (tools) with Kamiwaza's OpenAI-compatible API
- Web Agent - Build an AI agent that can browse and interact with web pages
- RAG Demo - Retrieval Augmented Generation using Kamiwaza's vector database and embedding services
- App Garden and Tool Shed - Deploy containerized applications and MCP Tool servers
More examples coming soon!
Service Overview
| Service | Description | Documentation |
|---|---|---|
client.models |
Model management | Models Service |
client.serving |
Model deployment | Serving Service |
client.vectordb |
Vector database | VectorDB Service |
client.catalog |
Data management | Catalog Service |
client.embedding |
Text processing | Embedding Service |
client.retrieval |
Search | Retrieval Service |
client.cluster |
Infrastructure | Cluster Service |
client.lab |
Lab environments | Lab Service |
client.auth |
Security | Auth Service |
client.activity |
Monitoring | Activity Service |
client.openai |
OpenAI API compatible | OpenAI Service |
client.apps |
App deployment | App Service |
client.tools |
Tool servers (MCP) | Tool Service |
The Kamiwaza SDK is actively being developed with new features, examples, and documentation being added regularly. Stay tuned for updates including additional example notebooks, enhanced documentation, and expanded functionality across all services.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kamiwaza_sdk-0.5.0.tar.gz.
File metadata
- Download URL: kamiwaza_sdk-0.5.0.tar.gz
- Upload date:
- Size: 52.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
790f8a39f8220447df0894563df5c79d8c8397f415ebbdb56dba034276f95929
|
|
| MD5 |
eddd19128623e049c03110a401d89356
|
|
| BLAKE2b-256 |
54e18ccf8ee8ea5f6a1ad618e1bd7a18ce58ed06253d8eae2fea5799c93ea814
|
File details
Details for the file kamiwaza_sdk-0.5.0-py3-none-any.whl.
File metadata
- Download URL: kamiwaza_sdk-0.5.0-py3-none-any.whl
- Upload date:
- Size: 69.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcd5e6ccfaf3ea108c807cb6b20573fdae255a40e98ce207e270fe34bdf60ed1
|
|
| MD5 |
4ad2e6ea17abc7a2a9f6360102230edc
|
|
| BLAKE2b-256 |
afc6016d9e3ab2a880618dd5423c644b23bb7dec550e71b3a62039db967c6791
|