Vector Search Filter

docstop_k = 5
lang:ensection:guides
About this piece

Vector Search Filter

Vector query bar with namespace name, top_k value, and removable key:value filter chips for metadata.

Usage

The import and the props worth knowing about, in one place.

import { Ai37 } from "@/components/beste/piece/ai37";

<Ai37
  namespace="docs"
  topK={5}
  filters={[
    {
      "key": "lang",
      "value": "en"
    },
    {
      "key": "section",
      "value": "guides"
    }
  ]}
  bordered={false}
/>

More AI pieces

View all AI
“The capital of France is”
  • “Paris”64.3%
  • “the”18.7%
  • “located”8.1%
  • “also”4.2%
Implementing rate limits with Redis
0.92

Use INCR with an EXPIRE TTL to build a fixed-window limiter that resets every minute.

support_tickets48,200 rows
train 80%val 10%test 10%

"where is my order?"

order_status
shipping_eta
refund_request
Query
Retrieve
Rerank
Answer