This PR adds a basic start command to the guardrails cli. This command checks if the guardrails-api module is installed, if it is not, then it installs it (currently a local install until we publish), then it calls the guardrails-api cli's start command. This starts the guardrails-api on localhost:8000.
We also add a new dependency group so users can install with the api from the start if they wish.
This PR adds a basic
start
command to the guardrails cli. This command checks if the guardrails-api module is installed, if it is not, then it installs it (currently a local install until we publish), then it calls the guardrails-api cli's start command. This starts the guardrails-api on localhost:8000.We also add a new dependency group so users can install with the api from the start if they wish.
Dependencies
https://github.com/guardrails-ai/guardrails/pull/804 https://github.com/guardrails-ai/guardrails-api/pull/44
Cannot be merged until the above two PRs are merged and released.
TODO's