Ramp, the fintech app for business expense management, launched a feature where an employee can text and ask "can I expense this?" and an AI agent answers based on their company's policy. It got very good feedback online, in reviews and LinkedIn posts. We tried to reverse-engineer it, to see what accuracy you could expect if you built the same thing from scratch, which instructions work best, and where it fails.

The setup

We prepared three versions of the system prompt, all referencing the same expense policy. We did not have a real policy on hand, so we generated one with AI and used that same policy across all three prompts, formatted differently each time.

Enjoyed reading? Add us as a preferred source in Google to support us.

Add Lovelaice as a preferred source