Restrict to domain

Hi guys, is it possible to restrict a chat to within a certain domain to avoid general conversation outside of the scope of an application. I am thinking you could do this using the prompt maybe?

Perfect thank you for taking the time to help mate!