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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d283cee526f462145099a1dc2679bf8f482f92542af6d4c9319c196b36711a3 |
|
MD5 | bbb66bf040c8b868fbac94470156450b |
|
BLAKE2b-256 | 40a2905bb32a34a095c9e89125cda156e2d08d85a030b093be4c55e7f0785437 |
Close
Hashes for guardrails_api_client-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af4ee5821bbff159794cc95feb4f0baf3530d5fd971b4a4020986e34936ea65d |
|
MD5 | ce4efe0a83f67879f6f4be8671c5dad8 |
|
BLAKE2b-256 | cc5be4584628f51f2d4f5fca676a6c1fbfc8259567808364c70dd5620d5e57a2 |