You can absolutely create a table or a file in knowledge base which clearly states what output is expected from given inputs. If you store the response in a variable after looking in that kb, you will be able to categorize it in your ai transition.
Hope this helps!