Assistant api knowledge of uploaded files

My goal was to make a chatbot to answer questions based on the uploaded files. I have set the assistant with some instruction s and [ ] fileid but the assistant loss the context and may not give answers .