File size: 3,038 Bytes
6da29de
 
8b9f7d9
 
 
6da29de
8b9f7d9
6da29de
 
 
8b9f7d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
title: Learn Pathophysiology
emoji: ⚔️
colorFrom: purple
colorTo: red
sdk: docker
app_port: 7860
pinned: false
---

# Learn Pathophysiology - WC3 Edition ⚔️

AI-powered chatbot for learning **Pathophysiology** with authentic **Warcraft 3** styling!

![WC3 Style](https://img.shields.io/badge/Style-Warcraft%203-orange)
![AI Powered](https://img.shields.io/badge/AI-Gemini-blue)
![Language](https://img.shields.io/badge/Language-Croatian-red)

## 🎮 Features

### 💬 AI Chat
Ask questions about Pathophysiology in Croatian and get detailed, RAG-powered answers grounded in the official Gamulin textbook.

### 📸 Image Analysis
Upload textbook pages and get AI-powered analysis, explanations, and Q&A.

### 🎨 WC3-Themed Interface
Choose from 4 authentic Warcraft 3 race themes:
- **Human** - Blue/silver Alliance theme
- **Orc** - Red/brown Horde theme
- **Night Elf** - Purple/teal nature theme
- **Undead** - Green/dark Scourge theme

### 🤖 Multi-Model Support
- **Gemini 3 Flash Preview** - Fastest, newest model
- **Gemini 2.5 Flash** - Fast and reliable
- **Gemini 2.5 Pro** - Most capable for complex questions

### 📚 RAG-Powered
All answers are grounded in the official **Patofiziologija (Gamulin, Marušić, Kovač)** textbook, with citations to page numbers.

## 🏗️ Technology Stack

- **Frontend**: Vue 3 + TypeScript + Custom WC3 UI library
- **Backend**: FastAPI (Python)
- **AI**: Google Gemini API
- **RAG**: ChromaDB vector database
- **Deployment**: Docker

## 🎓 For Medical Students

This app is specifically designed for medical students at **University of Split School of Medicine** to help master Pathophysiology through:

1. **Interactive Q&A** - Ask anything about Pathophysiology
2. **Contextual Learning** - Get explanations grounded in your textbook
3. **Image Analysis** - Understand complex diagrams and pages
4. **Citation Support** - See exactly where information comes from

## 🚀 Usage

Simply:
1. Select your preferred AI model (top-left sidebar)
2. Choose your favorite WC3 race theme
3. Start chatting or upload an image!

### Example Questions (in Croatian):
- "Što je hipertenzija i kako nastaje?"
- "Objasni patofiziologiju dijabetesa tipa 2"
- "Kako funkcionira renin-angiotenzin-aldosteron sustav?"

## 🌐 Open Source

This project is open source! Check out the code on GitHub:
- Frontend: Vue 3 + TypeScript with custom WC3 UI components
- Backend: FastAPI with Gemini AI integration
- RAG: ChromaDB with Gemini embeddings

## 📝 Credits

- **UI Design**: Inspired by Warcraft 3 (Blizzard Entertainment)
- **Content**: Based on Patofiziologija textbook by Gamulin, Marušić, Kovač
- **AI**: Powered by Google Gemini
- **Development**: University of Split School of Medicine project

## ⚠️ Disclaimer

This is an educational tool. Always verify medical information with official sources and your professors. The AI can make mistakes!

---

**Built with ❤️ and Warcraft 3 nostalgia**

*For the Alliance! For the Horde! For passing exams!* ⚔️📚