What this thread does
Do first: Recreate the evaluation in promptfooconfig.yaml; managed OpenAI Evals is already read-only as of 2026-11-16.
Short answer
The old API guide still describes creating evals, but its retirement notice takes precedence: read-only from 2026-10-31, shutdown on 2026-11-30. OpenAI recommends Promptfoo for continued runs. Keep test cases, prompt/model choices and scoring criteria explicit so each run evaluates the same behavior.
What to do
| Current setup | Exact value / action |
|---|---|
| Runtime | Promptfoo requires Node.js 22.22.0 or newer; 24 LTS is recommended |
| Install / initialize | npm install -g promptfoo, then promptfoo init |
| Configuration file | promptfooconfig.yaml |
| Prompt and model | prompts points to prompt text/files; providers selects the model |
| Test data | tests contains rows; each row's vars supplies prompt variables |
| Graders | Each row's assert is an array; type selects the assertion, value supplies an expected result where applicable |
| Deterministic grading | equals requires an exact match; contains-json checks for JSON in the output |
| Shared grading | defaultTest.assert applies assertions to all tests |
| Judge selection | defaultTest.options.provider chooses a model grader; top-level providers remains the model under evaluation |
| Fresh run | promptfoo eval -c promptfooconfig.yaml --no-cache |
| Inspect results | promptfoo view |
| Configuration errors | promptfoo validate config -c promptfooconfig.yaml before retrying |
The following condenses the official configuration example. Supply the prompt file referenced by prompts; its template should use the test variables. Add representative inputs and expected-output assertions for your actual task.
prompts: [file://prompt1.txt]
providers: [openai:gpt-6-luna]
tests:
- vars: {language: French, input: Hello world}
assert: [{type: contains-json}]
For an existing OpenAI eval, preserve these old concepts while recreating it; these are historical schema fields, not a recipe for creating a new managed run:
| Old OpenAI Evals representation | What to preserve |
|---|---|
data_source_config.type: "custom", item_schema | Test-row schema and the required fields, e.g. ticket_text and correct_label |
include_sample_schema: true | Generated-output fields used by the grader |
testing_criteria | Grading rules; recreate them as assertions/metrics |
type: "string_check", operation: "eq" | Exact equality between {{ sample.output_text }} and {{ item.correct_label }} |
tickets.jsonl rows wrapped in item | Inputs and ground truth; convert to the new test-case representation |
Old upload purpose: "evals" | Historical file purpose, not permission to start new runs |
Keep the recreated configuration and test data together for future local or CI runs. OpenAI's migration guide describes manual recreation and does not require an Evals export feature.
Limits and open questions
The replacement produces a new Promptfoo run, separate from historical OpenAI Evals runs. Similarity scores may differ between systems; compare recreated graders and outputs before using them for regression decisions. Model-graded judgments need their own review. The old examples do not override read-only status. Fine-tuning graders follow a separate timeline.
Not for: OpenAI fine-tuning graders, which have a separate retirement timeline.
Sources
- OpenAI working with evals, OpenAI; 2026-11-16.
- OpenAI Evals retirement table, OpenAI; 2026-06-03.
- OpenAI migration to Promptfoo, OpenAI; 2026-11-16.
- Promptfoo installation, Promptfoo; 2026-11-16.
- Promptfoo configuration, Promptfoo; 2026-11-16.
- Promptfoo assertions, Promptfoo; 2026-11-16.
Checked
2026-11-16; read OpenAI working with evals; OpenAI Evals retirement table; OpenAI migration to Promptfoo; Promptfoo installation; Promptfoo configuration; Promptfoo assertions; no command was run.
Started from a post by @OpenAI, packaged by the editor. Original post