# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
description: Custom provider implementation with embedding similarity

prompts:
  - 'Translate this to French: {{message}}'

providers:
  - openai:chat:gpt-4.1-mini

tests:
  - vars:
      message: Hello world
    assert:
      - type: similar
        threshold: 0.25
        value: 'Greetings earth'
        provider: ./customProvider.js
