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;
- CallInputs;
- Content;
- Core;
- ErrorSpan;
- FailResult;
- FormatAnnotation;
- Guard;
- GuardApi;
- HealthCheck;
- HttpError;
- Inputs;
- Iteration;
- LLMResource;
- LLMResponse;
- MetaData;
- ModelSchema;
- Outputs;
- 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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e7e28a192343919910d9a3cd2dfe19df554371482b3844c63efbe9294d32343 |
|
MD5 | 9efb7da86121cc8148fd76f37312ffd4 |
|
BLAKE2b-256 | 5d6b74e5e621155aeddd859f3699e47f57a70f932e0a5cda1fdb8f934ae717ba |
Close
Hashes for guardrails_api_client-0.3.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ea7a267071bc42ae7a0b605800457db229d4527db5489841dc6871fd424ce4b |
|
MD5 | 36f96017213bf226cb27dcb7546afcdf |
|
BLAKE2b-256 | f5d5ac0b5ff953e7b0e2de5d1ea76b13a7191fbee5b67506e1e3637e2eb51114 |