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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4fa8cf3bad43c78f77f432d0649b849dd6ada7fdaccf95ee3a1a291050d9cb1 |
|
MD5 | 55eb1f79d1dc9fe9ee10f9995ab23cd2 |
|
BLAKE2b-256 | e48f204e1dbc8544e54d92f896058f7386b81cbff0edb94b8fb74b5206cc37a8 |
Close
Hashes for guardrails_api_client-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78928361fde71f7f139ab63e29947e897a2ed0854d0b935e6960689e9426496a |
|
MD5 | 5f05449c263522db844157fdf7cfd272 |
|
BLAKE2b-256 | 7cc2b991b7af8ab6cb4c2bf8f481274658ec68ca0a3efaff4224abd726d7225a |