Welcome to Mr.HelpMate-AI, a powerful Retrieval Augmented Generation (RAG) system tailored for insurance policy documents. Our system integrates cutting-edge techniques in text embedding, search, and generation, ensuring accurate retrieval and generation of information from lengthy policy documents.
-
PDFPlumber Integration: Seamlessly extract text from insurance policy PDF documents using PDFPlumber library.
-
Text Embedding: Employ OpenAI's "text-embedding-ada-002" model for effective chunking and embedding of extracted text, optimizing retrieval accuracy.
-
Search Layer: Implement a search layer enabling querying against the embedded text chunks, with a cache mechanism for improved performance.
-
Generation Layer: Leverage GPT-3.5-turbo model for generating coherent and contextually relevant answers based on the retrieved information.
- Clone the repository:
git clone https://github.com/rajuaiml777/Mr.HelpMate-AI.git
cd Mr.HelpMate- Install dependencies:
pip install -r requirements.txt- Follow the setup instructions in the documentation to configure and run the system.
- Extract insurance policy text using PDFPlumber.
- Preprocess and embed the text chunks using the chosen embedding model.
- Design queries for the search layer and retrieve relevant chunks.
- Generate answers using the retrieved information and the generation model.
- Experiment with different strategies and models to optimize performance.
Contributions of any kind are welcome.
- OpenAI for providing access to advanced text embedding and generation models.
- PDFPlumber developers for creating a reliable tool for PDF text extraction.
- Hugging Face for hosting pre-trained models and facilitating experimentation.
For more details, visit our GitHub repository. Let's make insurance policy handling smarter and easier! 🚀
