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
6s
Input Tokens
7555
Output Tokens
1114
Cost
$0.02
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:

### **Medications Prescribed for Asthma (Oscar Jansson)**
*   **Budesonide** (Inhaled corticosteroid): 200 mcg, 1 puff twice daily.
*   **Salbutamol / Ventolin** (SABA/rescue inhaler): 100 mcg as needed (maximum 4 times/day).
*   **Paracetamol**: 500 mg, up to 4 times/day (prescribed for fever, related to his secondary viral infection).
*   **Mometasone** (optional nasal spray): For nasal congestion.

### **Medications Prescribed for Pneumonia (Melisa Farrow)**
*   **Cefotaxime** (IV antibiotic): 1 g every 8 hours (administered during hospital stay).
*   **Doxycycline** (oral antibiotic): 100 mg twice daily (administered during hospital stay).
*   **Amoxicillin-clavulanate** (oral antibiotic): 875/125 mg, twice daily for 5 days (prescribed at discharge).
*   **Paracetamol**: 1g every 6 hours (inpatient) or 500 mg as needed (discharge) for fever and pleuritic pain.