Skip to content

CreateTableResponse

Example Usage

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

let value: CreateTableResponse = {
  tableName: "<value>",
  schema: {
    fields: [
      {
        name: "vector",
        nullable: false,
        dimensions: 676997,
        vectorType: "float32",
      },
    ],
  },
  indices: [
    {
      field: "<value>",
      indexType: "<value>",
      config: {
        "key": "<value>",
      },
    },
  ],
};

Fields

FieldTypeRequiredDescription
tableNamestring✔️N/A
schemacomponents.TableSchema✔️N/A
indicescomponents.IndexInfo[]✔️N/A