Where should you draw the line while talking to people of opposite sex when you are in a relationship?

Without knowing anything about you, I would have no idea how to answer this question.

Is your partner/are your partners jealous when you talk to people of a different gender? That seems to be a more useful issue that all of you could start discussing.

Do you not trust yourself around people of a different gender? If so, it seems you have some work to do around making promises you don’t intend to keep.

At any rate, the most superficial thing you could do is set up an arbitrary rule around when, where, and how you communicate with others. That pressures the other person/people to play police officer in your relationship, and it’s inherently unfair to all involved.

Instead, try trusting each other, be trustworthy, show each other you care, and only make promises you’re fully on board with fulfilling. If you all can do these four things consistently, feel free to talk away happily with whomever you choose.