CogniChat

Streamlit PDF Chatbot

A Langchain app developed to chat with Multiple PDFs

This is a Streamlit application that allows users to upload multiple PDF documents and interactively chat about the content of those documents using a conversational AI model. The chatbot is designed to process PDF files, extract text from them, and generate embeddings for the text chunks using Hugging Face models. Users can ask questions about the uploaded documents, and the chatbot will provide responses based on the document content.

Installation

  1. Clone the repository:

    git clone  https://github.com/Rajendran2201/CogniChat
    
  2. Navigate to the project directory:

    cd CogniChat
    
  3. Install dependencies:

    pip install -r requirements.txt
    

Usage

To run the Streamlit application, execute the following command:

streamlit run app.py

This will start the Streamlit server locally, and you can access the application in your web browser by navigating to the provided URL.

Features

Dependencies

Contributing

Contributions are welcome! If you’d like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them to your branch.
  4. Push your changes to your fork.
  5. Submit a pull request with a description of your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Authors

Acknowledgments

Demonstration

Screenshot 2024-03-23 at 21 09 53 Screenshot 2024-03-23 at 21 10 36 Screenshot 2024-04-16 at 01 18 34

Screenshot 2024-04-21 at 01 23 02 Screenshot 2024-04-21 at 01 22 07 Screenshot 2024-04-21 at 01 21 16