Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Can I use without CLI ? #1069

Open
3 tasks
ArpitSisodia opened this issue Sep 13, 2024 · 5 comments
Open
3 tasks

[docs] Can I use without CLI ? #1069

ArpitSisodia opened this issue Sep 13, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation Stale

Comments

@ArpitSisodia
Copy link

Description
[Add a clear description of the documentation issue or improvement suggestion]

Current documentation
[Provide a link to the current documentation page or section that needs attention]

Suggested changes
[If you have specific changes in mind, describe them here. Be as detailed as possible]

Additional context
[Add any other context, screenshots, or examples that could help explain the issue or improvement]

Checklist

  • I have checked that this issue hasn't already been reported
  • I have checked the latest version of the documentation to ensure this issue still exists
  • For simple typos or fixes, I have considered submitting a pull request instead
@ArpitSisodia ArpitSisodia added the documentation Improvements or additions to documentation label Sep 13, 2024
@dtam
Copy link
Contributor

dtam commented Sep 13, 2024

hi @ArpitSisodia can i get some more details by what you mean? where are you looking to use guardrails? you can achieve most things through the python code. the cli is built with it.

Copy link

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 github-actions bot added the Stale label Oct 14, 2024
Copy link
Collaborator

zsimjee commented Oct 14, 2024

Hello,

Logging in to the hub is required for some validators, and all validators beginning next week.

You can still do this without the cli by configuring a ~/.guardrailsrc file with a token found on https://hub.guardrailsai.com/keys.

You can install validators from the hub in code using

from guardrails import install
install(HUB URI)

I recommend using the CLI for the best experience.

@github-actions github-actions bot removed the Stale label Oct 15, 2024
@ArpitSisodia
Copy link
Author

hi @ArpitSisodia can i get some more details by what you mean? where are you looking to use guardrails? you can achieve most things through the python code. the cli is built with it.

i am developing a package of guards where i have taken some of the guards from guardrail-ai and many other guards ( from hugging face and llm_guards package) , i am not able to use cli as this will be a package (sdk) so i want to pypass cli configuration.

pip install telecom_guards [ this is wrapper to guardrail ai and other guards methods] #this way to install
telecom_guards.gibberish(args) # this wau to use

Copy link

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 github-actions bot added the Stale label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Stale
Projects
None yet
Development

No branches or pull requests

3 participants