Spaces:
Sleeping
Sleeping
Commit
·
901545d
1
Parent(s):
7b278e7
update README
Browse files
README.md
CHANGED
|
@@ -51,6 +51,8 @@ These run locally in the Space and are free (no API costs).
|
|
| 51 |
4) UPLOADING .PDF / .TXT / .MD FILES (FOR RAG)
|
| 52 |
----------------------------------------------
|
| 53 |
- Click "Add files" and select any combination of .pdf, .txt, or .md.
|
|
|
|
|
|
|
| 54 |
- The app extracts text (PDFs via pypdf), splits into chunks, and stores them
|
| 55 |
with metadata for retrieval.
|
| 56 |
- After adding files, click "Build Index" so they are included in search.
|
|
@@ -58,6 +60,7 @@ These run locally in the Space and are free (no API costs).
|
|
| 58 |
5) ADDING MULTIPLE URLS (FOR RAG)
|
| 59 |
---------------------------------
|
| 60 |
- Paste one URL per line in the "URLs" box and click "Add URLs".
|
|
|
|
| 61 |
- The app fetches and parses the pages (static articles and PDFs work best).
|
| 62 |
- After adding URLs, click "Build Index" to include them in retrieval.
|
| 63 |
|
|
@@ -103,7 +106,10 @@ Toggle this with the "Streaming" checkbox.
|
|
| 103 |
---------------
|
| 104 |
1. Initialize pipeline (if manual init is enabled).
|
| 105 |
2. Paste your OpenAI API key (not saved).
|
| 106 |
-
3. Add files and/or add URLs.
|
|
|
|
|
|
|
|
|
|
| 107 |
4. Click Build Index.
|
| 108 |
5. Ask questions. E.g. "what is Ethereum vs Solana?", "What is bitcoin strength and weakness?"
|
| 109 |
6. For prices, try queries like "ETH price", "SOL quote", "XRP price in USD".
|
|
|
|
| 51 |
4) UPLOADING .PDF / .TXT / .MD FILES (FOR RAG)
|
| 52 |
----------------------------------------------
|
| 53 |
- Click "Add files" and select any combination of .pdf, .txt, or .md.
|
| 54 |
+
Sample pdf and txt files can be found at : /data/samples -> download the
|
| 55 |
+
files to your drive and multi select to upload
|
| 56 |
- The app extracts text (PDFs via pypdf), splits into chunks, and stores them
|
| 57 |
with metadata for retrieval.
|
| 58 |
- After adding files, click "Build Index" so they are included in search.
|
|
|
|
| 60 |
5) ADDING MULTIPLE URLS (FOR RAG)
|
| 61 |
---------------------------------
|
| 62 |
- Paste one URL per line in the "URLs" box and click "Add URLs".
|
| 63 |
+
Refer to /data/samples/Links%20sample.txt for example links
|
| 64 |
- The app fetches and parses the pages (static articles and PDFs work best).
|
| 65 |
- After adding URLs, click "Build Index" to include them in retrieval.
|
| 66 |
|
|
|
|
| 106 |
---------------
|
| 107 |
1. Initialize pipeline (if manual init is enabled).
|
| 108 |
2. Paste your OpenAI API key (not saved).
|
| 109 |
+
3. Add files and/or add URLs.
|
| 110 |
+
Sample pdf and txt files can be found at : /data/samples -> download the
|
| 111 |
+
files to your drive and multi select to upload
|
| 112 |
+
Refer to /data/samples/Links%20sample.txt for example links
|
| 113 |
4. Click Build Index.
|
| 114 |
5. Ask questions. E.g. "what is Ethereum vs Solana?", "What is bitcoin strength and weakness?"
|
| 115 |
6. For prices, try queries like "ETH price", "SOL quote", "XRP price in USD".
|