# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
description: Python test generators with configuration

prompts:
  - 'Translate the following text to {{target_language}}: {{text}}'

providers:
  - openai:gpt-4.1-mini

# Demonstrate test generators with and without configuration
tests:
  # 1. Basic generator with default languages (Spanish, French)
  - file://test_cases.py:generate_simple_tests

  # 2. Same generator with different languages (German, Italian)
  - path: file://test_cases.py:generate_simple_tests
    config:
      languages: [German, Italian]

  # 3. CSV generator with row limit
  - path: file://test_cases.py:generate_from_csv
    config:
      max_rows: 2
