https://promptfoo.dev/ logo
Evaluate frequency/presence penalties?
# ❓|questions
a
I know we can eval temp, but can we also evaluate the other API parameters?
i
yep, you can pass a
frequency_penalty
or
presence_penalty
in the provider config. For example:
Copy code
yaml
providers:
  - id: openai:chat:gpt-4
    config:
      frequency_penalty: 1.0
      # ...