IndexInfo
Example Usage
typescript
import { IndexInfo } from "@meetkai/mka1/models/components";
let value: IndexInfo = {
field: "embedding",
indexType: "IVF_FLAT",
config: {
"distance_type": "cosine",
"num_partitions": 128,
"type": "IVF_FLAT",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
field | string | ✔️ | N/A |
indexType | string | ✔️ | N/A |
config | Record<string, any> | ✔️ | N/A |