AI ShortsOpen the app
AI for SRE / Ops ยท

New Relic adds a test bench for AI app prompts

New Relic's AI playground and datasets, in public preview since December 1, let teams build test sets from real failed or slow AI calls and try prompt changes on several models side by side. Outputs are scored for accuracy, safety, cost and speed before a change ships. The company hasn't shared pricing.

New Relic announced the features on December 1, and readers can sign up for the public preview. AI Datasets builds versioned test suites from live production traces, such as errored calls, slow interactions and responses flagged as unsafe. You can add synthetic edge cases, including prompt injections and jailbreaks, or import CSV, JSON or JSONL files.

AI Playground is an interactive workspace for comparing prompt variations side by side across multiple models, scoring each output for accuracy, safety, token cost and latency. You can open it from an alert or a failed trace, reload that prompt, and adjust settings such as temperature, max tokens and top-p. Batch Testing runs a whole dataset to check for regressions.

Six built-in evaluators cover hallucination, toxicity, prompt injection, PII exposure, relevance and answer quality. Both features work with New Relic's AI Evaluation, which uses an LLM as a judge on live traffic. The winning setup can be saved to Prompt Management.

Limits: the post gives no general availability date, no pricing and no usage limits. Capturing prompts and outputs needs New Relic's Node.js or Python APM agents, or OpenTelemetry agents.

New to this? The key idea

A golden dataset is a saved set of real questions with known good answers, used like a school exam for your AI app. Each time you change the prompt or switch models, you re-run the exam and see at once whether answers got better or worse, instead of hearing about it from customers.

Use it at work

Use it for: Teams already on New Relic that ship an LLM feature and need regression tests for every prompt or model change. Owners are usually the on-call engineer and whoever maintains the prompts.

Try it: Sign up for the public preview. Build a dataset from errored or slow AI traces, open the Playground from one failed trace, compare the same prompt across two models, then run Batch Testing over the full dataset and save the best setup to Prompt Management.

Before you roll it out: Public preview, pricing not stated. Prompts and model outputs are captured by your APM or OpenTelemetry agents, so review what personal data they contain; the PII evaluator can help flag it. Needs Node.js or Python APM, or OpenTelemetry.

Summaries are written by AI from the linked source. Always check the original.

Get AI Shorts by email

Every morning, the day's stories in one short email. Unsubscribe in one tap.