Hybrid search

  • Build
  • Agent 12

Difficulty 3 of 5

A support assistant gets 600 questions/s and puts the top 5 passages from 2 million help passages in its prompt. 30 percent of questions quote an exact error code. The right passage reaches only 66 percent of prompts. Raise answer quality to 0.92 with p99 under 60 ms.

Play level

HTTP/2gRPCUsers600 req/sAPI server2 vCPU · 2 GBVector DB1 vCPU · 16 GB
HTTP/2gRPCUsers600 req/sAPI server2 vCPU · 2 GBVector DB1 vCPU · 16 GB
The board at the start of the level
An index against a full scanTap to add or remove the index

Index · 4 pages read per query · disk writes per insert: 2

Goals and limits

Quality
at least 0.92
p99 latency
under 60 ms
Error rate
under 0.1%
Monthly cost
under 120 USD/mo
Parts you can add
Vector DB
Part limit
4
Traffic
600 req/s

Concepts

How players did

Player results load from the server.