---
title: "Presenting AI José Gregorio: A Lifesaver in The Midst of Crisis"
date: "2023-08-27"
description: "Discover what happened in August 2023. This month features the launch of AI José Gregorio, a medical assistant for Venezuelans during the health crisis."
tags: ["Artificial Intelligence", "Work"]
url: "https://rolandoandrade.me/blog/presenting-ai-josegregorio/"
author: "Rolando Andrade"
---

# Presenting AI José Gregorio: A Lifesaver in The Midst of Crisis

> Discover what happened in August 2023. This month features the launch of AI José Gregorio, a medical assistant for Venezuelans during the health crisis.

In Venezuela, many people struggle to get medical care. Hospitals are overwhelmed, and doctors are hard to find. So I built a helper that is not a doctor and not a nurse. It is an AI.

Meet **[AI José Gregorio](https://web.archive.org/web/20250222040620/http://josegregorio.lat/)**, a medical assistant. It runs on Large Language Models (LLMs), which are programs that learn to read and write by studying huge amounts of text. It was trained on rigorous medical datasets. I built it to help Venezuelans who cannot reach a doctor in these hard times. Learn more about the [AI José Gregorio](/projects/ai-jose-gregorio/) project.

### Named after a doctor

**AI José Gregorio** is a medical assistant that gives Venezuelans fast and useful medical guidance. Its name honors José Gregorio Hernández, a beloved Venezuelan doctor. People revere him for his care for the sick. This AI tries to serve with the same spirit.

![UI of the APP](https://storage.rolandoandrade.me/blog/jose-gregorio-interface-1.webp)

![Desktop Version](https://storage.rolandoandrade.me/blog/jose-gregorio-interface-2.webp)

### How it works inside

**AI José Gregorio** runs on **LLAMA2**, Meta's semi open source LLM. It was fine-tuned on the [medalpaca/medical_meadow_medqa](https://huggingface.co/datasets/medalpaca/medical_meadow_medqa) dataset. Fine-tuning means extra training with focused data, here a large set of medical questions and answers. Because of that, it understands many kinds of medical questions and gives precise guidance that may save lives. The base model ([medllama2](https://huggingface.co/llSourcell/medllama2_7b)) even passed the US Medical Licensing Exam.

When you visit [josegregorio.lat](https://web.archive.org/web/20250222040620/http://josegregorio.lat/), you see a clean, interactive screen. There you type your symptoms, your medical history or your worries. The AI reads your input and gives a detailed answer in simple words. It may suggest possible diagnoses or next steps. It may also tell you to get professional care right away.

The trick is language. Every question is translated to English, and the LLM works in English. Then the answer is translated back to Spanish. This way the app uses the full power of the original model. It also reduces hallucinations, which are made up answers caused by small differences between languages.

![Current flow](https://storage.rolandoandrade.me/blog/jose-gregorio-flow.webp)

### Built for everyone

AI José Gregorio is for everyone, with or without medical knowledge. You may be a parent worried about a fever. You may be an older person with a chronic condition. Or you may just feel unwell. José Gregorio is there to guide you.

### Help when doctors are scarce

When hospitals are full and doctors are scarce, AI José Gregorio gives people hope. It offers a first check, called triage, and basic guidance to people who might get no help at all. That takes some pressure off the healthcare system.

**Important note:** AI José Gregorio is powerful, but it does not replace professional medical advice. Its job is to guide you, inform you and help you see when you really need a doctor.

### Four steps after launch

I am releasing the app today to see how Venezuelans respond. If the response is strong, I have four big plans:

1.  Web search. Answers will include context from high quality sources like [MedlinePlus](https://medlineplus.gov/spanish/encyclopedia.html).
2.  Better models. I want to move to more powerful models, like a fine-tuned GPT-3.5 Turbo or Llama 2 13B. That would make answers much more accurate.
3.  A healthcare network. A database of healthcare centers would let the app send users to real doctors in real time.
4.  A public API. Other developers could build their own bots and apps on top of this engine.

### Like the real doctor

Many people are afraid of technology. I hope AI José Gregorio becomes as important to Venezuelans as the real doctor was. I hope it brings change and relief to many people.

Visit [josegregorio.lat](https://web.archive.org/web/20250222040620/http://josegregorio.lat/) and try it yourself.

The app is also available on [Google Play](https://play.google.com/store/apps/details?id=com.rolandoandrade.djghapp)!

* * *

If you enjoy the content, please don't hesitate to subscribe and leave a comment! I would love to connect with you and hear your thoughts on the topics I cover.

[Book a call with Rolando](https://rolandoandrade.me/pricing/)
