NVIDIA-RAG-chatbot

Enhanced PDFChat is a Streamlit application that allows users to upload PDF documents and interactively query information from them using a conversational interface powered by language models and NVIDIA AI endpoints.

Features

  • PDF Document Upload: Users can upload PDF documents directly to the application.
  • Conversational Interface: Interactive chat interface to query information from the uploaded PDF documents.
  • AI-powered: Utilizes NVIDIA AI endpoints and language models for text processing and conversational capabilities.
  • Chat History: Maintains a chat history for reference and context.

Installation

  1. Clone the repository:
git clone https://github.com/your_username/Enhanced-PDFChat.git
cd Enhanced-PDFChat
  1. Install dependencies:
pip install -r requirements.txt

Usage

  1. Run the Streamlit application:
streamlit run app.py
  1. Access the application in your web browser at http://localhost:8501.

  2. Upload a PDF document and start interacting with the conversational interface.

Configuration

  • NVIDIA API Key: You need to obtain an API key from NVIDIA and set it as an environment variable named NVIDIA_API_KEY in order to access the NVIDIA AI endpoints.

License

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

Acknowledgments

  • PyPDF2: Python library for PDF processing.
  • Streamlit: Open-source app framework for Machine Learning and Data Science projects.
  • NVIDIA AI Endpoints: NVIDIA's suite of AI services and models.

Contributing

Contributions are welcome! Please feel free to open a pull request or create an issue to report bugs or suggest improvements.


You can customize this template as needed, adding more details about the project, instructions, or any other relevant information.