jasvir-singh1021 commited on
Commit
29a3cbd
Β·
verified Β·
1 Parent(s): 6266bdc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +70 -11
README.md CHANGED
@@ -1,19 +1,78 @@
1
  ---
2
- title: Streamlit Template Space
3
- emoji: πŸš€
4
- colorFrom: red
5
- colorTo: red
6
  sdk: docker
7
  app_port: 8501
8
- tags:
9
- - streamlit
10
  pinned: false
11
- short_description: Streamlit template space
12
  ---
13
 
14
- # Welcome to Streamlit!
15
 
16
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
17
 
18
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
19
- forums](https://discuss.streamlit.io).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Document Parser GPT
3
+ emoji: πŸ“„
4
+ colorFrom: blue
5
+ colorTo: indigo
6
  sdk: docker
7
  app_port: 8501
 
 
8
  pinned: false
 
9
  ---
10
 
11
+ # πŸ“„ Document Parser GPT (Streamlit + LLMs)
12
 
13
+ Upload documents (PDF, DOCX, TXT, etc.) and chat with them using a GPT-4 powered assistant.
14
 
15
+ Built with:
16
+
17
+ - πŸ”· [Streamlit](https://streamlit.io/)
18
+ - 🧠 OpenAI GPT models
19
+ - πŸ“š LlamaIndex (optional, for RAG)
20
+ - πŸ—‚ File parsing: PDF, DOCX, TXT, HTML
21
+
22
+ ---
23
+
24
+ ## πŸš€ Features
25
+
26
+ βœ… Upload multiple document types
27
+ βœ… Ask natural language questions
28
+ βœ… Adjustable temperature setting
29
+ βœ… Download conversation history (TXT or JSON)
30
+ βœ… Clean UI built with Streamlit
31
+ βœ… Runs in Docker (Hugging Face Space compatible)
32
+
33
+ ---
34
+
35
+ ## πŸ”§ How to Configure
36
+
37
+ 1. **API Key**
38
+ Paste your OpenAI API key in the sidebar inside the app.
39
+
40
+ 2. **Model Temperature**
41
+ Adjust how creative or focused GPT’s responses are.
42
+
43
+ 3. **File Types Supported**
44
+ PDF, DOCX, TXT, RTF, HTML.
45
+
46
+ ---
47
+
48
+ ## πŸ’‘ Example Use Cases
49
+
50
+ - Summarizing legal documents
51
+ - Extracting info from academic papers
52
+ - Chatting with contracts or business reports
53
+ - Building a Q&A assistant over personal notes
54
+
55
+ ---
56
+
57
+ ## 🐳 Docker Instructions (Handled by HF Space)
58
+
59
+ This app uses a `Dockerfile` to install dependencies and run Streamlit. No manual setup needed on your end.
60
+
61
+ Make sure you have:
62
+
63
+ - `Dockerfile` at the root
64
+ - `requirements.txt` listing Python dependencies
65
+ - `src/streamlit_app.py` as your main app script
66
+
67
+ ---
68
+
69
+ ## πŸ›‘οΈ Notes
70
+
71
+ - No OpenAI key is stored or logged β€” it’s used only at runtime in your session.
72
+ - This app does **not** send uploaded files anywhere; all processing is local in the container.
73
+
74
+ ---
75
+
76
+ ## πŸ™‹β€β™‚οΈ Support
77
+
78
+ Having issues? Open a Discussion or File an Issue on the repository.