• Skip to primary navigation
  • Skip to main content

Artifex Routing Co

  • Plugins
  • Docs
  • Guides
  • Support
  • About
  • My Account
Wyregraf mark Wyregraf By Artifex Routing Co
OVERVIEW FEATURES HOW IT IS BUILT DOCS PRICING FAQ GET LICENSE
  • How do I keep the chat private or limit who can use it?
  • How do I make a post type available for embeddings?
  • Agents & Networks (Pro)
  • Chat Appearance and the Floating Launcher
  • Citations & Answer Verification
  • Coming from AI Engine or AI Puffer
  • Content Enrichment & Chunking
  • Conversations, Analytics, and Knowledge Gaps
  • Creating a Chat
  • Creating Embeddings
  • Displaying the Chat
  • Embeddings & Vector Profiles
  • Getting Started with Wyregraf
  • Hybrid Search & Reranking
  • Improving Answer Accuracy
  • Indexing PDFs, URLs & Code (Pro)
  • Installation & Requirements
  • LLM Profiles
  • Summaries & Questions
  • The Retrieval Lab
  • Usage and Rate Limits
  • What Visitors Can Do in the Chat
  • My source says “Reindex required” — what do I do?
  • The chat answers “no results” to questions my content covers
  • The chat replies with my fallback message instead of an answer
  • The chat returns an error instead of an answer
  • The chat widget doesn’t appear on the page
  • The embeddings queue looks stuck
  • URL Scrape says my URL is “not allowed”
  • Visitors see “You are sending messages too quickly”
  • What should I include in a support request?
  • Does Wyregraf support Voyage AI?
  • What are namespaces?
  • What is the Prompts library?
  • Which user roles can manage Wyregraf?
  • Wyregraf shortcode reference
  • How do I add my license key?
  • Where do I find my Wyregraf Pro license key?
  • Wyregraf Hooks Reference
  • Are visitor conversations saved, and for how long?
  • How are my API keys stored?
  • Is my content sent to the AI provider?
  • What do the accuracy features cost to run?
  • What does indexing and chatting cost?
  • What happens to my data if I deactivate or delete Wyregraf?
  • What’s the difference between the Retrieval and Chat types?
  • Where are my embeddings and vectors stored?
  • Which accuracy features should I turn on first?
  • Which AI providers does Wyregraf support?
  • Wyregraf 0.7.0
  • Wyregraf Changelog
View Categories
  • Home
  • Docs
  • Wyregraf
  • The Retrieval Lab

The Retrieval Lab

1 min read

0:00 / 2:16
  • View as Markdown Open this page as plain Markdown (opens in a new tab)
  • Open in ChatGPT Ask questions about this page (opens in a new tab)
  • Open in Claude Ask questions about this page (opens in a new tab)
  • Open in Google AI Studio Ask questions about this page (Google account required) (opens in a new tab)

The Retrieval Lab answers the question every accuracy switch raises: did that actually help? It runs a fixed set of benchmark questions through a chat's real retrieval configuration — same profiles, same switches, no answer generation, no caching — and scores how well the right content came back. Find it under Tools → Retrieval Lab.

The Retrieval Lab

  1. The cases editor holds your benchmark questions as JSON — save it, or import/export the set as a file.
  2. The run form executes every case against a chat (by ID) and reports the metrics.
  3. Export cases JSON downloads the set — it contains only your questions and expectations, never indexed content or credentials, so it's safe to share with support.

Writing cases #

Each case is a question plus what a correct retrieval looks like:

  • query — the question, phrased the way a visitor would ask it.
  • required_evidence — phrases that must appear in the returned content ("30-day refund period").
  • expected_content_ids / expected_source_ids — alternatively, the exact posts or sources that should match.
  • conflicting_entities — names that signal a wrong match ("Model Plus" when the question is about Model Pro).
  • parent_rollup — optionally force whole-document or chunk-level results for this one case.

Write eight to fifteen cases covering your greatest hits: exact SKUs and error codes, vague follow-up phrasings, questions about easily confused products, and one or two questions your content genuinely doesn't answer (those should come back empty).

Reading the report #

  • Hit@K / Recall@K — how often, and how completely, the expected evidence appeared in the top results.
  • MRR — how high the first correct result ranked; 1.0 means it was always first.
  • Entity conflict rate / empty rate — how often wrong-product content or nothing at all came back.
  • Each case row also shows full score provenance — dense rank, keyword rank, fused score, and the entity decision per result — so you can see why a case passed or failed.

Baselines #

Type a name in Baseline before running: the first run under a name is saved as the fixed reference, and every later run with the same name reports deltas against it instead of overwriting it. Save a before-accuracy baseline first, then compare after each switch you enable.

The same runner is available from the command line for scripted checks:

wp wyregraf evaluate --chat=123 --baseline=before-accuracy

What to do next #

Work through the rollout order in Improving Answer Accuracy, re-running your cases at each step.

Updated on October 25, 2026
Guide

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Coming from AI Engine or AI PufferCitations & Answer Verification
Table of Contents
  • Writing cases
  • Reading the report
  • Baselines
  • What to do next

Artifex Routing Co

Dependable WordPress plugins from one small team.

  • Artifex Routing Co on LinkedIn
  • Artifex Routing Co on X
Plugins
Coupon CreatorSteuardManifystWyregraf
Company
  • Terms of Service
  • Privacy Policy
  • Affiliates
  • My Account
© 2026 Artifex Routing Co
Plugins for WordPress
7ads6x98y

Contact us

Have a license? Log in and we will fill in your details.

Log into Your Account

Lost Password?

Or just send us a message

"*" indicates required fields

This field is for validation purposes and should be left unchanged.
What can we help with?*
Your Name:*
(uses account display name)
(uses account email)
Looking for a refund? Please fill out the refund form

Technical details

Drop files here or
Accepted file types: jpg, png, pdf, Max. file size: 2 MB, Max. files: 5.