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;
- CallException;
- CallExceptionAnyOf;
- CallInputs;
- Content;
- Core;
- FailResult;
- FormatAnnotation;
- Guard;
- GuardApi;
- GuardHistory;
- GuardHistoryAnyOfInner;
- HealthCheck;
- HttpError;
- Inputs;
- Iteration;
- LLMResource;
- LLMResponse;
- MetaData;
- ModelSchema;
- Outputs;
- OutputsException;
- 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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f2e7f0662f4b43db5f9e697de6d8b4873d87e6697bcd897c9e6bc05d9b1a4fe |
|
MD5 | db6896d6463596d8229b530745023eb6 |
|
BLAKE2b-256 | df1fce0a2c64c7b5bc5fd45996c85604c2b75aef6f12e2ed478312c4c0d0395e |
Close
Hashes for guardrails_api_client-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fecc219b683cacccbf62d8dae9290561df5cbb878cb2dc92e36bd3920e370d7 |
|
MD5 | ebecd90087da71aa689d921a615b04e7 |
|
BLAKE2b-256 | 0e63c833d8f88ad782b873f974931224d44ca228f1c3fc58b3b22d18aa67277c |