> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/6.-build-wire-your-code/from-promptfoo.md).

# From Promptfoo

Migrate from Promptfoo to Stratix.

## What maps

| Promptfoo                     | Stratix                               |
| ----------------------------- | ------------------------------------- |
| `tests:`                      | Dataset rows                          |
| `assertions:` (deterministic) | Stratix scorers                       |
| `assertions:` (`llm-rubric`)  | Stratix judges                        |
| `prompts:`                    | Prompt templates in evaluation config |

## Steps

1. Parse `promptfooconfig.yaml`.
2. Convert `tests:` to JSONL; upload as benchmark.
3. Map each assertion type to a Stratix scorer or judge.
4. Reproduce each `prompts:` variation as a separate eval run.

## See also

* [Cookbook: port a Promptfoo config](https://github.com/LayerLens/gitbook-full/blob/main/06-build/migration/recipes/migration-promptfoo.md)
