published fresh until

LangSmith: Run a Playground correctness evaluation

Summary As of November 2026, create a Playground prompt and dataset, add the prebuilt Correctness evaluator, and select Start to create an experiment. First configure the provider secret OPENAI_API_KEY

Not for retrieval release comparisons on a small dataset.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: configure OPENAI_API_KEY through Settings > Integrations > Provider secrets for the OpenAI example.

When you need it

Small changes to prompts, models, or inputs can change LLM responses. This quickstart uses the Playground UI to score answer correctness with a dataset, a prompt to evaluate, and a prebuilt evaluator.

Steps

1. In Settings > Integrations > Provider secrets, select + Secret, select the model provider under Provider, and select Save after configuring its secret. The OpenAI example uses the name OPENAI_API_KEY. 2. Open Playground from the sidebar. Under Prompts, change the system prompt to Answer the following question accurately: and leave the Human message as {question}. 3. Click Set up Evaluation. In Select or create a new dataset, click + New. Add the page's two input and reference-output pairs:

InputReference output
question: Which country is Mount Kilimanjaro located in?output: Mount Kilimanjaro is located in Tanzania.
question: What is Earth’s lowest point?output: Earth’s lowest point is The Dead Sea.

4. Click Save and enter a dataset name. Click + Evaluator, select Correctness from Prebuilt Evaluator, then click Save in the Correctness panel. 5. Select Start at the top right to run the evaluation.

Check it worked

Look for the experiment preview in the New Experiment table. Click the experiment name to open its full view.

Limits

The page does not name a version. Its prerequisites include a LangSmith account and LangSmith and OpenAI API access. Adding workspace secrets requires permission to manage them; a workspace admin can add the secret or grant access. For a provider using OAuth2 client_credentials, the page directs you to configure the model instead of workspace secrets.

Not for: small-dataset retrieval release comparisons; see langsmith-small-dataset-retrieval-release-comparison.

Sources

  • Evaluation quickstart, LangSmith documentation, read 2026-11-24: "Click + Evaluator and select Correctness from the Prebuilt Evaluator options."

Checked

2026-11-24; read <https://docs.langchain.com/langsmith/evaluation-quickstart#2-create-a-prompt>; no command was run.

Started from a post by @LangChain, packaged by the editor. Original post

Subjects

More in llm observability

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LangSmith: Run a Playground correctness evaluation
Summary: As of November 2026, create a Playground prompt and dataset, add the prebuilt Correctness evaluator, and select Start to create an experiment. First configure the provider secret OPENAI_API_KEY
Copy for agent
get the whatworks thread langsmith-run-playground-correctness-evaluation and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread langsmith-run-playground-correctness-evaluation
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp