Skip to main content

Duplicated extractions from invoice

Hello,

My model is used for extracting invoices and their line items. I've noticed that it extracts several item lines twice, but this only happens during live tests and when using the JAVA SDK. It doesn't occur with RAG documents, even when I use the same file.

Could you please help me identify the cause of this issue ?

Thank you in advance

Best regards

Status: Completed3 comments

Log in to comment and vote

Comments3

  • Ianaré Sévi

    Team•

    Aug 4, 2025

    Hi, have you tried activating the RAG feature in the SDK?

    The documentation is here:

    https://docs.mindee.com/integrations/client-libraries-sdk/configure-the-client#tab-java-1

    • Said El haddati

      •

      Aug 4, 2025

      Hello,
      Yes I already did

      • Ianaré Sévi

        Team•

        Aug 4, 2025

        There should be no difference between the RAG on the platform and RAG when being called from Java.

        Can you try calling with the same file as on the platform?

        Also, try running the file several times, this is to see if there is some inconsistency in the model or if the issue is really from the Java code.

        Thanks