Guardrail
Meaning in software engineering, with examples
In software engineering, guardrail means: A rule or check placed around a model to stop harmful, off-topic or unsafe inputs and outputs, for example a filter that blocks personal data in answers.
In Turkish: güvenlik bariyeri, koruma mekanizması
How it is used
Usually plural: teams add, test and tune guardrails on both the input and the output side. Guardrails can be simple rules, classifier models or a second LLM that checks the first. The word comes from the metal barriers along roads.
Example sentences
The guardrails block any answer that contains a credit card number.
After launch we retuned the guardrails, because they were also blocking normal medical questions.
Common collocations
- add guardrails
- safety guardrails
- input and output guardrails
- guardrail model
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: Machine Learning and Data Processing
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
