CreateTableRequest
Example Usage
typescript
import { CreateTableRequest } from "@meetkai/mka1/models/components";
let value: CreateTableRequest = {
name: "support_kb",
schema: {
fields: [
{
name: "id",
nullable: false,
type: "string",
},
{
name: "content",
nullable: false,
type: "string",
index: "FTS",
},
{
name: "category",
nullable: false,
type: "string",
},
{
name: "rating",
nullable: true,
type: "float",
},
{
name: "embedding",
nullable: false,
type: "vector",
dimensions: 3,
},
],
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | ✔️ | N/A |
schema | components.TableSchemaInput | ✔️ | N/A |