SDK for PINAI Intent Match API
Project description
PINAI Intent SDK
PINAI Intent SDK 是一个用于与 PINAI Intent Match API 交互的 Python 客户端库。
安装
pip install pinai-intent-sdk
快速开始
from pinai_intent_sdk import PINAIIntentSDK
# 初始化 SDK
sdk = PINAIIntentSDK(base_url="https://api.pinai.io", api_key="your-api-key")
# 注册新的 agent
agent = sdk.register_agent(
name="My Agent",
category="general",
description="A general purpose agent",
api_endpoint="https://my-agent-endpoint.com",
capabilities=["text", "image"],
pricing_model={"per_request": 0.001},
response_time=1.0
)
功能特性
- Agent 注册与管理
- Agent 性能指标监控
- 支持多种过滤条件的 Agent 查询
文档
详细文档请访问 https://docs.pinai.io
Project details
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
File details
Details for the file pinai_intent_sdk-0.1.0.tar.gz
.
File metadata
- Download URL: pinai_intent_sdk-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4645697022d6c6b8bfe186d26bcdcbbe06e76e260ccee0c61d9fa9042debb68 |
|
MD5 | 8b3bbc98ba107637df4e02f02b91939e |
|
BLAKE2b-256 | 65cc7422ed70b0a348eed1ab7e3619ef0d3f21a8371908e914438180d4026125 |
File details
Details for the file pinai_intent_sdk-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pinai_intent_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 934ffe4c4aba850f2e7b20f91ed7ad35aa652c5d4e175470b696aad95b23da2e |
|
MD5 | 1137c8b83d9a669614565bb86a3304d4 |
|
BLAKE2b-256 | 0b1d865e61c83d9d785848b9d144d16a5fc9fb0af4200e2edee48bdd43da094f |