RAG technique using Document Extraction API.

Hi,

I’m a vibe coder. I want to say i’ve invested >200hrs learning via youtube and DLAI (deeplearningai.com), so I know enough to ask questions.


Question: What is the recommended technique to ingest parsed PDF that contains both text and images into a RAG vector database like (Qdrant, Weaviate, ChromaDB)?


Today, not using LandingAI Document Extractor Details: (A PDF of technical documentation).

  • Currently, I am playing with Gemini 2.0 to parse PDF to text

  • Also, creating metadata support both dense and sparse vectors for hybrid rag.

  • Then, I do text chunking with recursive character text splitter to ingest into Qdrant.


When I switch to Document Extractor:

  • The API output will be JSON and Markdown.

  • I’m not sure best way to ingest this into my Qdrant and looking for community for advice.


Questions:

  • Do you just pick 1, like Markdown, and ingest it like text into Qdrant? This means that JSON is extra, but not necessary.

  • Does the API output already create the items in chunks for ingestion where i do not need a chunking strategy (like recursive text splitter)?

  • Do I still need to create my own metadata for embedding?


Unrelated but good to ask:

  • If my document to parse is an excel, financial monthly reporting generated by internal finance, should I convert this to PDF for the API to work? It felt like excel was not a supported format for the API.


Thank you! I’m excited to try this out. I tried the playground and the parsing looked GREAT! I want to try it in a RAG system to see if I know how to setup the API to work with my workflow. I’ve been researching hybrid rag, filtering by metadata, reranking results, etc. The biggest gap i had was not finding a good PDF, excel, PPT parser to ingest into my RAG vector store.