Skip to content

CreateItemsRequest

Example Usage

typescript
import { CreateItemsRequest } from "@meetkai/mka1/models/components";

let value: CreateItemsRequest = {
  items: [
    {
      role: "user",
      content: "What is the weather today?",
      id: "msg_aa87e2b1112a455b8deabed784372198",
    },
  ],
};

Fields

FieldTypeRequiredDescription
itemscomponents.Item[]✔️Items to add to the conversation. Min 1, max 20 items at a time.
includestring[]Additional fields to include (TODO: not implemented yet)