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
@@ -146,6 +145,7 @@ The package includes comprehensive examples in the [`examples/` directory](https
146
145
### Running Examples
147
146
148
147
#### Prerequisites
148
+
149
149
Before running examples, you need to build the package:
150
150
151
151
```bash
@@ -159,9 +159,11 @@ npm run build
159
159
#### Running Individual Examples
160
160
161
161
**Using tsx (Recommended)**
162
+
162
163
```bash
163
-
cd examples/basic
164
-
npx tsx hello_world.ts # Basic chatbot with guardrails
164
+
npx tsx examples/basic/hello_world.ts
165
+
npx tsx examples/basic/streaming.ts
166
+
npx tsx examples/basic/agents_sdk.ts
165
167
```
166
168
167
169
## Available Guardrails
@@ -182,6 +184,6 @@ MIT License - see LICENSE file for details.
182
184
183
185
## Disclaimers
184
186
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: [platform.openai.com/guardrails](https://platform.openai.com/guardrails)
187
+
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: [platform.openai.com/guardrails](https://platform.openai.com/guardrails)
186
188
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.
189
+
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.
0 commit comments