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;
- OpenAIChatCompletion;
- OpenAIChatCompletionPayload;
- OpenAIChatCompletionPayloadMessagesInner;
- OpenaiApi;
- 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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dac110182381cd779579c217028534db20168dd659f2484c5c2d21aa9560d2fc |
|
MD5 | 15da016f92bfbc88ab40dfd515f350ce |
|
BLAKE2b-256 | be381d9807e3c0b8b33e0c62ecd2c22ff645c3f4553f851aa576369e13e6cc8d |
Close
Hashes for guardrails_api_client-0.3.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24110690669007ca276ddfea928770c9e1ba360e4a70b06cb6e63aceffd0d4f |
|
MD5 | df130cb765ee4c7ed24141f037673e88 |
|
BLAKE2b-256 | 30b0d756abbcd4d275b91fd759e5bfa1cabaaab658531b8ed3f2ff3dcdd1ac16 |