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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45aa2c40d3e29d77da214258cef4d5b1926ec5d329a3bf3c67c7c40fd0685097 |
|
MD5 | a7cab19d56a0ca5be557550f2b854311 |
|
BLAKE2b-256 | 6f9471470d60ad9b9db79f771428bdb1f15ec8c11318d088aef16a1db384d3e8 |
Close
Hashes for guardrails_api_client-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04783581fe95dc576f33de34ade9dfbe64c99a707b179ad88ee7eee8674f7381 |
|
MD5 | 79312dea147bcf6f916f9b00cf776952 |
|
BLAKE2b-256 | 8342a6475c11e9892bbb19765f5c7960972d4ddb52a2aa6146cb44a3a9865b91 |