How to add thinking budget to Google Gemini Flash 2.5

You can add a “thinking budget” to make Google Gemini Flash 2.5 spend some time and resources thinking about the answer it provided. This usually provides a better answer than if you do not enable the thinking budget, and can be quite handy for tasks which do require some thinking. Python code for adding thinking…

Extracting senior care status from VAERS using Gemini Flash

This task will extract information about whether a VAERS death report was for someone who was in a nursing home or in some kind of senior care. died due to cardiac arrest; This is a spontaneous report received from a contactable physician via regulatory authority with Regulatory authority report number CH-SM-2021-10701. A 94-year-old female patient…

Gemini 2 Flash vs Gemini 2.5 Flash Preview for structured data extraction

Click here to learn about the system I used for this comparison Model Accuracy Comparison Model Accuracy Comparison Comparison gemini-2.0-flash gemini-2.5-flash-preview-05-20 Age 100 100 Onset Date 100 100 Vaccination Date 100 100 Number of Vaccine Doses 100 100 Vaccine Manufacturer 100 100 Vaccine Lot Number 100 100 Had COVID-19 100 100 Was Healthy 66 99…

Gemini 2 Flash Lite vs Gemini 2.5 Flash Preview accuracy for structured data extraction

Click here to learn about the system I used for this comparison Model Accuracy Comparison Model Accuracy Comparison Comparison gemini-2.0-flash-lite gemini-2.5-flash-preview-05-20 Age 100 100 Onset Date 98 100 Vaccination Date 100 100 Number of Vaccine Doses 100 100 Vaccine Manufacturer 100 100 Vaccine Lot Number 100 100 Had COVID-19 100 100 Was Healthy 90 99…

Gemini 1.5 Pro vs Gemini 2.5 Flash Preview accuracy for structured data extraction

Click here to learn about the system I used for this comparison Model Accuracy Comparison Model Accuracy Comparison Comparison gemini-1.5-pro gemini-2.5-flash-preview-05-20 Age 100 100 Onset Date 100 100 Vaccination Date 100 100 Number of Vaccine Doses 100 100 Vaccine Manufacturer 100 100 Vaccine Lot Number 100 100 Had COVID-19 100 100 Was Healthy 87 99…

Gemini 1.5 Flash vs Gemini 2.5 Flash Accuracy for Structured Data Extraction

Click here to learn more about the system I have used to do this calculation Model Accuracy Comparison Model Accuracy Comparison Comparison gemini-1.5-flash gemini-2.5-flash-preview-05-20 Age 99 100 Onset Date 99 100 Vaccination Date 100 100 Number of Vaccine Doses 100 100 Vaccine Manufacturer 100 100 Vaccine Lot Number 100 100 Had COVID-19 100 100 Was…

How to extract health status from VAERS using Google Gemini

This task is to extract whether the patient was healthy before taking the vaccine In the example below patient_was_healthy will be False, because they did have a medical history. Feeling cold; Chills and shivering; high sweating; This is a spontaneous report from a contactable physician, received from the Regulatory Authority, regulatory authority report number of…

How to extract number of vaccine doses from VAERS report using Google Gemini

This task is to extract the number of COVID19 vaccine doses a patient has taken Feeling cold; Chills and shivering; high sweating; This is a spontaneous report from a contactable physician, received from the Regulatory Authority, regulatory authority report number of v20100815 and v20100816, and also received information via System. A 47-year-old female received first…

How to extract vaccine lot from VAERS report using Google Gemini

This task involves extracting the vaccine lot from VAERS Feeling cold; Chills and shivering; high sweating; This is a spontaneous report from a contactable physician, received from the Regulatory Authority, regulatory authority report number of v20100815 and v20100816, and also received information via System. A 47-year-old female received first dose of bnt162b2 (COMIRNATY, lot number:…

How to extract vaccine manufacturer from VAERS using Google Gemini

This task is to extract the vaccine manufacturer – for example Pfizer, Moderna etc – from a VAERS report. For example, in the report below, we should extract Pfizer (which made Comirnaty) Feeling cold; Chills and shivering; high sweating; This is a spontaneous report from a contactable physician, received from the Regulatory Authority, regulatory authority…