openlayer 0.0.2 → 0.1.1
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/.env +0 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/LICENSE +21 -0
- data/README.md +19 -294
- data/Rakefile +12 -0
- data/lib/openlayer/client.rb +21 -71
- data/lib/openlayer/error.rb +5 -0
- data/lib/openlayer/inference_pipeline.rb +36 -0
- data/lib/openlayer/version.rb +1 -1
- data/lib/openlayer.rb +7 -96
- data/openlayer.gemspec +42 -0
- data/sig/openlayer.rbs +4 -0
- metadata +44 -227
- data/.ignore +0 -2
- data/CHANGELOG.md +0 -15
- data/SECURITY.md +0 -27
- data/lib/openlayer/errors.rb +0 -228
- data/lib/openlayer/file_part.rb +0 -58
- data/lib/openlayer/internal/transport/base_client.rb +0 -567
- data/lib/openlayer/internal/transport/pooled_net_requester.rb +0 -198
- data/lib/openlayer/internal/type/array_of.rb +0 -168
- data/lib/openlayer/internal/type/base_model.rb +0 -531
- data/lib/openlayer/internal/type/base_page.rb +0 -55
- data/lib/openlayer/internal/type/boolean.rb +0 -77
- data/lib/openlayer/internal/type/converter.rb +0 -327
- data/lib/openlayer/internal/type/enum.rb +0 -131
- data/lib/openlayer/internal/type/file_input.rb +0 -111
- data/lib/openlayer/internal/type/hash_of.rb +0 -188
- data/lib/openlayer/internal/type/request_parameters.rb +0 -42
- data/lib/openlayer/internal/type/union.rb +0 -237
- data/lib/openlayer/internal/type/unknown.rb +0 -81
- data/lib/openlayer/internal/util.rb +0 -915
- data/lib/openlayer/internal.rb +0 -20
- data/lib/openlayer/models/commit_retrieve_params.rb +0 -14
- data/lib/openlayer/models/commit_retrieve_response.rb +0 -275
- data/lib/openlayer/models/commits/test_result_list_params.rb +0 -91
- data/lib/openlayer/models/commits/test_result_list_response.rb +0 -566
- data/lib/openlayer/models/inference_pipeline_delete_params.rb +0 -14
- data/lib/openlayer/models/inference_pipeline_retrieve_params.rb +0 -33
- data/lib/openlayer/models/inference_pipeline_retrieve_response.rb +0 -605
- data/lib/openlayer/models/inference_pipeline_update_params.rb +0 -42
- data/lib/openlayer/models/inference_pipeline_update_response.rb +0 -605
- data/lib/openlayer/models/inference_pipelines/data_stream_params.rb +0 -463
- data/lib/openlayer/models/inference_pipelines/data_stream_response.rb +0 -28
- data/lib/openlayer/models/inference_pipelines/row_update_params.rb +0 -90
- data/lib/openlayer/models/inference_pipelines/row_update_response.rb +0 -28
- data/lib/openlayer/models/inference_pipelines/test_result_list_params.rb +0 -83
- data/lib/openlayer/models/inference_pipelines/test_result_list_response.rb +0 -568
- data/lib/openlayer/models/project_create_params.rb +0 -51
- data/lib/openlayer/models/project_create_response.rb +0 -262
- data/lib/openlayer/models/project_list_params.rb +0 -59
- data/lib/openlayer/models/project_list_response.rb +0 -274
- data/lib/openlayer/models/projects/commit_create_params.rb +0 -61
- data/lib/openlayer/models/projects/commit_create_response.rb +0 -277
- data/lib/openlayer/models/projects/commit_list_params.rb +0 -32
- data/lib/openlayer/models/projects/commit_list_response.rb +0 -288
- data/lib/openlayer/models/projects/inference_pipeline_create_params.rb +0 -229
- data/lib/openlayer/models/projects/inference_pipeline_create_response.rb +0 -612
- data/lib/openlayer/models/projects/inference_pipeline_list_params.rb +0 -40
- data/lib/openlayer/models/projects/inference_pipeline_list_response.rb +0 -623
- data/lib/openlayer/models/projects/test_create_params.rb +0 -367
- data/lib/openlayer/models/projects/test_create_response.rb +0 -438
- data/lib/openlayer/models/projects/test_list_params.rb +0 -91
- data/lib/openlayer/models/projects/test_list_response.rb +0 -452
- data/lib/openlayer/models/projects/test_update_params.rb +0 -262
- data/lib/openlayer/models/projects/test_update_response.rb +0 -24
- data/lib/openlayer/models/storage/presigned_url_create_params.rb +0 -24
- data/lib/openlayer/models/storage/presigned_url_create_response.rb +0 -35
- data/lib/openlayer/models.rb +0 -61
- data/lib/openlayer/request_options.rb +0 -77
- data/lib/openlayer/resources/commits/test_results.rb +0 -51
- data/lib/openlayer/resources/commits.rb +0 -38
- data/lib/openlayer/resources/inference_pipelines/data.rb +0 -46
- data/lib/openlayer/resources/inference_pipelines/rows.rb +0 -46
- data/lib/openlayer/resources/inference_pipelines/test_results.rb +0 -49
- data/lib/openlayer/resources/inference_pipelines.rb +0 -101
- data/lib/openlayer/resources/projects/commits.rb +0 -72
- data/lib/openlayer/resources/projects/inference_pipelines.rb +0 -74
- data/lib/openlayer/resources/projects/tests.rb +0 -135
- data/lib/openlayer/resources/projects.rb +0 -80
- data/lib/openlayer/resources/storage/presigned_url.rb +0 -38
- data/lib/openlayer/resources/storage.rb +0 -18
- data/manifest.yaml +0 -15
- data/rbi/openlayer/client.rbi +0 -58
- data/rbi/openlayer/errors.rbi +0 -205
- data/rbi/openlayer/file_part.rbi +0 -37
- data/rbi/openlayer/internal/transport/base_client.rbi +0 -293
- data/rbi/openlayer/internal/transport/pooled_net_requester.rbi +0 -79
- data/rbi/openlayer/internal/type/array_of.rbi +0 -104
- data/rbi/openlayer/internal/type/base_model.rbi +0 -304
- data/rbi/openlayer/internal/type/base_page.rbi +0 -42
- data/rbi/openlayer/internal/type/boolean.rbi +0 -58
- data/rbi/openlayer/internal/type/converter.rbi +0 -216
- data/rbi/openlayer/internal/type/enum.rbi +0 -82
- data/rbi/openlayer/internal/type/file_input.rbi +0 -59
- data/rbi/openlayer/internal/type/hash_of.rbi +0 -104
- data/rbi/openlayer/internal/type/request_parameters.rbi +0 -29
- data/rbi/openlayer/internal/type/union.rbi +0 -128
- data/rbi/openlayer/internal/type/unknown.rbi +0 -58
- data/rbi/openlayer/internal/util.rbi +0 -487
- data/rbi/openlayer/internal.rbi +0 -18
- data/rbi/openlayer/models/commit_retrieve_params.rbi +0 -27
- data/rbi/openlayer/models/commit_retrieve_response.rbi +0 -393
- data/rbi/openlayer/models/commits/test_result_list_params.rbi +0 -214
- data/rbi/openlayer/models/commits/test_result_list_response.rbi +0 -1256
- data/rbi/openlayer/models/inference_pipeline_delete_params.rbi +0 -30
- data/rbi/openlayer/models/inference_pipeline_retrieve_params.rbi +0 -101
- data/rbi/openlayer/models/inference_pipeline_retrieve_response.rbi +0 -1022
- data/rbi/openlayer/models/inference_pipeline_update_params.rbi +0 -67
- data/rbi/openlayer/models/inference_pipeline_update_response.rbi +0 -1018
- data/rbi/openlayer/models/inference_pipelines/data_stream_params.rbi +0 -750
- data/rbi/openlayer/models/inference_pipelines/data_stream_response.rbi +0 -73
- data/rbi/openlayer/models/inference_pipelines/row_update_params.rbi +0 -153
- data/rbi/openlayer/models/inference_pipelines/row_update_response.rbi +0 -73
- data/rbi/openlayer/models/inference_pipelines/test_result_list_params.rbi +0 -216
- data/rbi/openlayer/models/inference_pipelines/test_result_list_response.rbi +0 -1258
- data/rbi/openlayer/models/project_create_params.rbi +0 -99
- data/rbi/openlayer/models/project_create_response.rbi +0 -401
- data/rbi/openlayer/models/project_list_params.rbi +0 -121
- data/rbi/openlayer/models/project_list_response.rbi +0 -442
- data/rbi/openlayer/models/projects/commit_create_params.rbi +0 -125
- data/rbi/openlayer/models/projects/commit_create_response.rbi +0 -409
- data/rbi/openlayer/models/projects/commit_list_params.rbi +0 -62
- data/rbi/openlayer/models/projects/commit_list_response.rbi +0 -454
- data/rbi/openlayer/models/projects/inference_pipeline_create_params.rbi +0 -560
- data/rbi/openlayer/models/projects/inference_pipeline_create_response.rbi +0 -1027
- data/rbi/openlayer/models/projects/inference_pipeline_list_params.rbi +0 -73
- data/rbi/openlayer/models/projects/inference_pipeline_list_response.rbi +0 -1070
- data/rbi/openlayer/models/projects/test_create_params.rbi +0 -940
- data/rbi/openlayer/models/projects/test_create_response.rbi +0 -1026
- data/rbi/openlayer/models/projects/test_list_params.rbi +0 -165
- data/rbi/openlayer/models/projects/test_list_response.rbi +0 -1067
- data/rbi/openlayer/models/projects/test_update_params.rbi +0 -699
- data/rbi/openlayer/models/projects/test_update_response.rbi +0 -43
- data/rbi/openlayer/models/storage/presigned_url_create_params.rbi +0 -45
- data/rbi/openlayer/models/storage/presigned_url_create_response.rbi +0 -55
- data/rbi/openlayer/models.rbi +0 -26
- data/rbi/openlayer/request_options.rbi +0 -59
- data/rbi/openlayer/resources/commits/test_results.rbi +0 -45
- data/rbi/openlayer/resources/commits.rbi +0 -29
- data/rbi/openlayer/resources/inference_pipelines/data.rbi +0 -41
- data/rbi/openlayer/resources/inference_pipelines/rows.rbi +0 -40
- data/rbi/openlayer/resources/inference_pipelines/test_results.rbi +0 -46
- data/rbi/openlayer/resources/inference_pipelines.rbi +0 -79
- data/rbi/openlayer/resources/projects/commits.rbi +0 -60
- data/rbi/openlayer/resources/projects/inference_pipelines.rbi +0 -69
- data/rbi/openlayer/resources/projects/tests.rbi +0 -123
- data/rbi/openlayer/resources/projects.rbi +0 -64
- data/rbi/openlayer/resources/storage/presigned_url.rbi +0 -28
- data/rbi/openlayer/resources/storage.rbi +0 -15
- data/rbi/openlayer/version.rbi +0 -5
- data/sig/openlayer/client.rbs +0 -32
- data/sig/openlayer/errors.rbs +0 -117
- data/sig/openlayer/file_part.rbs +0 -21
- data/sig/openlayer/internal/transport/base_client.rbs +0 -131
- data/sig/openlayer/internal/transport/pooled_net_requester.rbs +0 -45
- data/sig/openlayer/internal/type/array_of.rbs +0 -48
- data/sig/openlayer/internal/type/base_model.rbs +0 -102
- data/sig/openlayer/internal/type/base_page.rbs +0 -24
- data/sig/openlayer/internal/type/boolean.rbs +0 -26
- data/sig/openlayer/internal/type/converter.rbs +0 -79
- data/sig/openlayer/internal/type/enum.rbs +0 -32
- data/sig/openlayer/internal/type/file_input.rbs +0 -25
- data/sig/openlayer/internal/type/hash_of.rbs +0 -48
- data/sig/openlayer/internal/type/request_parameters.rbs +0 -19
- data/sig/openlayer/internal/type/union.rbs +0 -52
- data/sig/openlayer/internal/type/unknown.rbs +0 -26
- data/sig/openlayer/internal/util.rbs +0 -185
- data/sig/openlayer/internal.rbs +0 -9
- data/sig/openlayer/models/commit_retrieve_params.rbs +0 -15
- data/sig/openlayer/models/commit_retrieve_response.rbs +0 -209
- data/sig/openlayer/models/commits/test_result_list_params.rbs +0 -91
- data/sig/openlayer/models/commits/test_result_list_response.rbs +0 -529
- data/sig/openlayer/models/inference_pipeline_delete_params.rbs +0 -15
- data/sig/openlayer/models/inference_pipeline_retrieve_params.rbs +0 -41
- data/sig/openlayer/models/inference_pipeline_retrieve_response.rbs +0 -493
- data/sig/openlayer/models/inference_pipeline_update_params.rbs +0 -34
- data/sig/openlayer/models/inference_pipeline_update_response.rbs +0 -493
- data/sig/openlayer/models/inference_pipelines/data_stream_params.rbs +0 -386
- data/sig/openlayer/models/inference_pipelines/data_stream_response.rbs +0 -32
- data/sig/openlayer/models/inference_pipelines/row_update_params.rbs +0 -75
- data/sig/openlayer/models/inference_pipelines/row_update_response.rbs +0 -32
- data/sig/openlayer/models/inference_pipelines/test_result_list_params.rbs +0 -84
- data/sig/openlayer/models/inference_pipelines/test_result_list_response.rbs +0 -529
- data/sig/openlayer/models/project_create_params.rbs +0 -53
- data/sig/openlayer/models/project_create_response.rbs +0 -210
- data/sig/openlayer/models/project_list_params.rbs +0 -68
- data/sig/openlayer/models/project_list_response.rbs +0 -225
- data/sig/openlayer/models/projects/commit_create_params.rbs +0 -82
- data/sig/openlayer/models/projects/commit_create_response.rbs +0 -211
- data/sig/openlayer/models/projects/commit_list_params.rbs +0 -34
- data/sig/openlayer/models/projects/commit_list_response.rbs +0 -228
- data/sig/openlayer/models/projects/inference_pipeline_create_params.rbs +0 -308
- data/sig/openlayer/models/projects/inference_pipeline_create_response.rbs +0 -495
- data/sig/openlayer/models/projects/inference_pipeline_list_params.rbs +0 -40
- data/sig/openlayer/models/projects/inference_pipeline_list_response.rbs +0 -512
- data/sig/openlayer/models/projects/test_create_params.rbs +0 -388
- data/sig/openlayer/models/projects/test_create_response.rbs +0 -427
- data/sig/openlayer/models/projects/test_list_params.rbs +0 -85
- data/sig/openlayer/models/projects/test_list_response.rbs +0 -442
- data/sig/openlayer/models/projects/test_update_params.rbs +0 -275
- data/sig/openlayer/models/projects/test_update_response.rbs +0 -25
- data/sig/openlayer/models/storage/presigned_url_create_params.rbs +0 -25
- data/sig/openlayer/models/storage/presigned_url_create_response.rbs +0 -22
- data/sig/openlayer/models.rbs +0 -21
- data/sig/openlayer/request_options.rbs +0 -34
- data/sig/openlayer/resources/commits/test_results.rbs +0 -19
- data/sig/openlayer/resources/commits.rbs +0 -14
- data/sig/openlayer/resources/inference_pipelines/data.rbs +0 -16
- data/sig/openlayer/resources/inference_pipelines/rows.rbs +0 -17
- data/sig/openlayer/resources/inference_pipelines/test_results.rbs +0 -18
- data/sig/openlayer/resources/inference_pipelines.rbs +0 -32
- data/sig/openlayer/resources/projects/commits.rbs +0 -25
- data/sig/openlayer/resources/projects/inference_pipelines.rbs +0 -26
- data/sig/openlayer/resources/projects/tests.rbs +0 -45
- data/sig/openlayer/resources/projects.rbs +0 -28
- data/sig/openlayer/resources/storage/presigned_url.rbs +0 -14
- data/sig/openlayer/resources/storage.rbs +0 -9
- data/sig/openlayer/version.rbs +0 -3
@@ -1,493 +0,0 @@
|
|
1
|
-
module Openlayer
|
2
|
-
module Models
|
3
|
-
type inference_pipeline_retrieve_response =
|
4
|
-
{
|
5
|
-
id: String,
|
6
|
-
date_created: Time,
|
7
|
-
date_last_evaluated: Time?,
|
8
|
-
date_last_sample_received: Time?,
|
9
|
-
date_of_next_evaluation: Time?,
|
10
|
-
date_updated: Time,
|
11
|
-
description: String?,
|
12
|
-
failing_goal_count: Integer,
|
13
|
-
links: Openlayer::Models::InferencePipelineRetrieveResponse::Links,
|
14
|
-
name: String,
|
15
|
-
passing_goal_count: Integer,
|
16
|
-
project_id: String,
|
17
|
-
status: Openlayer::Models::InferencePipelineRetrieveResponse::status,
|
18
|
-
status_message: String?,
|
19
|
-
total_goal_count: Integer,
|
20
|
-
project: Openlayer::Models::InferencePipelineRetrieveResponse::Project?,
|
21
|
-
workspace: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace?,
|
22
|
-
workspace_id: String
|
23
|
-
}
|
24
|
-
|
25
|
-
class InferencePipelineRetrieveResponse < Openlayer::Internal::Type::BaseModel
|
26
|
-
attr_accessor description: String?
|
27
|
-
|
28
|
-
attr_accessor name: String
|
29
|
-
|
30
|
-
attr_accessor project: Openlayer::Models::InferencePipelineRetrieveResponse::Project?
|
31
|
-
|
32
|
-
attr_accessor workspace: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace?
|
33
|
-
|
34
|
-
attr_accessor id: String
|
35
|
-
|
36
|
-
attr_accessor date_created: Time
|
37
|
-
|
38
|
-
attr_accessor date_last_evaluated: Time?
|
39
|
-
|
40
|
-
attr_accessor date_last_sample_received: Time?
|
41
|
-
|
42
|
-
attr_accessor date_of_next_evaluation: Time?
|
43
|
-
|
44
|
-
attr_accessor date_updated: Time
|
45
|
-
|
46
|
-
attr_accessor failing_goal_count: Integer
|
47
|
-
|
48
|
-
attr_accessor links: Openlayer::Models::InferencePipelineRetrieveResponse::Links
|
49
|
-
|
50
|
-
attr_accessor passing_goal_count: Integer
|
51
|
-
|
52
|
-
attr_accessor project_id: String
|
53
|
-
|
54
|
-
attr_accessor status: Openlayer::Models::InferencePipelineRetrieveResponse::status
|
55
|
-
|
56
|
-
attr_accessor status_message: String?
|
57
|
-
|
58
|
-
attr_accessor total_goal_count: Integer
|
59
|
-
|
60
|
-
attr_reader workspace_id: String?
|
61
|
-
|
62
|
-
def workspace_id=: (String) -> String
|
63
|
-
|
64
|
-
def initialize: (
|
65
|
-
id: String,
|
66
|
-
date_created: Time,
|
67
|
-
date_last_evaluated: Time?,
|
68
|
-
date_last_sample_received: Time?,
|
69
|
-
date_of_next_evaluation: Time?,
|
70
|
-
date_updated: Time,
|
71
|
-
description: String?,
|
72
|
-
failing_goal_count: Integer,
|
73
|
-
links: Openlayer::Models::InferencePipelineRetrieveResponse::Links,
|
74
|
-
name: String,
|
75
|
-
passing_goal_count: Integer,
|
76
|
-
project_id: String,
|
77
|
-
status: Openlayer::Models::InferencePipelineRetrieveResponse::status,
|
78
|
-
status_message: String?,
|
79
|
-
total_goal_count: Integer,
|
80
|
-
?project: Openlayer::Models::InferencePipelineRetrieveResponse::Project?,
|
81
|
-
?workspace: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace?,
|
82
|
-
?workspace_id: String
|
83
|
-
) -> void
|
84
|
-
|
85
|
-
def to_hash: -> {
|
86
|
-
id: String,
|
87
|
-
date_created: Time,
|
88
|
-
date_last_evaluated: Time?,
|
89
|
-
date_last_sample_received: Time?,
|
90
|
-
date_of_next_evaluation: Time?,
|
91
|
-
date_updated: Time,
|
92
|
-
description: String?,
|
93
|
-
failing_goal_count: Integer,
|
94
|
-
links: Openlayer::Models::InferencePipelineRetrieveResponse::Links,
|
95
|
-
name: String,
|
96
|
-
passing_goal_count: Integer,
|
97
|
-
project_id: String,
|
98
|
-
status: Openlayer::Models::InferencePipelineRetrieveResponse::status,
|
99
|
-
status_message: String?,
|
100
|
-
total_goal_count: Integer,
|
101
|
-
project: Openlayer::Models::InferencePipelineRetrieveResponse::Project?,
|
102
|
-
workspace: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace?,
|
103
|
-
workspace_id: String
|
104
|
-
}
|
105
|
-
|
106
|
-
type links = { app: String }
|
107
|
-
|
108
|
-
class Links < Openlayer::Internal::Type::BaseModel
|
109
|
-
attr_accessor app: String
|
110
|
-
|
111
|
-
def initialize: (app: String) -> void
|
112
|
-
|
113
|
-
def to_hash: -> { app: String }
|
114
|
-
end
|
115
|
-
|
116
|
-
type status =
|
117
|
-
:queued | :running | :paused | :failed | :completed | :unknown
|
118
|
-
|
119
|
-
module Status
|
120
|
-
extend Openlayer::Internal::Type::Enum
|
121
|
-
|
122
|
-
QUEUED: :queued
|
123
|
-
RUNNING: :running
|
124
|
-
PAUSED: :paused
|
125
|
-
FAILED: :failed
|
126
|
-
COMPLETED: :completed
|
127
|
-
UNKNOWN: :unknown
|
128
|
-
|
129
|
-
def self?.values: -> ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::status]
|
130
|
-
end
|
131
|
-
|
132
|
-
type project =
|
133
|
-
{
|
134
|
-
id: String,
|
135
|
-
creator_id: String?,
|
136
|
-
date_created: Time,
|
137
|
-
date_updated: Time,
|
138
|
-
development_goal_count: Integer,
|
139
|
-
goal_count: Integer,
|
140
|
-
inference_pipeline_count: Integer,
|
141
|
-
links: Openlayer::Models::InferencePipelineRetrieveResponse::Project::Links,
|
142
|
-
monitoring_goal_count: Integer,
|
143
|
-
name: String,
|
144
|
-
source: Openlayer::Models::InferencePipelineRetrieveResponse::Project::source?,
|
145
|
-
task_type: Openlayer::Models::InferencePipelineRetrieveResponse::Project::task_type,
|
146
|
-
version_count: Integer,
|
147
|
-
workspace_id: String?,
|
148
|
-
description: String?,
|
149
|
-
git_repo: Openlayer::Models::InferencePipelineRetrieveResponse::Project::GitRepo?
|
150
|
-
}
|
151
|
-
|
152
|
-
class Project < Openlayer::Internal::Type::BaseModel
|
153
|
-
attr_accessor name: String
|
154
|
-
|
155
|
-
attr_accessor task_type: Openlayer::Models::InferencePipelineRetrieveResponse::Project::task_type
|
156
|
-
|
157
|
-
attr_accessor description: String?
|
158
|
-
|
159
|
-
attr_accessor id: String
|
160
|
-
|
161
|
-
attr_accessor creator_id: String?
|
162
|
-
|
163
|
-
attr_accessor date_created: Time
|
164
|
-
|
165
|
-
attr_accessor date_updated: Time
|
166
|
-
|
167
|
-
attr_accessor development_goal_count: Integer
|
168
|
-
|
169
|
-
attr_accessor goal_count: Integer
|
170
|
-
|
171
|
-
attr_accessor inference_pipeline_count: Integer
|
172
|
-
|
173
|
-
attr_accessor links: Openlayer::Models::InferencePipelineRetrieveResponse::Project::Links
|
174
|
-
|
175
|
-
attr_accessor monitoring_goal_count: Integer
|
176
|
-
|
177
|
-
attr_accessor source: Openlayer::Models::InferencePipelineRetrieveResponse::Project::source?
|
178
|
-
|
179
|
-
attr_accessor version_count: Integer
|
180
|
-
|
181
|
-
attr_accessor workspace_id: String?
|
182
|
-
|
183
|
-
attr_accessor git_repo: Openlayer::Models::InferencePipelineRetrieveResponse::Project::GitRepo?
|
184
|
-
|
185
|
-
def initialize: (
|
186
|
-
id: String,
|
187
|
-
creator_id: String?,
|
188
|
-
date_created: Time,
|
189
|
-
date_updated: Time,
|
190
|
-
development_goal_count: Integer,
|
191
|
-
goal_count: Integer,
|
192
|
-
inference_pipeline_count: Integer,
|
193
|
-
links: Openlayer::Models::InferencePipelineRetrieveResponse::Project::Links,
|
194
|
-
monitoring_goal_count: Integer,
|
195
|
-
name: String,
|
196
|
-
source: Openlayer::Models::InferencePipelineRetrieveResponse::Project::source?,
|
197
|
-
task_type: Openlayer::Models::InferencePipelineRetrieveResponse::Project::task_type,
|
198
|
-
version_count: Integer,
|
199
|
-
workspace_id: String?,
|
200
|
-
?description: String?,
|
201
|
-
?git_repo: Openlayer::Models::InferencePipelineRetrieveResponse::Project::GitRepo?
|
202
|
-
) -> void
|
203
|
-
|
204
|
-
def to_hash: -> {
|
205
|
-
id: String,
|
206
|
-
creator_id: String?,
|
207
|
-
date_created: Time,
|
208
|
-
date_updated: Time,
|
209
|
-
development_goal_count: Integer,
|
210
|
-
goal_count: Integer,
|
211
|
-
inference_pipeline_count: Integer,
|
212
|
-
links: Openlayer::Models::InferencePipelineRetrieveResponse::Project::Links,
|
213
|
-
monitoring_goal_count: Integer,
|
214
|
-
name: String,
|
215
|
-
source: Openlayer::Models::InferencePipelineRetrieveResponse::Project::source?,
|
216
|
-
task_type: Openlayer::Models::InferencePipelineRetrieveResponse::Project::task_type,
|
217
|
-
version_count: Integer,
|
218
|
-
workspace_id: String?,
|
219
|
-
description: String?,
|
220
|
-
git_repo: Openlayer::Models::InferencePipelineRetrieveResponse::Project::GitRepo?
|
221
|
-
}
|
222
|
-
|
223
|
-
type links = { app: String }
|
224
|
-
|
225
|
-
class Links < Openlayer::Internal::Type::BaseModel
|
226
|
-
attr_accessor app: String
|
227
|
-
|
228
|
-
def initialize: (app: String) -> void
|
229
|
-
|
230
|
-
def to_hash: -> { app: String }
|
231
|
-
end
|
232
|
-
|
233
|
-
type source = :web | :api | :null
|
234
|
-
|
235
|
-
module Source
|
236
|
-
extend Openlayer::Internal::Type::Enum
|
237
|
-
|
238
|
-
WEB: :web
|
239
|
-
API: :api
|
240
|
-
NULL: :null
|
241
|
-
|
242
|
-
def self?.values: -> ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Project::source]
|
243
|
-
end
|
244
|
-
|
245
|
-
type task_type =
|
246
|
-
:"llm-base"
|
247
|
-
| :"tabular-classification"
|
248
|
-
| :"tabular-regression"
|
249
|
-
| :"text-classification"
|
250
|
-
|
251
|
-
module TaskType
|
252
|
-
extend Openlayer::Internal::Type::Enum
|
253
|
-
|
254
|
-
LLM_BASE: :"llm-base"
|
255
|
-
TABULAR_CLASSIFICATION: :"tabular-classification"
|
256
|
-
TABULAR_REGRESSION: :"tabular-regression"
|
257
|
-
TEXT_CLASSIFICATION: :"text-classification"
|
258
|
-
|
259
|
-
def self?.values: -> ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Project::task_type]
|
260
|
-
end
|
261
|
-
|
262
|
-
type git_repo =
|
263
|
-
{
|
264
|
-
id: String,
|
265
|
-
date_connected: Time,
|
266
|
-
date_updated: Time,
|
267
|
-
git_account_id: String,
|
268
|
-
git_id: Integer,
|
269
|
-
name: String,
|
270
|
-
private: bool,
|
271
|
-
project_id: String,
|
272
|
-
slug: String,
|
273
|
-
url: String,
|
274
|
-
branch: String,
|
275
|
-
root_dir: String
|
276
|
-
}
|
277
|
-
|
278
|
-
class GitRepo < Openlayer::Internal::Type::BaseModel
|
279
|
-
attr_accessor git_account_id: String
|
280
|
-
|
281
|
-
attr_accessor git_id: Integer
|
282
|
-
|
283
|
-
attr_reader branch: String?
|
284
|
-
|
285
|
-
def branch=: (String) -> String
|
286
|
-
|
287
|
-
attr_reader root_dir: String?
|
288
|
-
|
289
|
-
def root_dir=: (String) -> String
|
290
|
-
|
291
|
-
attr_accessor id: String
|
292
|
-
|
293
|
-
attr_accessor date_connected: Time
|
294
|
-
|
295
|
-
attr_accessor date_updated: Time
|
296
|
-
|
297
|
-
attr_accessor name: String
|
298
|
-
|
299
|
-
attr_accessor private: bool
|
300
|
-
|
301
|
-
attr_accessor project_id: String
|
302
|
-
|
303
|
-
attr_accessor slug: String
|
304
|
-
|
305
|
-
attr_accessor url: String
|
306
|
-
|
307
|
-
def initialize: (
|
308
|
-
id: String,
|
309
|
-
date_connected: Time,
|
310
|
-
date_updated: Time,
|
311
|
-
git_account_id: String,
|
312
|
-
git_id: Integer,
|
313
|
-
name: String,
|
314
|
-
private: bool,
|
315
|
-
project_id: String,
|
316
|
-
slug: String,
|
317
|
-
url: String,
|
318
|
-
?branch: String,
|
319
|
-
?root_dir: String
|
320
|
-
) -> void
|
321
|
-
|
322
|
-
def to_hash: -> {
|
323
|
-
id: String,
|
324
|
-
date_connected: Time,
|
325
|
-
date_updated: Time,
|
326
|
-
git_account_id: String,
|
327
|
-
git_id: Integer,
|
328
|
-
name: String,
|
329
|
-
private: bool,
|
330
|
-
project_id: String,
|
331
|
-
slug: String,
|
332
|
-
url: String,
|
333
|
-
branch: String,
|
334
|
-
root_dir: String
|
335
|
-
}
|
336
|
-
end
|
337
|
-
end
|
338
|
-
|
339
|
-
type workspace =
|
340
|
-
{
|
341
|
-
id: String,
|
342
|
-
creator_id: String?,
|
343
|
-
date_created: Time,
|
344
|
-
date_updated: Time,
|
345
|
-
invite_count: Integer,
|
346
|
-
member_count: Integer,
|
347
|
-
name: String,
|
348
|
-
period_end_date: Time?,
|
349
|
-
period_start_date: Time?,
|
350
|
-
project_count: Integer,
|
351
|
-
slug: String,
|
352
|
-
status: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::status,
|
353
|
-
invite_code: String,
|
354
|
-
monthly_usage: ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::MonthlyUsage],
|
355
|
-
saml_only_access: bool,
|
356
|
-
wildcard_domains: ::Array[String]
|
357
|
-
}
|
358
|
-
|
359
|
-
class Workspace < Openlayer::Internal::Type::BaseModel
|
360
|
-
attr_accessor name: String
|
361
|
-
|
362
|
-
attr_accessor slug: String
|
363
|
-
|
364
|
-
attr_reader saml_only_access: bool?
|
365
|
-
|
366
|
-
def saml_only_access=: (bool) -> bool
|
367
|
-
|
368
|
-
attr_reader wildcard_domains: ::Array[String]?
|
369
|
-
|
370
|
-
def wildcard_domains=: (::Array[String]) -> ::Array[String]
|
371
|
-
|
372
|
-
attr_accessor id: String
|
373
|
-
|
374
|
-
attr_accessor creator_id: String?
|
375
|
-
|
376
|
-
attr_accessor date_created: Time
|
377
|
-
|
378
|
-
attr_accessor date_updated: Time
|
379
|
-
|
380
|
-
attr_accessor invite_count: Integer
|
381
|
-
|
382
|
-
attr_accessor member_count: Integer
|
383
|
-
|
384
|
-
attr_accessor period_end_date: Time?
|
385
|
-
|
386
|
-
attr_accessor period_start_date: Time?
|
387
|
-
|
388
|
-
attr_accessor project_count: Integer
|
389
|
-
|
390
|
-
attr_accessor status: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::status
|
391
|
-
|
392
|
-
attr_reader monthly_usage: ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::MonthlyUsage]?
|
393
|
-
|
394
|
-
def monthly_usage=: (
|
395
|
-
::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::MonthlyUsage]
|
396
|
-
) -> ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::MonthlyUsage]
|
397
|
-
|
398
|
-
def initialize: (
|
399
|
-
id: String,
|
400
|
-
creator_id: String?,
|
401
|
-
date_created: Time,
|
402
|
-
date_updated: Time,
|
403
|
-
invite_count: Integer,
|
404
|
-
member_count: Integer,
|
405
|
-
name: String,
|
406
|
-
period_end_date: Time?,
|
407
|
-
period_start_date: Time?,
|
408
|
-
project_count: Integer,
|
409
|
-
slug: String,
|
410
|
-
status: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::status,
|
411
|
-
?monthly_usage: ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::MonthlyUsage],
|
412
|
-
?saml_only_access: bool,
|
413
|
-
?wildcard_domains: ::Array[String]
|
414
|
-
) -> void
|
415
|
-
|
416
|
-
def to_hash: -> {
|
417
|
-
id: String,
|
418
|
-
creator_id: String?,
|
419
|
-
date_created: Time,
|
420
|
-
date_updated: Time,
|
421
|
-
invite_count: Integer,
|
422
|
-
member_count: Integer,
|
423
|
-
name: String,
|
424
|
-
period_end_date: Time?,
|
425
|
-
period_start_date: Time?,
|
426
|
-
project_count: Integer,
|
427
|
-
slug: String,
|
428
|
-
status: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::status,
|
429
|
-
invite_code: String,
|
430
|
-
monthly_usage: ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::MonthlyUsage],
|
431
|
-
saml_only_access: bool,
|
432
|
-
wildcard_domains: ::Array[String]
|
433
|
-
}
|
434
|
-
|
435
|
-
type status =
|
436
|
-
:active
|
437
|
-
| :past_due
|
438
|
-
| :unpaid
|
439
|
-
| :canceled
|
440
|
-
| :incomplete
|
441
|
-
| :incomplete_expired
|
442
|
-
| :trialing
|
443
|
-
| :paused
|
444
|
-
|
445
|
-
module Status
|
446
|
-
extend Openlayer::Internal::Type::Enum
|
447
|
-
|
448
|
-
ACTIVE: :active
|
449
|
-
PAST_DUE: :past_due
|
450
|
-
UNPAID: :unpaid
|
451
|
-
CANCELED: :canceled
|
452
|
-
INCOMPLETE: :incomplete
|
453
|
-
INCOMPLETE_EXPIRED: :incomplete_expired
|
454
|
-
TRIALING: :trialing
|
455
|
-
PAUSED: :paused
|
456
|
-
|
457
|
-
def self?.values: -> ::Array[Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::status]
|
458
|
-
end
|
459
|
-
|
460
|
-
type monthly_usage =
|
461
|
-
{
|
462
|
-
execution_time_ms: Integer?,
|
463
|
-
month_year: Date,
|
464
|
-
prediction_count: Integer
|
465
|
-
}
|
466
|
-
|
467
|
-
class MonthlyUsage < Openlayer::Internal::Type::BaseModel
|
468
|
-
attr_accessor execution_time_ms: Integer?
|
469
|
-
|
470
|
-
attr_reader month_year: Date?
|
471
|
-
|
472
|
-
def month_year=: (Date) -> Date
|
473
|
-
|
474
|
-
attr_reader prediction_count: Integer?
|
475
|
-
|
476
|
-
def prediction_count=: (Integer) -> Integer
|
477
|
-
|
478
|
-
def initialize: (
|
479
|
-
?execution_time_ms: Integer?,
|
480
|
-
?month_year: Date,
|
481
|
-
?prediction_count: Integer
|
482
|
-
) -> void
|
483
|
-
|
484
|
-
def to_hash: -> {
|
485
|
-
execution_time_ms: Integer?,
|
486
|
-
month_year: Date,
|
487
|
-
prediction_count: Integer
|
488
|
-
}
|
489
|
-
end
|
490
|
-
end
|
491
|
-
end
|
492
|
-
end
|
493
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
module Openlayer
|
2
|
-
module Models
|
3
|
-
type inference_pipeline_update_params =
|
4
|
-
{ description: String?, name: String, reference_dataset_uri: String? }
|
5
|
-
& Openlayer::Internal::Type::request_parameters
|
6
|
-
|
7
|
-
class InferencePipelineUpdateParams < Openlayer::Internal::Type::BaseModel
|
8
|
-
extend Openlayer::Internal::Type::RequestParameters::Converter
|
9
|
-
include Openlayer::Internal::Type::RequestParameters
|
10
|
-
|
11
|
-
attr_accessor description: String?
|
12
|
-
|
13
|
-
attr_reader name: String?
|
14
|
-
|
15
|
-
def name=: (String) -> String
|
16
|
-
|
17
|
-
attr_accessor reference_dataset_uri: String?
|
18
|
-
|
19
|
-
def initialize: (
|
20
|
-
?description: String?,
|
21
|
-
?name: String,
|
22
|
-
?reference_dataset_uri: String?,
|
23
|
-
?request_options: Openlayer::request_opts
|
24
|
-
) -> void
|
25
|
-
|
26
|
-
def to_hash: -> {
|
27
|
-
description: String?,
|
28
|
-
name: String,
|
29
|
-
reference_dataset_uri: String?,
|
30
|
-
request_options: Openlayer::RequestOptions
|
31
|
-
}
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|