You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/databricks/actions/create-vector-search-index/create-vector-search-index.mjs
+27-10Lines changed: 27 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,10 @@ export default {
18
18
"A unique name for the index (e.g., `main_catalog.docs.en_wiki_index`).",
19
19
},
20
20
endpointName: {
21
-
type: "string",
22
-
label: "Endpoint Name",
23
-
description: "The vector search endpoint that will serve the index.",
21
+
propDefinition: [
22
+
databricks,
23
+
"endpointName",
24
+
],
24
25
},
25
26
indexType: {
26
27
type: "string",
@@ -40,21 +41,28 @@ export default {
40
41
type: "string",
41
42
label: "Source Table",
42
43
description:
43
-
"The Delta table backing the index (required if `indexType` is `DELTA_SYNC`).",
44
+
"The Delta table backing the index (required for `DELTA_SYNC`).",
44
45
optional: true,
45
46
},
46
47
columnsToSync: {
47
48
type: "string[]",
48
49
label: "Columns to Sync",
49
50
description:
50
-
"List of columns to sync from the source Delta table. Example: `[\"id\", \"text\"]`",
51
+
"List of columns to sync from the source Delta table. Example: `[\"id\", \"text\"]` (required for `DELTA_SYNC`).",
51
52
optional: true,
52
53
},
53
54
embeddingSourceColumns: {
54
55
type: "string[]",
55
56
label: "Embedding Source Columns",
56
57
description:
57
-
"List of embedding source column configs. Each entry should be a JSON object string like `{ \"embedding_model_endpoint_name\": \"e5-small-v2\", \"name\": \"text\" }`",
58
+
"List of embedding source column configs. Each entry should be a JSON object string like `[ { \"embedding_model_endpoint_name\": \"e5-small-v2\", \"name\": \"text\" } ]` (required for `DELTA_SYNC`).",
59
+
optional: true,
60
+
},
61
+
schemaJson: {
62
+
type: "string",
63
+
label: "Schema JSON",
64
+
description:
65
+
"The schema of the index in JSON format. Example: `{ \"columns\": [{ \"name\": \"id\", \"type\": \"string\" }, { \"name\": \"text_vector\", \"type\": \"array<double>\" }] }`. Required for `DIRECT_ACCESS` indexes.",
58
66
optional: true,
59
67
},
60
68
pipelineType: {
@@ -84,6 +92,7 @@ export default {
84
92
"sourceTable is required when indexType is DELTA_SYNC.",
0 commit comments