Skip to content

AddTextsRequest

Example Usage

typescript
import { AddTextsRequest } from "@meetkai/mka1/models/operations";

let value: AddTextsRequest = {
  storeName: "<value>",
  xApiKeyId: "<id>",
  xUserId: "<id>",
  xExchangeJwtExternalUserId: "<id>",
  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

FieldTypeRequiredDescriptionExample
storeNamestring✔️N/A
xApiKeyIdstring✔️N/A
xUserIdstring✔️N/A
xExchangeJwtExternalUserIdstring✔️N/A
addTextsRequestcomponents.AddTextsRequest✔️N/A{
"group": "electronics_q1_2026",
"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
]
]
}