Bismihi ta'ala
If all necessary shar'i boundaries are observed as far as interaction with a non-mahram person of the opposite gender, then there would not be any problem.
For example, it being in open area, being careful of what type of conversation it is, avoiding lustful gazes, etc..
Another thing that could be applicable to certain situations like this is to avoid accusations or suspicious thoughts from others who might see you, but this would depend where you are and what is culturally appropriate in the place you live in.
And Allah knows best