VectorSearchResult
A single search result from a vector store search.
Example Usage
typescript
import { VectorSearchResult } from "@meetkai/mka1/models/components";
let value: VectorSearchResult = {
fileId: "<id>",
filename: "example.file",
score: 7713.87,
content: [],
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
fileId | string | ✔️ | The ID of the file containing this result. |
filename | string | ✔️ | The name of the file. |
score | number | ✔️ | The relevance score of this result. |
attributes | Record<string, components.VectorSearchResultAttributes> | ➖ | File attributes. |
content | components.VectorSearchResultContent[] | ✔️ | Array of content items. |