RAG - Parsing and Chunking the text

Hi,

I am looking at the strategy to be used to read the pdf and word documents and store it vector database and retrieve the same through LLM.

Any view on the procedure to be used that is libraries the pdf and word document has tables and images.