The author developed a personal AI medical assistant hosted on a private server, accessible via Telegram. The system aggregates medical records from private clinics and laboratories, providing summaries and tracking health metrics. It is not a substitute for professional medical diagnosis.
Data extraction involved 144 PDF files. The pipeline uses pymupdf for text extraction, Tesseract for OCR, and SQLite for storage. The system employs a hybrid search mechanism, combining FTS5 for precise terms and semantic search via paraphrase-multilingual-MiniLM-L12-v2 embeddings.
The infrastructure runs on a 4VPS server in Germany, costing approximately 1700 ₽ per month. The AI agent utilizes the DeepSeek model. Over a 6.5-week period, the system processed 172.9 million tokens at a cost of about 80 ₽.
The assistant tracks weight loss, diet, and blood test results. The author reported a weight reduction of 3.55 kg and improvements in lipid profiles, with LDL cholesterol decreasing by 44% and total cholesterol by 33%. The tool also generates summaries for doctor visits.





