Parser SPAMING the API with garbage #9511
Replies: 3 comments
-
|
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.
-
|
@compatible9 Understood, we have noted it down. |
Beta Was this translation helpful? Give feedback.
-
|
Hi! Sorry about it. It's our ping message. Will talk to our eng team about it to see if we can make it better. cc @KevinHuSh |
Beta Was this translation helpful? Give feedback.
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