Raykarr commited on
Commit
bc9f6b0
·
verified ·
1 Parent(s): 83f3dfb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -20
README.md CHANGED
@@ -1,28 +1,38 @@
1
- # Insurance Document Analysis API
 
 
 
 
 
 
 
 
 
2
 
3
- A FastAPI-based API for analyzing insurance documents using AI.
 
 
4
 
5
  ## Features
6
 
7
- - PDF document processing and text extraction
8
- - AI-powered analysis of insurance documents
9
- - Vector search for document similarity
10
- - Real-time analysis status tracking
11
- - Chat interface for document queries
12
 
13
- ## API Endpoints
14
 
15
- - `GET /health` - Health check
16
- - `POST /ingest` - Upload and analyze PDF documents
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
- ## Environment Variables
 
 
 
 
 
 
 
22
 
23
- Required for full functionality:
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