promptfoo_import
Import a promptfooconfig.yaml. Creates a prompt, a dataset from the test vars, and metrics from the assert blocks (llm-rubric/g-eval become judge metrics; contains/equals/regex/is-json become deterministic check metrics). Returns a summary of what mapped and what was skipped and why; nothing is dropped silently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | The full promptfooconfig.yaml contents. |