Skip to content

[bug] guardrailshub is very inconsistent when using them in docker. #1181

@pack0shades

Description

@pack0shades

the guradrails hub is not working as expected it is giving 403 error for token authentication even if you create a fresh api while installing regex_match, and toxic_language in docker container
To Reproduce
Steps to reproduce the behavior:

  1. make a dockerfile

ARG GUARDRAILS_API_KEY

ENV GUARDRAILS_API_KEY=${GUARDRAILS_API_KEY}

RUN pip install guardrailsai[api]

RUN guardrails configure --enable-metrics --enable-remote-inferencing --token $GUARDRAILS_API_KEY

RUN guardrails hub install hub://guardrails/regex_match

RUN guardrails hub install hub://guardrails/toxic_language

Expected behavior
it should be installing regexMatch and toxicLanguage validators but not working

Library version:
Version 0.5.15

Metadata

Metadata

Assignees

Labels

StalebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions