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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d541b2a720cdf2627824d657d6ccbeaff8678e2390b046ead7bba7578d09bd8 |
|
MD5 | 5da365ff0c0f5875c0f43191a3bd1e5b |
|
BLAKE2b-256 | d5bc3368a1fbf2fff79d0eec8b60b81a47e4e9e3845f7bc1467df5bc55036132 |
Close
Hashes for guardrails_api_client-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 894379bd4c04bce8a98b7e022179d4b12f36329f4c337ea3351b6aa1d5c15b7b |
|
MD5 | 603ad1a2fea06cb6efbe8241cf34d6cf |
|
BLAKE2b-256 | c429110dd532298d6ffacdea16b81559b73ad1aae3fce46c0223eaf41a875e00 |