PROMPTS & APIs • 83 / 397
Understand how applications send instructions to models and handle production API behavior.
Role Prompting
Role prompting tells the model what perspective or job to adopt.
Think of it like
Think of Role Prompting like a restaurant or service desk: the request must reach the right endpoint in the right format and the response must be handled safely.
Real life
Web applications use concepts such as Role Prompting to communicate with external services.
SRE lens
“Act as an SRE incident analyst” narrows tone and priorities.
Remember thisRole prompting tells the model what perspective or job to adopt.