SearchResult
Example Usage
typescript
import { SearchResult } from "@meetkai/mka1/models/components";
let value: SearchResult = {
results: [
{
"_distance": 0.102,
"category": "account",
"content": "Reset your password from the account settings page.",
"id": "doc_001",
"rating": 4.7,
},
],
total: 1,
searchTimeMs: 18,
operationsApplied: [
"vector_search",
"filter",
"limit",
],
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
results | Record<string, any>[] | ✔️ | N/A |
total | number | ✔️ | N/A |
searchTimeMs | number | ✔️ | N/A |
operationsApplied | string[] | ✔️ | N/A |