File size: 789 Bytes
bc491de
 
 
 
 
 
 
 
 
 
 
 
 
231aa86
bc491de
ce50c84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: DocsQA
emoji: πŸ“š
colorFrom: red
colorTo: red
sdk: docker
app_port: 8501
tags:
- streamlit
pinned: false
short_description: Upload a document and ask questions based on its content
---

# Welcome to DocsQA!


```
project/
β”œβ”€β”€ app.py                      # Main entry point
β”œβ”€β”€ config.py                   # Configuration settings
β”œβ”€β”€ utils/
β”‚   └── document_processor.py  # Document reading & processing
β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ llm_loader.py          # Qwen LLM loading
β”‚   └── retriever.py           # FAISS retriever setup
β”œβ”€β”€ chains/
β”‚   └── qa_chain.py            # QA chain creation
└── ui/
    β”œβ”€β”€ sidebar.py             # Sidebar components
    └── chat.py                # Chat interface
```