Guardrails API Client
Client libray for utilizing Guardrails AI via the API
Installation
pip install guardrails-api-client
Development
git clone https://github.com/guardrails-ai/guardrails-api-client.git
cd guardrails-api-client
npm ci
cp ./service-specs/guardrails-service-spec.yml ./open-api-spec.yml
npm run openapi-gen
bash ./py-build.sh
Documentation For Models
- AnyType;
- Applicator;
- ArgsAndKwargs;
- ArraysInner;
- Call;
- CallInputs;
- Content;
- Core;
- ErrorSpan;
- FailResult;
- FormatAnnotation;
- Guard;
- GuardApi;
- HealthCheck;
- HttpError;
- Inputs;
- Iteration;
- LLMResource;
- LLMResponse;
- MetaData;
- ModelSchema;
- OpenAIChatCompletion;
- OpenAIChatCompletionPayload;
- OpenAIChatCompletionPayloadMessagesInner;
- OpenaiApi;
- Outputs;
- OutputsParsedOutput;
- OutputsValidationResponse;
- PassResult;
- Primitives;
- Reask;
- ServiceHealthApi;
- SimpleTypes;
- Unevaluated;
- ValidateApi;
- ValidatePayload;
- Validation;
- ValidationOutcome;
- ValidationOutcomeValidatedOutput;
- ValidationResult;
- ValidationSummary;
- ValidationType;
- ValidatorLog;
- ValidatorLogInstanceId;
- ValidatorLogValidationResult;
- ValidatorReference;
Metadata
Release files for guardrails-api-client 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| guardrails_api_client-0.4.0.tar.gz | 57.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guardrails_api_client-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 167.9 kB
Release files / guardrails_api_client-0.4.0.tar.gz
| Download URL | guardrails_api_client-0.4.0.tar.gz |
|---|---|
| Size | 57.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05f636bdc332fd3304007f564bca92b43ce9beb531ea3606d2cbdcbe97ab2c6f
|
|
BLAKE2b-256 checksum How to use checksums |
154399c9dad97e8cfca2e17e1eeefa654c8d6099108ac2b540bae762b75d14db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / guardrails_api_client-0.4.0-py3-none-any.whl
| Download URL | guardrails_api_client-0.4.0-py3-none-any.whl |
|---|---|
| Size | 110.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c936a1afb3373828c63a4f1cd17b876621a0e25dc334706bf63c041e03f1a90
|
|
BLAKE2b-256 checksum How to use checksums |
255cd9fc258f5b2b9294ff7312d7b29c0395cb26167effccdb8c34cf7f96dcdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|