You build robust system that uses AI to talk to your AI Phone agent then you can have AI anylaze the transcript and make improvements on where the AI goes wrong
I really features bland has for this in bland pathways they have unit testing functionality, a functionality to measure the cosine similarity between actual response & intended responses and they also log if the AI actually passed the condition to move on to the next step of the prompt