Variable: createIndexRequestSchema
constcreateIndexRequestSchema:ZodObject<{columnsToSync:ZodOptional<ZodArray<ZodString>>;embeddingDimension:ZodOptional<ZodNumber>;embeddingModel:ZodOptional<ZodString>;embeddingSourceColumn:ZodOptional<ZodString>;endpoint:ZodOptional<ZodString>;name:ZodString;pipelineType:ZodOptional<ZodEnum<{CONTINUOUS:"CONTINUOUS";TRIGGERED:"TRIGGERED"; }>>;primaryKey:ZodOptional<ZodString>;sourceTable:ZodOptional<ZodString>; },$strip>
Schema for creating an index (the create_index tool input / the
POST /api/search/index body). Two shapes, both inferring aggressively:
pass sourceTable for a Delta Sync index (Databricks computes embeddings and
keeps it synced) or embeddingDimension for a direct-access index you write
vectors to yourself.