openlayer 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/README.md +1 -1
- data/lib/openlayer/integrations/google_conversational_search_tracer.rb +80 -13
- data/lib/openlayer/models/inference_pipeline_retrieve_response.rb +38 -1
- data/lib/openlayer/models/inference_pipeline_update_response.rb +37 -1
- data/lib/openlayer/models/project_create_params.rb +37 -1
- data/lib/openlayer/models/project_create_response.rb +37 -1
- data/lib/openlayer/models/project_list_response.rb +37 -1
- data/lib/openlayer/models/project_update_params.rb +73 -0
- data/lib/openlayer/models/project_update_response.rb +298 -0
- data/lib/openlayer/models/projects/inference_pipeline_create_params.rb +38 -1
- data/lib/openlayer/models/projects/inference_pipeline_create_response.rb +38 -1
- data/lib/openlayer/models/projects/inference_pipeline_list_response.rb +41 -1
- data/lib/openlayer/models.rb +2 -0
- data/lib/openlayer/resources/projects.rb +49 -1
- data/lib/openlayer/version.rb +1 -1
- data/lib/openlayer.rb +2 -0
- data/rbi/openlayer/models/inference_pipeline_retrieve_response.rbi +37 -3
- data/rbi/openlayer/models/inference_pipeline_update_response.rbi +37 -3
- data/rbi/openlayer/models/project_create_params.rbi +34 -0
- data/rbi/openlayer/models/project_create_response.rbi +39 -3
- data/rbi/openlayer/models/project_list_response.rbi +39 -3
- data/rbi/openlayer/models/project_update_params.rbi +94 -0
- data/rbi/openlayer/models/project_update_response.rbi +437 -0
- data/rbi/openlayer/models/projects/inference_pipeline_create_params.rbi +37 -3
- data/rbi/openlayer/models/projects/inference_pipeline_create_response.rbi +37 -3
- data/rbi/openlayer/models/projects/inference_pipeline_list_response.rbi +37 -3
- data/rbi/openlayer/models.rbi +2 -0
- data/rbi/openlayer/resources/projects.rbi +46 -0
- data/sig/openlayer/models/inference_pipeline_retrieve_response.rbs +23 -3
- data/sig/openlayer/models/inference_pipeline_update_response.rbs +23 -3
- data/sig/openlayer/models/project_create_params.rbs +21 -1
- data/sig/openlayer/models/project_create_response.rbs +23 -3
- data/sig/openlayer/models/project_list_response.rbs +23 -3
- data/sig/openlayer/models/project_update_params.rbs +58 -0
- data/sig/openlayer/models/project_update_response.rbs +230 -0
- data/sig/openlayer/models/projects/inference_pipeline_create_params.rbs +23 -3
- data/sig/openlayer/models/projects/inference_pipeline_create_response.rbs +23 -3
- data/sig/openlayer/models/projects/inference_pipeline_list_response.rbs +23 -3
- data/sig/openlayer/models.rbs +2 -0
- data/sig/openlayer/resources/projects.rbs +15 -0
- metadata +8 -2
|
@@ -1271,10 +1271,27 @@ module Openlayer
|
|
|
1271
1271
|
end
|
|
1272
1272
|
attr_accessor :task_type
|
|
1273
1273
|
|
|
1274
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
1275
|
+
# retained indefinitely.
|
|
1276
|
+
sig { returns(T.nilable(Integer)) }
|
|
1277
|
+
attr_accessor :data_retention_days
|
|
1278
|
+
|
|
1274
1279
|
# The project description.
|
|
1275
1280
|
sig { returns(T.nilable(String)) }
|
|
1276
1281
|
attr_accessor :description
|
|
1277
1282
|
|
|
1283
|
+
# Who developed the model used in this project.
|
|
1284
|
+
sig { returns(T.nilable(String)) }
|
|
1285
|
+
attr_accessor :model_developer
|
|
1286
|
+
|
|
1287
|
+
# The kinds of model used in this project.
|
|
1288
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
1289
|
+
attr_accessor :model_types
|
|
1290
|
+
|
|
1291
|
+
# What the system in this project is intended to do.
|
|
1292
|
+
sig { returns(T.nilable(String)) }
|
|
1293
|
+
attr_accessor :purpose
|
|
1294
|
+
|
|
1278
1295
|
# The project id.
|
|
1279
1296
|
sig { returns(String) }
|
|
1280
1297
|
attr_accessor :id
|
|
@@ -1381,11 +1398,15 @@ module Openlayer
|
|
|
1381
1398
|
Openlayer::Models::InferencePipelineUpdateResponse::Project::TaskType::OrSymbol,
|
|
1382
1399
|
version_count: Integer,
|
|
1383
1400
|
workspace_id: T.nilable(String),
|
|
1401
|
+
data_retention_days: T.nilable(Integer),
|
|
1384
1402
|
description: T.nilable(String),
|
|
1385
1403
|
git_repo:
|
|
1386
1404
|
T.nilable(
|
|
1387
1405
|
Openlayer::Models::InferencePipelineUpdateResponse::Project::GitRepo::OrHash
|
|
1388
|
-
)
|
|
1406
|
+
),
|
|
1407
|
+
model_developer: T.nilable(String),
|
|
1408
|
+
model_types: T.nilable(T::Array[String]),
|
|
1409
|
+
purpose: T.nilable(String)
|
|
1389
1410
|
).returns(T.attached_class)
|
|
1390
1411
|
end
|
|
1391
1412
|
def self.new(
|
|
@@ -1417,9 +1438,18 @@ module Openlayer
|
|
|
1417
1438
|
version_count:,
|
|
1418
1439
|
# The workspace id.
|
|
1419
1440
|
workspace_id:,
|
|
1441
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
1442
|
+
# retained indefinitely.
|
|
1443
|
+
data_retention_days: nil,
|
|
1420
1444
|
# The project description.
|
|
1421
1445
|
description: nil,
|
|
1422
|
-
git_repo: nil
|
|
1446
|
+
git_repo: nil,
|
|
1447
|
+
# Who developed the model used in this project.
|
|
1448
|
+
model_developer: nil,
|
|
1449
|
+
# The kinds of model used in this project.
|
|
1450
|
+
model_types: nil,
|
|
1451
|
+
# What the system in this project is intended to do.
|
|
1452
|
+
purpose: nil
|
|
1423
1453
|
)
|
|
1424
1454
|
end
|
|
1425
1455
|
|
|
@@ -1445,11 +1475,15 @@ module Openlayer
|
|
|
1445
1475
|
Openlayer::Models::InferencePipelineUpdateResponse::Project::TaskType::TaggedSymbol,
|
|
1446
1476
|
version_count: Integer,
|
|
1447
1477
|
workspace_id: T.nilable(String),
|
|
1478
|
+
data_retention_days: T.nilable(Integer),
|
|
1448
1479
|
description: T.nilable(String),
|
|
1449
1480
|
git_repo:
|
|
1450
1481
|
T.nilable(
|
|
1451
1482
|
Openlayer::Models::InferencePipelineUpdateResponse::Project::GitRepo
|
|
1452
|
-
)
|
|
1483
|
+
),
|
|
1484
|
+
model_developer: T.nilable(String),
|
|
1485
|
+
model_types: T.nilable(T::Array[String]),
|
|
1486
|
+
purpose: T.nilable(String)
|
|
1453
1487
|
}
|
|
1454
1488
|
)
|
|
1455
1489
|
end
|
|
@@ -19,15 +19,36 @@ module Openlayer
|
|
|
19
19
|
sig { returns(Openlayer::ProjectCreateParams::TaskType::OrSymbol) }
|
|
20
20
|
attr_accessor :task_type
|
|
21
21
|
|
|
22
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
23
|
+
# retained indefinitely.
|
|
24
|
+
sig { returns(T.nilable(Integer)) }
|
|
25
|
+
attr_accessor :data_retention_days
|
|
26
|
+
|
|
22
27
|
# The project description.
|
|
23
28
|
sig { returns(T.nilable(String)) }
|
|
24
29
|
attr_accessor :description
|
|
25
30
|
|
|
31
|
+
# Who developed the model used in this project.
|
|
32
|
+
sig { returns(T.nilable(String)) }
|
|
33
|
+
attr_accessor :model_developer
|
|
34
|
+
|
|
35
|
+
# The kinds of model used in this project.
|
|
36
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
37
|
+
attr_accessor :model_types
|
|
38
|
+
|
|
39
|
+
# What the system in this project is intended to do.
|
|
40
|
+
sig { returns(T.nilable(String)) }
|
|
41
|
+
attr_accessor :purpose
|
|
42
|
+
|
|
26
43
|
sig do
|
|
27
44
|
params(
|
|
28
45
|
name: String,
|
|
29
46
|
task_type: Openlayer::ProjectCreateParams::TaskType::OrSymbol,
|
|
47
|
+
data_retention_days: T.nilable(Integer),
|
|
30
48
|
description: T.nilable(String),
|
|
49
|
+
model_developer: T.nilable(String),
|
|
50
|
+
model_types: T.nilable(T::Array[String]),
|
|
51
|
+
purpose: T.nilable(String),
|
|
31
52
|
request_options: Openlayer::RequestOptions::OrHash
|
|
32
53
|
).returns(T.attached_class)
|
|
33
54
|
end
|
|
@@ -36,8 +57,17 @@ module Openlayer
|
|
|
36
57
|
name:,
|
|
37
58
|
# The task type of the project.
|
|
38
59
|
task_type:,
|
|
60
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
61
|
+
# retained indefinitely.
|
|
62
|
+
data_retention_days: nil,
|
|
39
63
|
# The project description.
|
|
40
64
|
description: nil,
|
|
65
|
+
# Who developed the model used in this project.
|
|
66
|
+
model_developer: nil,
|
|
67
|
+
# The kinds of model used in this project.
|
|
68
|
+
model_types: nil,
|
|
69
|
+
# What the system in this project is intended to do.
|
|
70
|
+
purpose: nil,
|
|
41
71
|
request_options: {}
|
|
42
72
|
)
|
|
43
73
|
end
|
|
@@ -47,7 +77,11 @@ module Openlayer
|
|
|
47
77
|
{
|
|
48
78
|
name: String,
|
|
49
79
|
task_type: Openlayer::ProjectCreateParams::TaskType::OrSymbol,
|
|
80
|
+
data_retention_days: T.nilable(Integer),
|
|
50
81
|
description: T.nilable(String),
|
|
82
|
+
model_developer: T.nilable(String),
|
|
83
|
+
model_types: T.nilable(T::Array[String]),
|
|
84
|
+
purpose: T.nilable(String),
|
|
51
85
|
request_options: Openlayer::RequestOptions
|
|
52
86
|
}
|
|
53
87
|
)
|
|
@@ -23,10 +23,27 @@ module Openlayer
|
|
|
23
23
|
end
|
|
24
24
|
attr_accessor :task_type
|
|
25
25
|
|
|
26
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
27
|
+
# retained indefinitely.
|
|
28
|
+
sig { returns(T.nilable(Integer)) }
|
|
29
|
+
attr_accessor :data_retention_days
|
|
30
|
+
|
|
26
31
|
# The project description.
|
|
27
32
|
sig { returns(T.nilable(String)) }
|
|
28
33
|
attr_accessor :description
|
|
29
34
|
|
|
35
|
+
# Who developed the model used in this project.
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
attr_accessor :model_developer
|
|
38
|
+
|
|
39
|
+
# The kinds of model used in this project.
|
|
40
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
41
|
+
attr_accessor :model_types
|
|
42
|
+
|
|
43
|
+
# What the system in this project is intended to do.
|
|
44
|
+
sig { returns(T.nilable(String)) }
|
|
45
|
+
attr_accessor :purpose
|
|
46
|
+
|
|
30
47
|
# The project id.
|
|
31
48
|
sig { returns(String) }
|
|
32
49
|
attr_accessor :id
|
|
@@ -121,9 +138,15 @@ module Openlayer
|
|
|
121
138
|
Openlayer::Models::ProjectCreateResponse::TaskType::OrSymbol,
|
|
122
139
|
version_count: Integer,
|
|
123
140
|
workspace_id: T.nilable(String),
|
|
141
|
+
data_retention_days: T.nilable(Integer),
|
|
124
142
|
description: T.nilable(String),
|
|
125
143
|
git_repo:
|
|
126
|
-
T.nilable(
|
|
144
|
+
T.nilable(
|
|
145
|
+
Openlayer::Models::ProjectCreateResponse::GitRepo::OrHash
|
|
146
|
+
),
|
|
147
|
+
model_developer: T.nilable(String),
|
|
148
|
+
model_types: T.nilable(T::Array[String]),
|
|
149
|
+
purpose: T.nilable(String)
|
|
127
150
|
).returns(T.attached_class)
|
|
128
151
|
end
|
|
129
152
|
def self.new(
|
|
@@ -155,9 +178,18 @@ module Openlayer
|
|
|
155
178
|
version_count:,
|
|
156
179
|
# The workspace id.
|
|
157
180
|
workspace_id:,
|
|
181
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
182
|
+
# retained indefinitely.
|
|
183
|
+
data_retention_days: nil,
|
|
158
184
|
# The project description.
|
|
159
185
|
description: nil,
|
|
160
|
-
git_repo: nil
|
|
186
|
+
git_repo: nil,
|
|
187
|
+
# Who developed the model used in this project.
|
|
188
|
+
model_developer: nil,
|
|
189
|
+
# The kinds of model used in this project.
|
|
190
|
+
model_types: nil,
|
|
191
|
+
# What the system in this project is intended to do.
|
|
192
|
+
purpose: nil
|
|
161
193
|
)
|
|
162
194
|
end
|
|
163
195
|
|
|
@@ -182,9 +214,13 @@ module Openlayer
|
|
|
182
214
|
Openlayer::Models::ProjectCreateResponse::TaskType::TaggedSymbol,
|
|
183
215
|
version_count: Integer,
|
|
184
216
|
workspace_id: T.nilable(String),
|
|
217
|
+
data_retention_days: T.nilable(Integer),
|
|
185
218
|
description: T.nilable(String),
|
|
186
219
|
git_repo:
|
|
187
|
-
T.nilable(Openlayer::Models::ProjectCreateResponse::GitRepo)
|
|
220
|
+
T.nilable(Openlayer::Models::ProjectCreateResponse::GitRepo),
|
|
221
|
+
model_developer: T.nilable(String),
|
|
222
|
+
model_types: T.nilable(T::Array[String]),
|
|
223
|
+
purpose: T.nilable(String)
|
|
188
224
|
}
|
|
189
225
|
)
|
|
190
226
|
end
|
|
@@ -51,10 +51,27 @@ module Openlayer
|
|
|
51
51
|
end
|
|
52
52
|
attr_accessor :task_type
|
|
53
53
|
|
|
54
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
55
|
+
# retained indefinitely.
|
|
56
|
+
sig { returns(T.nilable(Integer)) }
|
|
57
|
+
attr_accessor :data_retention_days
|
|
58
|
+
|
|
54
59
|
# The project description.
|
|
55
60
|
sig { returns(T.nilable(String)) }
|
|
56
61
|
attr_accessor :description
|
|
57
62
|
|
|
63
|
+
# Who developed the model used in this project.
|
|
64
|
+
sig { returns(T.nilable(String)) }
|
|
65
|
+
attr_accessor :model_developer
|
|
66
|
+
|
|
67
|
+
# The kinds of model used in this project.
|
|
68
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
69
|
+
attr_accessor :model_types
|
|
70
|
+
|
|
71
|
+
# What the system in this project is intended to do.
|
|
72
|
+
sig { returns(T.nilable(String)) }
|
|
73
|
+
attr_accessor :purpose
|
|
74
|
+
|
|
58
75
|
# The project id.
|
|
59
76
|
sig { returns(String) }
|
|
60
77
|
attr_accessor :id
|
|
@@ -153,11 +170,15 @@ module Openlayer
|
|
|
153
170
|
Openlayer::Models::ProjectListResponse::Item::TaskType::OrSymbol,
|
|
154
171
|
version_count: Integer,
|
|
155
172
|
workspace_id: T.nilable(String),
|
|
173
|
+
data_retention_days: T.nilable(Integer),
|
|
156
174
|
description: T.nilable(String),
|
|
157
175
|
git_repo:
|
|
158
176
|
T.nilable(
|
|
159
177
|
Openlayer::Models::ProjectListResponse::Item::GitRepo::OrHash
|
|
160
|
-
)
|
|
178
|
+
),
|
|
179
|
+
model_developer: T.nilable(String),
|
|
180
|
+
model_types: T.nilable(T::Array[String]),
|
|
181
|
+
purpose: T.nilable(String)
|
|
161
182
|
).returns(T.attached_class)
|
|
162
183
|
end
|
|
163
184
|
def self.new(
|
|
@@ -189,9 +210,18 @@ module Openlayer
|
|
|
189
210
|
version_count:,
|
|
190
211
|
# The workspace id.
|
|
191
212
|
workspace_id:,
|
|
213
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
214
|
+
# retained indefinitely.
|
|
215
|
+
data_retention_days: nil,
|
|
192
216
|
# The project description.
|
|
193
217
|
description: nil,
|
|
194
|
-
git_repo: nil
|
|
218
|
+
git_repo: nil,
|
|
219
|
+
# Who developed the model used in this project.
|
|
220
|
+
model_developer: nil,
|
|
221
|
+
# The kinds of model used in this project.
|
|
222
|
+
model_types: nil,
|
|
223
|
+
# What the system in this project is intended to do.
|
|
224
|
+
purpose: nil
|
|
195
225
|
)
|
|
196
226
|
end
|
|
197
227
|
|
|
@@ -216,9 +246,15 @@ module Openlayer
|
|
|
216
246
|
Openlayer::Models::ProjectListResponse::Item::TaskType::TaggedSymbol,
|
|
217
247
|
version_count: Integer,
|
|
218
248
|
workspace_id: T.nilable(String),
|
|
249
|
+
data_retention_days: T.nilable(Integer),
|
|
219
250
|
description: T.nilable(String),
|
|
220
251
|
git_repo:
|
|
221
|
-
T.nilable(
|
|
252
|
+
T.nilable(
|
|
253
|
+
Openlayer::Models::ProjectListResponse::Item::GitRepo
|
|
254
|
+
),
|
|
255
|
+
model_developer: T.nilable(String),
|
|
256
|
+
model_types: T.nilable(T::Array[String]),
|
|
257
|
+
purpose: T.nilable(String)
|
|
222
258
|
}
|
|
223
259
|
)
|
|
224
260
|
end
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Openlayer
|
|
4
|
+
module Models
|
|
5
|
+
class ProjectUpdateParams < Openlayer::Internal::Type::BaseModel
|
|
6
|
+
extend Openlayer::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Openlayer::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Openlayer::ProjectUpdateParams, Openlayer::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :project_id
|
|
16
|
+
|
|
17
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
18
|
+
# retained indefinitely.
|
|
19
|
+
sig { returns(T.nilable(Integer)) }
|
|
20
|
+
attr_accessor :data_retention_days
|
|
21
|
+
|
|
22
|
+
# The project description.
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_accessor :description
|
|
25
|
+
|
|
26
|
+
# Who developed the model used in this project.
|
|
27
|
+
sig { returns(T.nilable(String)) }
|
|
28
|
+
attr_accessor :model_developer
|
|
29
|
+
|
|
30
|
+
# The kinds of model used in this project.
|
|
31
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
32
|
+
attr_accessor :model_types
|
|
33
|
+
|
|
34
|
+
# The project name.
|
|
35
|
+
sig { returns(T.nilable(String)) }
|
|
36
|
+
attr_reader :name
|
|
37
|
+
|
|
38
|
+
sig { params(name: String).void }
|
|
39
|
+
attr_writer :name
|
|
40
|
+
|
|
41
|
+
# What the system in this project is intended to do.
|
|
42
|
+
sig { returns(T.nilable(String)) }
|
|
43
|
+
attr_accessor :purpose
|
|
44
|
+
|
|
45
|
+
sig do
|
|
46
|
+
params(
|
|
47
|
+
project_id: String,
|
|
48
|
+
data_retention_days: T.nilable(Integer),
|
|
49
|
+
description: T.nilable(String),
|
|
50
|
+
model_developer: T.nilable(String),
|
|
51
|
+
model_types: T.nilable(T::Array[String]),
|
|
52
|
+
name: String,
|
|
53
|
+
purpose: T.nilable(String),
|
|
54
|
+
request_options: Openlayer::RequestOptions::OrHash
|
|
55
|
+
).returns(T.attached_class)
|
|
56
|
+
end
|
|
57
|
+
def self.new(
|
|
58
|
+
project_id:,
|
|
59
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
60
|
+
# retained indefinitely.
|
|
61
|
+
data_retention_days: nil,
|
|
62
|
+
# The project description.
|
|
63
|
+
description: nil,
|
|
64
|
+
# Who developed the model used in this project.
|
|
65
|
+
model_developer: nil,
|
|
66
|
+
# The kinds of model used in this project.
|
|
67
|
+
model_types: nil,
|
|
68
|
+
# The project name.
|
|
69
|
+
name: nil,
|
|
70
|
+
# What the system in this project is intended to do.
|
|
71
|
+
purpose: nil,
|
|
72
|
+
request_options: {}
|
|
73
|
+
)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
sig do
|
|
77
|
+
override.returns(
|
|
78
|
+
{
|
|
79
|
+
project_id: String,
|
|
80
|
+
data_retention_days: T.nilable(Integer),
|
|
81
|
+
description: T.nilable(String),
|
|
82
|
+
model_developer: T.nilable(String),
|
|
83
|
+
model_types: T.nilable(T::Array[String]),
|
|
84
|
+
name: String,
|
|
85
|
+
purpose: T.nilable(String),
|
|
86
|
+
request_options: Openlayer::RequestOptions
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
end
|
|
90
|
+
def to_hash
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|