Elangovan, Nandha Greetings & Welcome to Microsoft Q&A forum!
AFAIK, Azure Document Intelligence can extract data from PDFs and provide insights, it may not be able to answer all questions that a user may ask from the uploaded document. It depends on the type of question and the information available in the PDF.
See Azure Document Intelligence client library and Document Intelligence add-on capabilities for different available options.
Document Generative AI: the Power of Azure AI Document Intelligence & Azure OpenAI Service Combined
Also, I found this AI Hub solution on GitHub see if that helps.
Do let me know if that helps or have any other queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further queries do let us know.