Skip to content

Python SDK

SOVR Python SDK 提供了完整的 Python 客户端库。

安装

bash
pip install sovr-sdk

快速开始

python
from sovr_sdk import SOVRClient

client = SOVRClient(
    base_url="https://api.sovr.ai",
    api_key="your-api-key"
)

# 创建决策
decision = client.create_decision(
    action="send_email",
    context={"to": "user@example.com"},
    risk_level="low"
)

文档

Released under the MIT License.