An AI-powered chatbot built using LLMs, sentence embeddings, and MongoDB to assist Indian MSMEs with discovering relevant government schemes. Also includes support for Telugu translations and PDF-based Q&A.
pip install pymongo sentence-transformers torch transformers langchain_community pymupdf tools
pip install bitsandbytes scipy accelerate datasets sentencepiece
โ ๏ธ Run in Google Colab for seamless PDF uploads using
google.colab.files.
Ensure your MongoDB contains:
udyam_profiles โ MSME profile dataschemes_chunks_only โ Chunked scheme embeddingsschemes_embedded โ Full scheme infouploaded_pdf_temp โ Temporary collection for uploaded PDFsUpdate the mongo_uri in the script with your connection string.
Vipplav/gemma-finetuned-faqBAAI/bge-small-en-v1.5ai4bharat/indictrans2-en-indic-1BRun the script to start the Gradio interface.
manualshow related schemeseligibility, apply, or documentsfinal_msme_chatbot.py: End-to-end chatbot + PDF handlerREADME.md: You're reading itMIT License
3 commits
Jupyter Notebook
76.4%
Python
23.6%
An AI-powered chatbot built using LLMs, sentence embeddings, and MongoDB to assist Indian MSMEs with discovering relevant government schemes. Also includes support for Telugu translations and PDF-based Q&A.
pip install pymongo sentence-transformers torch transformers langchain_community pymupdf tools
pip install bitsandbytes scipy accelerate datasets sentencepiece
โ ๏ธ Run in Google Colab for seamless PDF uploads using
google.colab.files.
Ensure your MongoDB contains:
udyam_profiles โ MSME profile dataschemes_chunks_only โ Chunked scheme embeddingsschemes_embedded โ Full scheme infouploaded_pdf_temp โ Temporary collection for uploaded PDFsUpdate the mongo_uri in the script with your connection string.
Vipplav/gemma-finetuned-faqBAAI/bge-small-en-v1.5ai4bharat/indictrans2-en-indic-1BRun the script to start the Gradio interface.
manualshow related schemeseligibility, apply, or documentsfinal_msme_chatbot.py: End-to-end chatbot + PDF handlerREADME.md: You're reading itMIT License
3 commits
Jupyter Notebook
76.4%
Python
23.6%