I am using the assistants function but I get 2 errors

We are using the assistant function but when it comes to receiving the responses they have some details that we would like to know if they can be omitted in some way:
1- Within the answers come the annotations.
2- In some cases, when consulting the files, it responds in another language.

Did you specifically ask in the assistant prompt to NOT include annotations ever. And did you also, in the assistant prompt specifically ask that every part of the answer be a in specifc langauge?

1.) Are you using Knowledge Retrieval /File IDs in your initial call, if so it will grab those annotations, but you can perhaps use regex to remove the annotation [N Sources] from the returned string?
2.) Does the document contain another language? If so you may need to specifically prompt to only respond in your desired language