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: specs/predict/common/schemas/modelsParams.yml
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@ activateModelParams:
9
9
$ref: '#/sourceID'
10
10
index:
11
11
$ref: '#/index'
12
-
affinities:
12
+
modelAttributes:
13
13
type: array
14
14
items:
15
-
$ref: '#/affinities'
15
+
$ref: '#/modelAttributes'
16
16
contentAttributes:
17
17
type: array
18
18
items:
@@ -28,20 +28,16 @@ updateModelParams:
28
28
properties:
29
29
name:
30
30
$ref: '#/name'
31
-
affinities:
31
+
modelAttributes:
32
32
type: array
33
33
items:
34
-
$ref: '#/affinities'
34
+
$ref: '#/modelAttributes'
35
35
contentAttributes:
36
36
type: array
37
37
items:
38
38
$ref: '#/contentAttributes'
39
-
status:
40
-
$ref: '#/status'
41
-
required:
42
-
- modelID
43
-
- sourceID
44
-
- index
39
+
modelStatus:
40
+
$ref: '#/modelStatus'
45
41
46
42
type:
47
43
type: string
@@ -60,15 +56,15 @@ index:
60
56
type: string
61
57
description: The index name.
62
58
63
-
affinities:
59
+
modelAttributes:
64
60
type: string
65
-
description: List of items attributes that will be used as affinities. This param is required if `type=affinities`.
61
+
description: List of items attributes that will be used in the model. This param is required if the model `type` needs it (e.g. `affinities`, `funnel_stage`).
66
62
67
63
contentAttributes:
68
64
type: string
69
65
description: List of items attributes that will be used for embeddings, for ex. titles or descriptions.
0 commit comments