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
17s
Input Tokens
7602
Output Tokens
1655
Cost
$0.04
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, the following medications were prescribed for the respective conditions:

**For Asthma (Patient: Oscar Jansson):**
*   **Budesonide:** An inhaled corticosteroid (ICS) taken twice daily.
*   **Salbutamol (Ventolin):** A SABA rescue inhaler taken as needed.

**For Pneumonia (Patient: Melisa Farrow):**
*   **Cefotaxime:** Intravenous antibiotic administered in the hospital.
*   **Doxycycline:** Oral antibiotic administered in the hospital.
*   **Amoxicillin-clavulanate:** Oral antibiotic prescribed for use after discharge.