Design an AI gateway | Decagon Interview Question