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:
| Input | Reference 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