input_dir: /home/sandhiya/dr-transcripts-inductive/data/pdfs
output_dir: outputs

# model: llama3.1:latest
model: llama3.3:latest
# ✅ FIXED: Reduced from 16384 to 12288 for faster processing
# This is plenty for most transcripts
num_ctx: 12288

# ✅ FIXED: Lowered temperature from 0.2 to 0.1 for more consistent extraction
temperature: 0.1

ollama_host: http://localhost:11434

# Set to true to rebuild CSVs from existing JSONs without calling LLM
rebuild_only: false

# ✅ NEW: Maximum tokens per transcript chunk (prevents timeouts)
max_transcript_tokens: 10000

# ✅ NEW: Timeout per conversation in seconds (30 minutes instead of 1 hour)
conversation_timeout: 1800


predefined_entities:
  Symptoms:
    - blurred vision
    - fluctuating vision
    - floaters
    - poor night vision
    - faded colors
  Ophthalmic Findings:
    - microaneurysms
    - cotton wool spots
    - retinal hemorrhages
    - macular edema
    - neovascularization
    - scar tissue
  Diagnostic Tools:
    - dilated eye exam
    - OCT
    - fundus photography
    - fluorescein angiography
  Systemic Risk Factors:
    - HbA1c
    - blood pressure
    - cholesterol
  Treatment Options:
    - intravitreal injection
    - laser treatment
    - vitrectomy
  Demographics/History:
    - duration of diabetes
    - age over 65
    - smoking

barriers_facilitators:
  Transportation_Barriers:
    - no transportation
    - too far to travel
    - no car
    - bus issues
    - distance to clinic
  Access_Barriers:
    - long wait times
    - no appointments available
    - inconvenient hours
    - office closed
    - scheduling difficulties
  Cost_Barriers:
    - too expensive
    - no insurance
    - cannot afford treatment
    - high copay
    - financial burden
  Belief_Barriers:
    - can see fine now
    - do not think serious
    - will go when worse
    - not necessary
    - do not perceive need
  Provider_System_Barriers:
    - doctor rude
    - did not listen
    - rushed appointment
    - poor communication
    - staff unfriendly
  Education_Barriers:
    - did not know need followup
    - do not understand risk
    - lack of information
    - confusing instructions
  Family_Social_Barriers:
    - no one to watch kids
    - cannot miss work
    - family does not support
    - caregiving responsibilities
  
  Support_Facilitators:
    - family encourages
    - spouse reminds
    - support group
    - friend helps
    - caregiver assists
  Provider_Facilitators:
    - doctor explains well
    - staff friendly
    - good communication
    - listens to concerns
    - respectful care
  Access_Facilitators:
    - convenient location
    - easy scheduling
    - flexible hours
    - telemedicine available
    - quick appointments
  Technology_Facilitators:
    - MyChart reminders
    - text messages
    - phone calls
    - automated reminders
  Education_Facilitators:
    - diabetes class helpful
    - understood risks
    - clear explanations
    - written materials