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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b2da58baaa5449c06a4f74828078a79ce8e27121f600764e2a5b7be6aa0355c |
|
MD5 | 44b89003db5a10592ce205b4a13ac630 |
|
BLAKE2b-256 | f1313170b5127b881c940d4636fbb259bb7a094448de81ca30e0a369a3cb7c59 |
Close
Hashes for guardrails_api_client-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a6b28d11848c129d5474663e3bed9be3180c25a303709c388da62054b2c0621 |
|
MD5 | 1f3803ebd91a93c1e66af48ea6c8afca |
|
BLAKE2b-256 | cd8f4cc376c4fa96856dff49a181d70f8664dd5b9a3504946821fe72e7037e31 |