# From Promptfoo

## 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.layerlens.ai/6.-build-wire-your-code/from-promptfoo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
