Parser SPAMING the API with garbage #9511
compatible9
started this conversation in
General
Replies: 1 comment
-
Just found this code inside the file: "https://github.com/infiniflow/ragflow/blob/main/api/utils/api_utils.py" Why do the taskexecutor needs to spam the model apis? async def is_strong_enough(chat_model, embedding_model):
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After upgrading to 20.1 just found out that for any reasong the parsing process is sending a lot more than the document to be parsed to the OpenAI API.
I am parsing a knowledgebase with over 110,000 documents and there is a lot of spam going to the api with the work "Are you strong enough!?" consuming lots of tokens.
Please see pictures from the OpenAI Logs:


Beta Was this translation helpful? Give feedback.
All reactions