AddTextsRequest
Request to add texts to a store.
Example Usage
typescript
import { AddTextsRequest } from "@meetkai/mka1/models/components";
let value: AddTextsRequest = {
texts: [
"Wireless noise-cancelling headphones with 30-hour battery life",
"USB-C charging cable with braided nylon sleeve",
"Portable 65W GaN wall charger with two USB-C ports",
],
vectors: [
[
0.14,
-0.07,
0.31,
],
[
0.19,
-0.11,
0.27,
],
[
0.09,
-0.04,
0.22,
],
],
group: "electronics_q1_2026",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
texts | string[] | ✔️ | List of text strings to add |
vectors | number[][] | ✔️ | Embedding vectors corresponding to each text |
group | string | ✔️ | Group identifier for these texts |