guardrails-ai / guardrails

Adding guardrails to large language models.
https://www.guardrailsai.com/docs
Apache License 2.0
3.6k stars 259 forks source link

Start Command #828

Closed CalebCourier closed 6 days ago

CalebCourier commented 2 weeks ago

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

notion-workspace[bot] commented 2 weeks ago

Start command

notion-workspace[bot] commented 2 weeks ago

Start command

notion-workspace[bot] commented 2 weeks ago

Start command