Manual qa, evals, prompting, and inhouse validation steps. AI is not 100% perfect but it's working well for most use cases.