File size: 941 Bytes
9528192
 
1367957
 
 
9528192
1367957
9528192
 
 
1367957
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
35
36
37
---
title: MedSearchPro
emoji: 🏥
colorFrom: purple
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
---

# 🏥 MedSearchPro - Medical Research Backend

Backend API for medical research analysis with AI-powered insights.

## Features
- Evidence-based medical research analysis
- 34+ medical domain specialties
- Real-time paper searching and summarization
- Vector-based similarity search

## API Endpoints
- `GET /` - Health check
- `GET /api/health` - Detailed system health
- `POST /api/chat` - Process medical queries
- `GET /api/domains` - List medical domains
- `GET /api/user_contexts` - List user contexts
- `WebSocket /ws/chat` - Real-time chat

## Frontend
The frontend is hosted separately on Vercel:
[https://medical-research-ai.vercel.app](https://medical-research-ai.vercel.app)

## Environment Variables
Set these in Space Settings:
- `OPENAI_API_KEY` - Your OpenAI API key
- `ALLOWED_ORIGINS` - CORS allowed origins