From 9941b3d881b69e47057bce3128a30ddd864f3ad4 Mon Sep 17 00:00:00 2001 From: Julia Gomes Date: Mon, 19 Aug 2024 18:46:44 -0700 Subject: [PATCH 1/2] Update Installation section of readme --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 73de221..e610248 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,11 @@ We defer readers to the arxiv paper to see the effectiveness of these prompts ag ## Installation -```bash -$ guardrails hub install hub://arize/dataset_embeddings +```python +from guardrails import install +install("hub://arize-ai/dataset_embeddings_guardrails", quiet=True, install_local_models=True) + +from guardrails.hub import ArizeDatasetEmbeddings ``` ## Usage Examples From d4b96408f4dedb16637ebb4a9551150d5b6b9b06 Mon Sep 17 00:00:00 2001 From: Julia Gomes Date: Mon, 19 Aug 2024 18:58:46 -0700 Subject: [PATCH 2/2] Remove import --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index e610248..159bc41 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,6 @@ We defer readers to the arxiv paper to see the effectiveness of these prompts ag ```python from guardrails import install install("hub://arize-ai/dataset_embeddings_guardrails", quiet=True, install_local_models=True) - -from guardrails.hub import ArizeDatasetEmbeddings ``` ## Usage Examples