Spaces:
Runtime error
Runtime error
Added readme file
Browse files
README.md
CHANGED
@@ -1,12 +1,43 @@
|
|
1 |
---
|
2 |
-
title: Chat
|
3 |
-
emoji:
|
4 |
-
colorFrom: blue
|
5 |
-
colorTo: green
|
6 |
-
sdk: streamlit
|
7 |
-
sdk_version: 1.19.0
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
---
|
|
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: Chat with Docs
|
3 |
+
emoji: π
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
---
|
5 |
+
# Chat-with-Docs
|
6 |
|
7 |
+
![image](https://user-images.githubusercontent.com/26565263/236671146-5fc5d5f0-4acb-40c7-9d9a-dc072efd8078.png)
|
8 |
+
|
9 |
+
Chat with your Docs and gain better insights. Powered by `LlamaIndex` and `Streamlit` is used for UI.
|
10 |
+
Handles `CSV/PDFs/Txt/Doc`. CSV file is catered via [PandasAI](https://llamahub.ai/l/pandas_ai) loader and rest of the docs are handled via
|
11 |
+
`GPTVectorStoreIndex`.
|
12 |
+
|
13 |
+
Clone the repo or copy the `.py ` file in your local machine.
|
14 |
+
|
15 |
+
## Install required Dependencies
|
16 |
+
```
|
17 |
+
pip install -r requirements.txt
|
18 |
+
```
|
19 |
+
|
20 |
+
## Create a folder in the root dir and name it as `documents`
|
21 |
+
|
22 |
+
## Run the application
|
23 |
+
`streamlit run chat_with_docs.py`
|
24 |
+
|
25 |
+
## How to Contribute
|
26 |
+
Feel free to open any Issue or PR request. This small application can help anyone to interact with their docs more smartly in just 2-3 steps.
|
27 |
+
|
28 |
+
## Roadmap
|
29 |
+
- [ ] Add support for choosing in between GPT-3/GPT-3.5/GPT-4 or HuggingFace model for creating vectors and generating rich responses.
|
30 |
+
- [x] Blog explaining the entire application in detail.
|
31 |
+
- [ ] Add Docker support.
|
32 |
+
- [ ] Deploy the project on Streamlit or DataButton platform.
|
33 |
+
- [ ] Add support to handle multiple files at once.
|
34 |
+
|
35 |
+
## Snapshots
|
36 |
+
- Upload a CSV file. Get better insights by just asking question, Render graphs based on the Data
|
37 |
+
![image](https://user-images.githubusercontent.com/26565263/236671237-8517eecd-59f5-4961-8e33-772a26e92962.png)
|
38 |
+
![image](https://user-images.githubusercontent.com/26565263/236671280-e5e9da7a-dd32-4af2-bd79-42545ad67d07.png)
|
39 |
+
![image](https://user-images.githubusercontent.com/26565263/236671344-31967a79-2601-4cf2-bb2e-12a9eaf9429d.png)
|
40 |
+
|
41 |
+
- In Doc section, Upload PDFs/Txt/Docs to chat with your docs directly. No need to press `CTRL+F` to search for anything in the Docs
|
42 |
+
![image](https://user-images.githubusercontent.com/26565263/236671378-650d387f-57ad-4738-9bd0-15229f7e2e1d.png)
|
43 |
+
![image](https://user-images.githubusercontent.com/26565263/236671580-0b032941-6c89-430a-a42c-f68655d39f71.png)
|