Skip to content

Pandurangmopgar/ChatWithDoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📚 DocuChat AI

DocuChat AI is an intelligent multi-document assistant built with Streamlit. It allows users to upload PDF documents and ask questions about the content. The app uses a language model to provide accurate answers based on the provided documents.

Features

  • Upload multiple PDF documents
  • Ask questions about the uploaded documents
  • Receive accurate answers with source document references
  • View response time for each query
  • Customizable app styling

Demo

Installation

  1. Clone the repository:

    git clone https://github.com/Pandurangmopgar/ChatWDoc.git
    cd ChatWDoc
  2. Create a virtual environment and activate it:

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

    pip install -r requirements.txt
  4. Set up environment variables:

    • Create a .env file in the root directory.
    • Add your API keys to the .env file:
      GROQ_API_KEY=your_groq_api_key
      GOOGLE_API_KEY=your_google_api_key
      

Usage

  1. Run the Streamlit app:

    streamlit run app.py
  2. Use the sidebar to upload your PDF documents.

  3. Enter your question in the main panel and click "Ask" to get your answer.

Project Structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages