A ChatBot that answers the question from pdfs and text files and can also summarize the texts and would add many things more
In this code i have used huggingface transformers api for converting pdf to text i have have used pdfplumber this has limitations like:
- if you ask two questions for example:- what is vgec affiliated with and where is it located? it answers: Chandkheda,Ahmedabad it can answer only one question
- if gives random answers for irrelevant questions for example:- veinvofnvfytddjy? answer can be anything like: Vishwakarma Government Engineering College