An open API service indexing awesome lists of open source software.

https://github.com/leodeveloper/chat-with-pdf-using-nvidianim

using NvidiaNim to chat with pdf document
https://github.com/leodeveloper/chat-with-pdf-using-nvidianim

chatnvidia embeddings faiss langchain nim nvidia nvidia-gpu nvidia-nim python streamlit vector

Last synced: about 2 months ago
JSON representation

using NvidiaNim to chat with pdf document

Awesome Lists containing this project

README

          

# chat-with-pdf-using-NvidiaNim
using NvidiaNim to chat with pdf document

![Application Screenshot](https://github.com/leodeveloper/chat-with-pdf-using-NvidiaNim/blob/main/Nvidia%20Nim.png)

# Chat with multiple PDF file using NvidiaNim

This project allows you to upload multiple PDF files and interact with them using natural language questions and answers. It leverages NVIDIAEmbeddings, ChatNVIDIA, OllamaEmbeddings, and FAISS to provide efficient and accurate responses.

## Features

- Upload and process multiple PDF documents.
- Use NVIDIA's powerful embeddings for natural language understanding.
- Efficient querying and retrieval with FAISS.
- Simple and intuitive user interface with Streamlit.

## Installation

1. Clone the repository:
```bash
git clone https://github.com/leodeveloper/chat-with-pdf-using-NvidiaNim.git
cd chat-with-pdf-using-NvidiaNim

Set up environment variables by copying .env.example to .env and filling in the necessary values.

pip install -r requirements.txt
streamlit run app.py

How It Works
NVIDIAEmbeddings: Utilized for generating embeddings from the text within the PDFs.
ChatNVIDIA: Handles the natural language processing and interaction.
OllamaEmbeddings: Provides additional embedding capabilities to enhance understanding.
FAISS: Efficiently indexes and searches through embeddings for quick responses.
Contributing
Contributions are welcome! Please fork the repository and create a pull request with your changes.

## feel free contact on this email leodeveloper@gmail.com