Skip to content

PATELOM925/ChatPDF-AI

Repository files navigation

ChatPDF AI

ChatPDF AI is a Python-based web application built with Streamlit and LangChain that leverages natural language processing (NLP) techniques to extract insights from PDF documents through conversational interactions.

Features

  • Document Loading: Extract text content from PDF documents easily.
  • Document Splitting: Efficiently split large text content into smaller chunks for processing.
  • Vector Stores and Embeddings: Convert text chunks into vector representations for advanced retrieval and similarity search.
  • Retrieval: Rapidly access relevant document sections beyond semantic queries.
  • Question Answering: Extract detailed answers from PDF documents based on natural language questions.
  • Chat: Interact with the application through conversational interfaces and retrieve pertinent information from documents and conversations.

Installation

  1. Clone the repository: git clone https://github.com/patelom925/ChatPDF-AI.git

  2. Install the dependencies: pip install -r requirements.txt

  3. Run the application: streamlit run app.py

Usage

  1. Upload PDF documents using the file uploader in the sidebar.
  2. Enter your questions in the text input box.
  3. Click the "Get Answer" button to retrieve answers based on the uploaded documents and your queries.

Side Note

This app is deployed using my personal API key. If you encounter any request errors, please be patient, as it may be due to API rate limits. I appreciate your understanding.

Technologies Used

  • Python
  • Streamlit
  • LangChain
  • PyPDF2
  • FAISS
  • Google Generative AI

Contributing

Contributions are welcome! Please feel free to fork the repository and submit pull requests with your enhancements or bug fixes.

Acknowledgements

Special thanks to the developers of Streamlit, LangChain, PyPDF2, FAISS, and Google Generative AI for their fantastic libraries and tools that made this project possible.

CONTACT

OM M. PATEL → PATELOM925