Avoid literal instruction traps
gpt-realtime-2 follows instructions more literally than earlier realtime models. Prompts that worked well on older models may need tuning.
Use precise language. The model may prioritize the exact wording of an instruction over the broader behavior you intended. Broad or rigid rules can dominate the assistant's behavior in surprising ways, especially when multiple rules overlap.
Be careful with constraint words such as must, only, never, and always. Use them when the behavior is truly required, not as general emphasis. Overusing hard constraints can make the assistant rigid, overly cautious, or unable to handle reasonable exceptions.
Prefer precise scope:
For write actions that modify user data, ask for confirmation before calling the tool.Avoid broad scope:
Always ask for confirmation before doing anything.The broad version may cause unnecessary confirmations before harmless read-only lookups, such as checking order status, retrieving availability, or reading account information.
Literal interpretation example
Example literal interpretation trap
This prompt is too narrow:
When a confirmation code is provided, repeat it verbatim and wait for a clear yes.User message:
My order ID is ORD-3125B23.
Possible failure:
The model may not apply the rule because the user provided an order ID, not a confirmation code. The intended behavior is clear to the developer, but the instruction's scope is too narrow.
Safer rewrite:
When the user provides an exact identifier, including confirmation codes, order IDs, ticket IDs, reset PINs, claim numbers, tracking numbers, or account numbers, repeat the captured value and wait for confirmation before using it in a tool call.General prompting recommendations:
- Prefer explicit instructions over implied intent.
- Avoid unnecessary constraint words unless behavior truly must be rigid.
- Minimize contradictory guidance.
- Be cautious with layered or competing priority instructions.
- Test prompts incrementally. Small wording changes can have large behavioral effects.
- When migrating from earlier realtime models, expect some prompts to require restructuring for best results.