Keep Responding in the wrong language despite the prompt template instructing to reply in a specific language

#132
by tdecae - opened

Hi, the title says it all, we keep getting answers back in the wrong language (English when it should be Spanish). Could this be due to the fact that some of the documents that were embedded and stored were in English as well as Spanish? and if so, do we need a separate pipeline (one for english, with only english docs, and another for spanish with only spanish docs..). We could run langdetect to divert incoming messages but this seems like a lot of bother. Is there another way to fix this?
Thanks

Sign up or log in to comment