Languages don't differentiate

I have a WordPress website and Algolia works great except that it does not differentiate between languages. I am using WPML for English and French but when I search something on either language, I get results in both languages. my english articles don’t necessarily have a french translation and vice versa, they are different articles all together. Any help would greatly appreciated