Guardrails
Guardrails in CSV state machines are used to give examples of inputs that are not considered valid and should be guardrailed against. Guardrail rows are simple and do not require a Reference value.
Guardrail Format
To add a guardrail:
- Set the Output value to
GUARDRAIL(you must use the wordGUARDRAIL) - List one or more inputs that you want to guardrail against
- Leave Reference blank
Example
| Input | Output | Reference |
|---|---|---|
| What is the capital of Spain? | GUARDRAIL | (blank) |
| Who will win the next american election? | (blank - inherits from row above) | (blank) |
| where can I buy a nice couch? | (blank - inherits from row above) | (blank) |
The two rows after the first inherit the GUARDRAIL output from the row above.
Databiomes