AI Guardrails provides official SDKs for Java, PHP (5.3 or later), and Python (2.7 or later). If your project uses a different language, you have two options: download a third-party SDK or call the service directly over HTTP.
Third-party SDKs
The following third-party SDKs are available for C#, C++, Node.js, Python (3.5), and Go. These SDKs are community-collected and provided for reference. Alibaba Cloud does not maintain them.
Download the third-party SDKs (C#, C++, Node.js, Python 3.5, Go)
These SDKs are for reference only. Alibaba Cloud does not provide ongoing maintenance. If you encounter issues, modify the SDK as needed. For setup requirements, see Development preparations for AI Guardrails.
Call the API over HTTP
For any language not covered by the SDKs above, build an HTTP request to call the AI Guardrails API directly. See the following references to get started:
Invocation methods — request format, authentication, and signature process
API reference — full list of operations and parameters