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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603048911bc3bf2332f2f64604b5c05a92228898cf82c79612da167c9b4a9089 |
|
MD5 | 83605eb9d91a31122953e86597c68494 |
|
BLAKE2b-256 | c26065d0cf4c539b52111cb2c3e0e95186634d8175d09d640945590ae24e1260 |
Close
Hashes for guardrails_api_client-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d51902f0387a4dfed41943eb3984bc02b5c0c229b5d9c7be47899ef299821e |
|
MD5 | 033e5f3e34aac38ae65a412564f4d176 |
|
BLAKE2b-256 | eab7154a8557f83a6af3a8924121a241d660fae12e8562512de801626281b896 |