Update README.md
Browse files
README.md
CHANGED
|
@@ -1,41 +1,48 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: π·οΈ
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
-
sdk:
|
| 7 |
app_file: app.py
|
| 8 |
app_port: 8501
|
| 9 |
tags:
|
| 10 |
-
- streamlit
|
| 11 |
-
- selenium
|
| 12 |
-
- rag
|
| 13 |
-
- flan-t5
|
| 14 |
-
- web-scraping
|
| 15 |
pinned: true
|
| 16 |
-
short_description:
|
| 17 |
---
|
| 18 |
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
|
|
|
| 24 |
|
| 25 |
-
##
|
| 26 |
-
- π Scrape dynamic websites using **Selenium**
|
| 27 |
-
- π Store & retrieve content with **FAISS embeddings**
|
| 28 |
-
- π§ Answer questions using **FLAN-T5-small** (runs on CPU)
|
| 29 |
-
- π¨ Simple **Streamlit UI** for interaction
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Web Scraping with Selenium + RAG
|
| 3 |
emoji: π·οΈ
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
+
sdk: docker
|
| 7 |
app_file: app.py
|
| 8 |
app_port: 8501
|
| 9 |
tags:
|
| 10 |
+
- streamlit
|
| 11 |
+
- selenium
|
| 12 |
+
- rag
|
| 13 |
+
- flan-t5
|
| 14 |
+
- web-scraping
|
| 15 |
pinned: true
|
| 16 |
+
short_description: Selenium RAG using FLAN-T5-small
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# π·οΈ Web Scraping + RAG Chatbot
|
| 20 |
|
| 21 |
+
This project combines **Selenium web scraping** with **Retrieval-Augmented Generation (RAG)** to build an intelligent chatbot that can extract information from websites and answer questions about the content.
|
| 22 |
|
| 23 |
+

|
| 24 |
+

|
| 25 |
+

|
| 26 |
|
| 27 |
+
## β¨ Features
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
+
- π **Web Scraping**: Extract content from dynamic websites using Selenium
|
| 30 |
+
- π **Vector Storage**: Index and retrieve content using FAISS embeddings
|
| 31 |
+
- π§ **Question Answering**: Generate answers using FLAN-T5-small model
|
| 32 |
+
- π¨ **User-Friendly Interface**: Simple Streamlit UI for interaction
|
| 33 |
+
- π³ **Dockerized**: Ready for deployment on Hugging Face Spaces
|
| 34 |
|
| 35 |
+
## π Quick Start
|
| 36 |
+
|
| 37 |
+
### Prerequisites
|
| 38 |
|
| 39 |
+
- Python 3.10+
|
| 40 |
+
- Docker (for containerized deployment)
|
| 41 |
+
- Hugging Face account (for deployment)
|
| 42 |
|
| 43 |
+
### Local Installation
|
| 44 |
|
| 45 |
+
1. Clone the repository:
|
| 46 |
+
```bash
|
| 47 |
+
git clone https://huggingface.co/spaces/your-username/your-space-name
|
| 48 |
+
cd your-space-name
|