You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that Guardrails may use Third-Party Services such as the [Presidio open-source framework](https://github.com/microsoft/presidio), which are subject to their own terms and conditions and are not developed or verified by OpenAI.
185
+
Please note that Guardrails may use Third-Party Services such as the [Presidio open-source framework](https://github.com/microsoft/presidio), which are subject to their own terms and conditions and are not developed or verified by OpenAI. For more information on configuring guardrails, please visit: [guardrails.openai.com](https://guardrails.openai.com/)
195
186
196
187
Developers are responsible for implementing appropriate safeguards to prevent storage or misuse of sensitive or prohibited content (including but not limited to personal data, child sexual abuse material, or other illegal content). OpenAI disclaims liability for any logging or retention of such content by developers. Developers must ensure their systems comply with all applicable data protection and content safety laws, and should avoid persisting any blocked content generated or intercepted by Guardrails.
Test with included demo files in our [github repository](https://github.com/OpenAI-Early-Access/guardrails/tree/main/guardrails/src/guardrails/evals/eval_demo)
18
-
19
17
## Dependencies
20
18
21
19
The evals tool is included with the TypeScript package. No additional dependencies are required.
@@ -41,7 +39,7 @@ The evals tool is included with the TypeScript package. No additional dependenci
41
39
42
40
Export a configuration from the Guardrails Wizard UI and pass its path via `--config-path`.
43
41
44
-
- Open the [Wizard UI](https://oaig-whisper-yonder-xnjpy2.vercel.app/guardrails)
42
+
- Open the [Wizard UI](https://guardrails.openai.com/)
45
43
- Configure the guardrails you want to evaluate
46
44
- Use Export to download the config file (JSON)
47
45
- Run the evaluator with `--config-path /path/to/exported_config.json`
@@ -162,4 +160,4 @@ npm run eval -- --config-path config.json --dataset-path data.jsonl --base-url h
162
160
## Next Steps
163
161
164
162
- See the [API Reference](./ref/eval/guardrail_evals.md) for detailed documentation
165
-
- Use [Wizard UI](https://oaig-whisper-yonder-xnjpy2.vercel.app/guardrails) for configuring guardrails without code
163
+
- Use [Wizard UI](https://guardrails.openai.com/) for configuring guardrails without code
Ready-to-run examples demonstrating Guardrails in various scenarios. See the [`examples/`](https://github.com/OpenAI-Early-Access/guardrails-js/tree/main/examples/) folder for complete implementations.
3
+
Ready-to-run examples demonstrating Guardrails in various scenarios. See the [`examples/`](https://github.com/openai/openai-guardrails-js/tree/main/examples/) folder for complete implementations.
-[local_model.ts](https://github.com/OpenAI-Early-Access/guardrails/tree/main/guardrails-ts/examples/local_model.ts) — OpenAI-compatible local endpoint
Copy file name to clipboardExpand all lines: docs/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Guardrails
2
2
3
-
**Guardrails** is a safety framework for LLM applications that automatically validates inputs and outputs using configurable checks. Use the [Guardrails Wizard](https://guardrails-vercel-git-main-openai.vercel.app/guardrails) to create configurations, then drop in our client classes for automatic validation.
3
+
**Guardrails** is a safety framework for LLM applications that automatically validates inputs and outputs using configurable checks. Use the [Guardrails Wizard](https://guardrails.openai.com/) to create configurations, then drop in our client classes for automatic validation.
Copy file name to clipboardExpand all lines: docs/quickstart.md
+22-36Lines changed: 22 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ export OPENAI_API_KEY=sk-...
16
16
17
17
## Create Pipeline Configuration
18
18
19
-
The fastest way is using the [Guardrails Wizard](https://guardrails-vercel-git-main-openai.vercel.app/guardrails) - a no-code tool for creating configurations.
19
+
The fastest way is using the [Guardrails Wizard](https://guardrails.openai.com/) - a no-code tool for creating configurations.
20
20
21
21
Or define manually:
22
22
@@ -60,15 +60,7 @@ import { GuardrailsOpenAI } from '@guardrails/guardrails-ts';
Copy file name to clipboardExpand all lines: docs/ref/exceptions-typescript.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,6 @@ export class GuardrailExecutionError extends GuardrailError {
23
23
-`GuardrailNotFoundError`: referenced guardrail name not registered.
24
24
-`GuardrailExecutionError`: runtime failure within a guardrail (optional `cause`).
25
25
26
-
For the full source, see [guardrails-ts/src/exceptions.ts](https://github.com/OpenAI-Early-Access/guardrails/blob/main/guardrails-ts/src/exceptions.ts) in the repository.
26
+
For the full source, see [src/exceptions.ts](https://github.com/openai/openai-guardrails-js/blob/main/src/exceptions.ts) in the repository.
Copy file name to clipboardExpand all lines: docs/ref/types-typescript.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,6 @@ export type TIn = unknown;
58
58
exporttypeTCfg=object;
59
59
```
60
60
61
-
For the full source, see [guardrails-ts/src/types.ts](https://github.com/OpenAI-Early-Access/guardrails/blob/main/guardrails-ts/src/types.ts) in the repository.
61
+
For the full source, see [src/types.ts](https://github.com/openai/openai-guardrails-js/blob/main/src/types.ts) in the repository.
0 commit comments