Installing GuardRails AI
Guardrails AI runs anywhere your python app runs. It is a simple pip install away.
Currently in beta, GuardRails AI maintains both stable and pre-release versions.
Different versions can be found in the PyPi Release History: https://pypi.org/project/guardrails-ai/#history
Install Pre-Release Version
To install the latest, experimental pre-released version, run:
Install specific version
To install a specific version, run:
Install from GitHub
Installing directly from GitHub is useful when a release has not yet been cut with the changes pushed to a branch that you need. Non-released versions may include breaking changes, and may not yet have full test coverage. We recommend using a released version whenever possible.
Recommended Python Dependency Versions
The GuardRails package doesn't support pydantic versions 2.0.0 and above. We recommend using pydantic version 1.10.9.