# Menu Extraction Service Configuration
enabled: true

# Authentication
auth:
  bearer_token_env: "MENU_EXTRACTION_SERVICE_KEY"

# OpenAI Configuration
openai:
  api_key_env: "OPENAI_API_KEY_MENU_EXTRACTOR"
  api_key_pool_envs:
    - "OPENAI_API_KEY_MENU_EXTRACTOR"
  models:
    menu_extraction: "gpt-4o"
  max_tokens: 8000  # Increased from 1500 to 8000 for large menus (gpt-4o supports up to 16384)
  temperature: 0
  timeout: 60.0
  max_retries: 3

# Service Limits
limits:
  max_images_per_batch: 0
  max_tokens_per_batch: 95000
  schema_tokens_estimate: 600
  max_file_size_mb: 20
  image_tokens_estimate: 4000
