VectorStoreSearchResults
A page of search results from the vector store.
Example Usage
typescript
import { VectorStoreSearchResults } from "@meetkai/mka1/models/components";
let value: VectorStoreSearchResults = {
object: "vector_store.search_results.page",
searchQuery: "<value>",
data: [
{
fileId: "<id>",
filename: "example.file",
score: 1682.41,
content: [
{
type: "text",
text: "<value>",
},
],
},
],
hasMore: true,
nextPage: "<value>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
object | "vector_store.search_results.page" | ✔️ | The object type, which is always 'vector_store.search_results.page'. |
searchQuery | string | ✔️ | The query that was used for the search. |
data | components.VectorSearchResult[] | ✔️ | Array of search results. |
hasMore | boolean | ✔️ | Whether there are more results available. |
nextPage | string | ✔️ | Cursor for the next page of results, or null if no more results. |