CreateIndicesRequest
Example Usage
typescript
import { CreateIndicesRequest } from "@meetkai/mka1/models/operations";
let value: CreateIndicesRequest = {
tableName: "<value>",
createIndicesRequest: {
indices: [
{
field: "embedding",
config: {
type: "IVF_FLAT",
distanceType: "cosine",
numPartitions: 256,
maxIterations: 50,
sampleRate: 256,
},
},
],
},
};Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
tableName | string | ✔️ | N/A | |
createIndicesRequest | components.CreateIndicesRequest | ✔️ | N/A | { "indices": [ { "config": { "distance_type": "cosine", "num_partitions": 256, "type": "IVF_FLAT" }, "field": "embedding" } ] } |