Maybe some context would help. Since I knew many of the folks visiting our website would assume our live chat was a chatbot, the initial message in our chat said "Hi, I'm Erica! I'm a real person, and one of the founders of [name of my company.] What questions can I answer for you today?"
I put that in there specifically to circumvent people asking if this was a bot.
The person who kept asking me to answer simple math questions had the context of this being the initial interaction. Furthermore, he didn't stop at asking once. He continued to repeatedly ask me to answer math questions, and when I asked him to please ask a question about our product or service, he would refuse and smirk about how I was obviously a bot because I refused to play his game.
It was this repeated questioning that turned it into harassment, from my perspective. And this single interaction was part of a pattern of harassment, both sexual and otherwise, that I've seen manning B2B SaaS chats.
I can also attest that men who've run the same live chats, at the same companies, with their avatars and real names do not get this sort of harassment at all. In fact, they have been shocked at the level of harassment received by simply having a female face and/or name.