Reminder: DPT-1 Will Be Deprecated Soon!

Sending you a reminder that we are deprecating DPT-1 soon! If you’re still using DPT-1, make sure to update your code!

What is DPT-1?

Our Document Pre-Trained Transformers (DPTs) are the models that power our parsing capabilities. DPT-1 is our original DPT.

We have since released DPT-2, which offers improved parsing capabilities.

How do I know if I’m using DPT-1?

You are using DPT-1 if:

  • You’re using the agentic-doc library. This library has been archived and should no longer be used. Use our new Python library instead: https://github.com/landing-ai/landingai-python

  • You’re calling this endpoint: /landing.ai/v1/tools/agentic-document-analysis. This is our legacy endpoint. Use the ADE Parse endpoint instead.

  • You specify the DPT-1 parameter in your code: model=dpt-1. Set the model to the latest version of DPT-2 instead: model=dpt-2-latest.

How do I get help if I’m not sure how to update my code?

First, here are some resources to help you learn more about these changes and DPT-2:

You can also feel free to respond directly to this post or contact us at support@landing.ai!