Guardrails API Client.
Project description
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;
- Outputs;
- OutputsParsedOutput;
- OutputsValidationResponse;
- PassResult;
- Primitives;
- Reask;
- ServiceHealthApi;
- SimpleTypes;
- Unevaluated;
- ValidateApi;
- ValidatePayload;
- Validation;
- ValidationOutcome;
- ValidationOutcomeValidatedOutput;
- ValidationResult;
- ValidationType;
- ValidatorLog;
- ValidatorLogInstanceId;
- ValidatorLogValidationResult;
- ValidatorReference;
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
Close
Hashes for guardrails_api_client-0.3.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e1e45cddf727534a378bc99f7f98da0800960918c75bda010b8bc493b946d16 |
|
MD5 | ddee8c1085e18fd73f81f086e3bb0b6a |
|
BLAKE2b-256 | 8c038bb0e8c67260bb642059e8abea99c2f414c716e86a081f6f5ca6d2fd393b |
Close
Hashes for guardrails_api_client-0.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2becd5ac9c720879a997e50e2a813d9e77a6fb1a7068a96b1b9712dd6dd9efb8 |
|
MD5 | e4be98c93c0b0c25cc184629999e8330 |
|
BLAKE2b-256 | 9a04d22a5354c88f2eb58e1b8bc67296587189e2eb323604ed2876e65be79e01 |