# Translation Service Configuration
enabled: true

# Authentication
auth:
  bearer_token_env: "TRANSLATION_SERVICE_KEY"

# OpenAI Configuration
openai:
  api_key_env: "OPENAI_API_KEY"
  models:
    translation: "gpt-4o-mini"
    allergens: "gpt-4o-mini"
  max_tokens: 1800
  temperature: 0
  timeout: 20.0
  max_retries: 3
  retry_delay: 1.0

# Concurrency Settings
concurrency:
  max_concurrent_requests: 10
  chunk_size: 5
  request_timeout: 30.0

# Supported Languages
languages:
  supported:
    - "ru"
    - "de"
    - "gr"
    - "rs"
    - "ro"
    - "ua"
    - "pl"
    - "fr"
    - "it"
    - "es"
    - "il"
    - "cz"
    - "tr"
    - "ar"
    - "cn"
    - "ja"
    - "ga"
    - "mk"
    - "en"

# Allergen Definitions
allergens:
  - { number: 1, name: "gluten" }
  - { number: 2, name: "crustaceans" }
  - { number: 3, name: "eggs" }
  - { number: 4, name: "fish" }
  - { number: 5, name: "peanuts" }
  - { number: 6, name: "soybeans" }
  - { number: 7, name: "milk" }
  - { number: 8, name: "nuts" }
  - { number: 9, name: "celery" }
  - { number: 10, name: "mustard" }
  - { number: 11, name: "sesame seeds" }
  - { number: 12, name: "sulphur dioxide" }
  - { number: 13, name: "lupin" }
  - { number: 14, name: "molluscs" }
