Context Reasoning

Answer questions accurately based on a given document or knowledge source — without hallucinating what isn't there. The core skill behind doc Q&A, support bots, and internal knowledge lookup.

100
Duration
12s
Input Tokens
2
Output Tokens
1016
Cost
$0.09
Context
Input
Based on these journals what medications are prescribed for asthma, and what are prescribed for neumonia?
Expected output
Asthma: Budesonide (inhaled corticosteroid, maintenance treatment), Salbutamol (Ventolin) (short-acting beta-agonist rescue inhaler) ; Pneumonia: Cefotaxime (IV antibiotic), Doxycycline (oral antibiotic), Amoxicillin-clavulanate (oral antibiotic after discharge)
Model output
Based on the two patient journals, here are the medications prescribed:

**ASTHMA (Oscar Jansson – mild persistent asthma):**
- **Budesonide 200 mcg** (inhaled corticosteroid/ICS) – 1 puff twice daily
- **Salbutamol / Ventolin 100 mcg** (short-acting beta-agonist, rescue inhaler) – as needed, max 4x/day
- **Mometasone nasal spray** (optional) – if nasal congestion develops
- **Paracetamol 500 mg** – up to 4x/day for fever (related to the secondary viral infection)

**PNEUMONIA (Melisa Farrow – community-acquired pneumonia):**
- **IV Cefotaxime 1 g** every 8 hours (during hospital stay)
- **Oral Doxycycline 100 mg** twice daily (due to atypical presentation overlap, during hospital stay)
- **Amoxicillin-clavulanate 875/125 mg** twice daily for 5 days (prescribed on discharge)
- **Paracetamol** (1 g q6h in hospital, then 500 mg as needed) – supportive, for fever and pleuritic pain

In short, the asthma was treated mainly with an inhaled corticosteroid (Budesonide) and a rescue bronchodilator (Salbutamol), while the pneumonia was treated with antibiotics (Cefotaxime, Doxycycline, and then Amoxicillin-clavulanate), with Paracetamol used in both cases for fever/pain.