Skip to content

About

Conversational RAG chatbot for multiple PDFs: history-aware retrieval with per-session memory, PDF summarization, and a choice of Groq LLMs. Built with LangChain, Chroma and Streamlit.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Conversational ChatBot For PDF

This project is a Streamlit-based application that allows users to upload PDF files and interact with their content using a conversational chatbot. The chatbot leverages various language models to answer questions and summarize the content of the PDFs.

Features

  • Upload multiple PDF files
  • Choose from different language models
  • Ask questions about the content of the PDFs
  • Get concise answers and summaries
  • View chat history

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd Chatwithpdf
  2. Create a virtual environment and activate it:

    python -m venv myenv
    source myenv/bin/activate  # On Windows use `myenv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Set up environment variables: Create a .env file in the root directory and add the following variables:

    GROQ_API_KEY=<your-groq-api-key>
    LANGCHAIN_API_KEY=<your-langchain-api-key>
    LANGCHAIN_PROJECT=<your-langchain-project>

Usage

  1. Run the Streamlit application:

    streamlit run testCodeV3.py
  2. Open your web browser and go to http://localhost:8501.

  3. Upload PDF files, choose a language model, and start interacting with the content.

License

This project is licensed under the MIT License.

About

Conversational RAG chatbot for multiple PDFs: history-aware retrieval with per-session memory, PDF summarization, and a choice of Groq LLMs. Built with LangChain, Chroma and Streamlit.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages