guardrails-ai / guardrails

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

[feat] Support different log levels for guardrails cli hub install #700

Open ShreyaR opened 6 months ago

ShreyaR commented 6 months ago

Description Currently, the logs generated by guardrails hub install do not use a logger. This causes two issues:

  1. The cli download logs can't be configured to be more / less verbose.
  2. The logs can't be captured by an automated log capturing system.

For more info, see @CalebCourier's comment here https://github.com/guardrails-ai/guardrails/pull/696#discussion_r1553657982

CalebCourier commented 6 months ago

@ShreyaR and @zsimjee I think we should bump this soon. I'm installing detect_pii and it's been on post-install for over 5 minutes now. Before we switched over to rich console the user would see the spacy download progress bar but now it just looks like it's stuck.

Before

Screenshot 2024-04-18 at 12 16 01 PM

Now

Screenshot 2024-04-18 at 12 11 48 PM
github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.

zsimjee commented 2 weeks ago

Unstale