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
15s
Input Tokens
7859
Output Tokens
829
Cost
$0.06
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 patient journals, here are the medications prescribed for each condition:

**ASTHMA (Oscar Jansson's case):**
1. **Budesonide 200 mcg** - Inhaled corticosteroid (ICS), 1 puff twice daily (maintenance therapy)
2. **Salbutamol (Ventolin) 100 mcg** - Short-acting beta-agonist (SABA) rescue inhaler, as needed (max 4x/day)
3. **Mometasone nasal spray** - Optional, if nasal congestion develops
4. **Paracetamol 500 mg** - Up to 4x/day (for the secondary viral infection symptoms/fever)

**PNEUMONIA (Melisa Farrow's case):**

*Hospital/Inpatient treatment:*
1. **IV Cefotaxime 1g** - every 8 hours (antibiotic)
2. **Doxycycline 100 mg** - oral, twice daily (antibiotic for atypical coverage)
3. **Paracetamol 1g** - every 6 hours (for fever and pleuritic pain)

*Discharge medications:*
1. **Amoxicillin-clavulanate 875/125 mg** - twice daily for 5 days (oral antibiotic to complete treatment)
2. **Paracetamol 500 mg** - as needed (for pain)

**Summary:**
- Asthma treatment focused on **inhaled corticosteroids and bronchodilators**
- Pneumonia treatment focused on **antibiotics** (cefotaxime, doxycycline, and amoxicillin-clavulanate)