Discussion about this post

User's avatar
Romee Panchal's avatar

Good post! I think of guardrails as edge cases in a software program. Identify the valid inputs and invalid inputs early. Then design your prompt including both valid and invalid inputs. Don’t fully rely on prompts. Put hard checks such as using regex as well.

Expand full comment
1 more comment...

No posts