Update README.md
Browse files
README.md
CHANGED
|
@@ -1,28 +1,38 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
|
| 5 |
## Features
|
| 6 |
|
| 7 |
-
- PDF document
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
-
|
| 11 |
-
-
|
| 12 |
|
| 13 |
-
##
|
| 14 |
|
| 15 |
-
|
| 16 |
-
- `
|
| 17 |
-
- `GET /analysis/{document_id}` - Get analysis status
|
| 18 |
-
- `GET /findings/{document_id}` - Get analysis findings
|
| 19 |
-
- `POST /findings/{finding_id}/chat` - Chat about specific findings
|
| 20 |
|
| 21 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
|
| 24 |
-
- `GROQ_API_KEY` - Groq API key for LLM analysis
|
| 25 |
-
- `PINECONE_API_KEY` - Pinecone API key for vector search
|
| 26 |
-
- `SUPABASE_URL` - Supabase project URL
|
| 27 |
-
- `SUPABASE_KEY` - Supabase API key
|
| 28 |
-
- `HF_API_KEY` - Hugging Face API key (optional)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Insurance Document Analyzer
|
| 3 |
+
emoji: 🔍
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: docker
|
| 7 |
+
sdk_version: '1.0'
|
| 8 |
+
app_file: Dockerfile
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
|
| 12 |
+
# Insurance Document Analyzer
|
| 13 |
+
|
| 14 |
+
React-based frontend for the Insurance Document Analysis system.
|
| 15 |
|
| 16 |
## Features
|
| 17 |
|
| 18 |
+
- PDF document upload and viewing
|
| 19 |
+
- Real-time analysis progress tracking
|
| 20 |
+
- Interactive findings exploration
|
| 21 |
+
- AI-powered chat interface
|
| 22 |
+
- Responsive design
|
| 23 |
|
| 24 |
+
## Environment Variables
|
| 25 |
|
| 26 |
+
Required for production:
|
| 27 |
+
- `VITE_API_URL` - Backend API URL (e.g., https://your-username-insurance-api.hf.space)
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
+
## Local Development
|
| 30 |
+
|
| 31 |
+
```bash
|
| 32 |
+
npm install
|
| 33 |
+
npm run dev
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
The app will be available at `http://localhost:5173`
|
| 37 |
|
| 38 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|