VIAVI Solutions Interview Question

How will you make sure the output given by AI agent is correct?