Skip to content

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

FieldTypeRequiredDescription
fieldstring✔️N/A
indexTypestring✔️N/A
configRecord<string, any>✔️N/A