[Bug]:RAG reports an error when the attached document is very large #3348
Replies: 3 comments 1 reply
-
it's hard to debug because it worked during my initial tests, but now it doesn't work for me either |
Beta Was this translation helpful? Give feedback.
-
I have found another file where the same situation occurs, it is a saved web page file, the original web page: https://github.com/ShiArthur03/ShiArthur03 |
Beta Was this translation helpful? Give feedback.
-
@berry-13 @danny-avila
It would be very helpful if the system could return an explicit error message indicating that the input text is too long due to token limits. Would it be possible to implement such a fix? |
Beta Was this translation helpful? Give feedback.
-
What happened?
I uploaded a very large txt document and RAG reported an error
Here are the logs, my api backend is load balanced between openai and azure
《西游记》.txt
Steps to Reproduce
Normal document upload
System performs search
Error reported
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions