| title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned | license | short_description |
|---|---|---|---|---|---|---|---|---|---|
NVIDIA NIM Demo |
🔥 |
purple |
yellow |
streamlit |
1.42.2 |
app.py |
false |
apache-2.0 |
AI-powered document retrieval and question-answering system |
This project is an AI-powered document retrieval and question-answering system utilizing NVIDIA DeepSeek AI and FAISS vector stores. It allows users to embed, retrieve, and query research papers using advanced NVIDIA AI models for accurate and contextual responses.
- FAISS-based Vector Storage: Efficiently stores and retrieves document embeddings.
- NVIDIA DeepSeek AI Integration: Uses deepseek-ai/deepseek-r1 for high-quality AI inference.
- PDF Processing: Extracts and processes research papers for retrieval-based QA.
- Streamlit UI: Interactive user interface for querying and document similarity search.
The application is deployed on Hugging Face Spaces. You can access it using the following link:
git clone https://github.com/Rohit-Madhesiya/NVIDIA-NIM-Demo.git
cd NVIDIA-NIM-Demopython -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activatepip install -r requirements.txt- Create a
.envfile in the root directory. - Add the following line:
NVIDIA_API_KEY=<your_nvidia_api_key>Run the Streamlit application:
streamlit run main.pyOnce the app is running:
- Enter your NVIDIA API Key.
- Click Document Embedding to process research papers.
- Type a question and get AI-generated responses based on the document content.
- Expand Document Similarity Search to view retrieved document chunks.
The project requires the following Python libraries:
streamlitlangchain_nvidia_ai_endpointslangchain_communityfaiss-cpupypdfpython-dotenvopenai
├── main.py # Main application file
├── requirements.txt # List of dependencies
├── .env # API key configuration (not included in repo)
└── README.md # Project documentation
Feel free to fork the repository, submit pull requests, or report any issues.
Developed by [Rohit Gupta].