Fix guardrails examples link

Link to input and output guardrails examples
This commit is contained in:
Pierangelo Di Pilato 2025-03-11 18:26:56 +01:00 committed by GitHub
parent 72f443149a
commit 832d9a99c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,4 +51,4 @@ You can definitely do this without any special Agents SDK features by using para
This is really useful for latency: for example, you might have a very fast model that runs the guardrail and a slow model that runs the actual agent. You wouldn't want to wait for the slow model to finish, so guardrails let you quickly reject invalid inputs. This is really useful for latency: for example, you might have a very fast model that runs the guardrail and a slow model that runs the actual agent. You wouldn't want to wait for the slow model to finish, so guardrails let you quickly reject invalid inputs.
See the [`guardrails.py`](./guardrails.py) file for an example of this. See the [`input_guardrails.py`](./input_guardrails.py) and [`output_guardrails.py`](./output_guardrails.py) files for examples.