steamutils 1.2.84 → 1.2.85

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. package/.idea/deployment.xml +21 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/SteamClient.js +13 -2
  5. package/free_packages.json +10048 -10048
  6. package/package.json +1 -1
  7. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  8. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  9. package/protos/csgo/clientmessages.proto +48 -48
  10. package/protos/csgo/connectionless_netmessages.proto +19 -19
  11. package/protos/csgo/cs_gameevents.proto +34 -34
  12. package/protos/csgo/cs_usercmd.proto +34 -34
  13. package/protos/csgo/cstrike15_gcmessages.proto +1402 -1402
  14. package/protos/csgo/cstrike15_usermessages.proto +596 -596
  15. package/protos/csgo/demo.proto +160 -160
  16. package/protos/csgo/econ_gcmessages.proto +228 -228
  17. package/protos/csgo/engine_gcmessages.proto +14 -14
  18. package/protos/csgo/enums_clientserver.proto +1529 -1529
  19. package/protos/csgo/fatdemo.proto +125 -125
  20. package/protos/csgo/gameevents.proto +120 -120
  21. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  22. package/protos/csgo/gcsystemmsgs.proto +242 -242
  23. package/protos/csgo/netmessages.proto +604 -604
  24. package/protos/csgo/network_connection.proto +126 -126
  25. package/protos/csgo/networkbasetypes.proto +244 -244
  26. package/protos/csgo/networksystem_protomessages.proto +17 -17
  27. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  28. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  29. package/protos/csgo/steammessages.proto +597 -597
  30. package/protos/csgo/steammessages_base.proto +301 -301
  31. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  32. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  33. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  34. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  35. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  36. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  37. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -357
  38. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  39. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  40. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  41. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  42. package/protos/csgo/te.proto +259 -259
  43. package/protos/csgo/uifontfile_format.proto +13 -13
  44. package/protos/csgo/usercmd.proto +38 -38
  45. package/protos/csgo/usermessages.proto +721 -721
  46. package/protos/csgo/valveextensions.proto +17 -17
  47. package/protos/google/protobuf/descriptor.proto +281 -281
  48. package/protos/steam/clientmetrics.proto +45 -45
  49. package/protos/steam/content_manifest.proto +62 -62
  50. package/protos/steam/contenthubs.proto +41 -41
  51. package/protos/steam/encrypted_app_ticket.proto +10 -10
  52. package/protos/steam/enums.proto +444 -444
  53. package/protos/steam/enums_clientserver.proto +1539 -1539
  54. package/protos/steam/enums_productinfo.proto +13 -13
  55. package/protos/steam/htmlmessages.proto +1027 -1027
  56. package/protos/steam/offline_ticket.proto +8 -8
  57. package/protos/steam/renderer/rendermessages.proto +893 -893
  58. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  59. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  60. package/protos/steam/steammessages_accounthardware.steamclient.proto +201 -201
  61. package/protos/steam/steammessages_appoverview.proto +187 -187
  62. package/protos/steam/steammessages_auth.steamclient.proto +435 -435
  63. package/protos/steam/steammessages_base.proto +332 -332
  64. package/protos/steam/steammessages_broadcast.steamclient.proto +759 -759
  65. package/protos/steam/steammessages_chat.steamclient.proto +1281 -1281
  66. package/protos/steam/steammessages_client_objects.proto +645 -645
  67. package/protos/steam/steammessages_clientlanp2p.proto +42 -42
  68. package/protos/steam/steammessages_clientmetrics.steamclient.proto +194 -194
  69. package/protos/steam/steammessages_clientnotificationtypes.proto +231 -231
  70. package/protos/steam/steammessages_clientserver.proto +392 -392
  71. package/protos/steam/steammessages_clientserver_2.proto +760 -760
  72. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  73. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  74. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  75. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  76. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  77. package/protos/steam/steammessages_clientserver_ucm.proto +205 -205
  78. package/protos/steam/steammessages_clientserver_uds.proto +124 -124
  79. package/protos/steam/steammessages_clientserver_ufs.proto +172 -172
  80. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  81. package/protos/steam/steammessages_clientsettings.proto +168 -168
  82. package/protos/steam/steammessages_cloud.steamclient.proto +513 -513
  83. package/protos/steam/steammessages_contentsystem.steamclient.proto +115 -115
  84. package/protos/steam/steammessages_credentials.steamclient.proto +115 -115
  85. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -116
  86. package/protos/steam/steammessages_depotbuilder.steamclient.proto +118 -118
  87. package/protos/steam/steammessages_deviceauth.steamclient.proto +203 -203
  88. package/protos/steam/steammessages_econ.steamclient.proto +150 -150
  89. package/protos/steam/steammessages_friendmessages.steamclient.proto +168 -168
  90. package/protos/steam/steammessages_gamenetworking.steamclient.proto +32 -32
  91. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  92. package/protos/steam/steammessages_gamenotifications.steamclient.proto +156 -156
  93. package/protos/steam/steammessages_gameservers.steamclient.proto +152 -152
  94. package/protos/steam/steammessages_hiddevices.proto +157 -157
  95. package/protos/steam/steammessages_inventory.steamclient.proto +224 -224
  96. package/protos/steam/steammessages_linkfilter.steamclient.proto +49 -49
  97. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +33 -33
  98. package/protos/steam/steammessages_market.steamclient.proto +26 -26
  99. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -274
  100. package/protos/steam/steammessages_offline.steamclient.proto +40 -40
  101. package/protos/steam/steammessages_parental.steamclient.proto +228 -228
  102. package/protos/steam/steammessages_parties.steamclient.proto +94 -94
  103. package/protos/steam/steammessages_partnerapps.steamclient.proto +138 -138
  104. package/protos/steam/steammessages_player.steamclient.proto +1060 -1060
  105. package/protos/steam/steammessages_publishedfile.steamclient.proto +813 -813
  106. package/protos/steam/steammessages_qms.steamclient.proto +125 -125
  107. package/protos/steam/steammessages_remoteclient.proto +99 -99
  108. package/protos/steam/steammessages_remoteclient_discovery.proto +235 -235
  109. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +86 -86
  110. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  111. package/protos/steam/steammessages_remoteplay.proto +976 -976
  112. package/protos/steam/steammessages_secrets.steamclient.proto +39 -39
  113. package/protos/steam/steammessages_shader.steamclient.proto +108 -108
  114. package/protos/steam/steammessages_site_license.steamclient.proto +128 -128
  115. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  116. package/protos/steam/steammessages_siteserverui.proto +130 -130
  117. package/protos/steam/steammessages_star.steamclient.proto +64 -64
  118. package/protos/steam/steammessages_steamtv.steamclient.proto +630 -630
  119. package/protos/steam/steammessages_store.steamclient.proto +371 -371
  120. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -402
  121. package/protos/steam/steammessages_timedtrial.steamclient.proto +50 -50
  122. package/protos/steam/steammessages_twofactor.steamclient.proto +186 -186
  123. package/protos/steam/steammessages_unified_base.steamclient.proto +33 -33
  124. package/protos/steam/steammessages_unified_test.steamclient.proto +61 -61
  125. package/protos/steam/steammessages_useraccount.steamclient.proto +249 -249
  126. package/protos/steam/steammessages_vac.steamclient.proto +44 -44
  127. package/protos/steam/steammessages_video.steamclient.proto +171 -171
  128. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  129. package/protos/steam/steammessages_workshop.steamclient.proto +23 -23
  130. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  131. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  132. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  133. package/protos/steam/webuimessages_base.proto +24 -24
  134. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  135. package/protos/steam/webuimessages_steamengine.proto +32 -32
  136. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  137. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  138. package/protos/steam/webuimessages_transport.proto +18 -18
  139. package/protos/steam/webuimessages_transportvalidation.proto +97 -97
  140. package/protos/webui/common.proto +5508 -5508
  141. package/protos/webui/common_base.proto +27 -27
  142. package/protos/webui/service_accountlinking.proto +27 -27
  143. package/protos/webui/service_accountprivacy.proto +42 -42
  144. package/protos/webui/service_auction.proto +97 -97
  145. package/protos/webui/service_authentication.proto +222 -222
  146. package/protos/webui/service_authenticationsupport.proto +74 -74
  147. package/protos/webui/service_broadcast.proto +562 -562
  148. package/protos/webui/service_chat.proto +11 -11
  149. package/protos/webui/service_chatroom.proto +810 -810
  150. package/protos/webui/service_chatusability.proto +107 -107
  151. package/protos/webui/service_clan.proto +41 -41
  152. package/protos/webui/service_clanchatrooms.proto +25 -25
  153. package/protos/webui/service_clanfaqs.proto +202 -202
  154. package/protos/webui/service_clientcomm.proto +150 -150
  155. package/protos/webui/service_clientmetrics.proto +63 -63
  156. package/protos/webui/service_cloud.proto +222 -222
  157. package/protos/webui/service_cloudconfigstore.proto +51 -51
  158. package/protos/webui/service_cloudgaming.proto +30 -30
  159. package/protos/webui/service_community.proto +365 -365
  160. package/protos/webui/service_econ.proto +134 -134
  161. package/protos/webui/service_embedded.proto +24 -24
  162. package/protos/webui/service_experimentservice.proto +6 -6
  163. package/protos/webui/service_fovasvideo.proto +15 -15
  164. package/protos/webui/service_friendmessages.proto +133 -133
  165. package/protos/webui/service_friendslist.proto +70 -70
  166. package/protos/webui/service_gamenotes.proto +15 -15
  167. package/protos/webui/service_helprequestlogs.proto +26 -26
  168. package/protos/webui/service_loyaltyrewards.proto +252 -252
  169. package/protos/webui/service_marketingmessages.proto +184 -184
  170. package/protos/webui/service_mobileapp.proto +18 -18
  171. package/protos/webui/service_mobileauth.proto +24 -24
  172. package/protos/webui/service_mobiledevice.proto +26 -26
  173. package/protos/webui/service_mobileperaccount.proto +31 -31
  174. package/protos/webui/service_news.proto +101 -101
  175. package/protos/webui/service_parental.proto +178 -178
  176. package/protos/webui/service_partnermembershipinvite.proto +29 -29
  177. package/protos/webui/service_partnerstorebrowse.proto +6 -6
  178. package/protos/webui/service_phone.proto +51 -51
  179. package/protos/webui/service_physicalgoods.proto +15 -15
  180. package/protos/webui/service_player.proto +885 -885
  181. package/protos/webui/service_promotioneventinvites.proto +50 -50
  182. package/protos/webui/service_promotionplanning.proto +72 -72
  183. package/protos/webui/service_publishedfile.proto +687 -687
  184. package/protos/webui/service_publishing.proto +119 -119
  185. package/protos/webui/service_quest.proto +127 -127
  186. package/protos/webui/service_salefeature.proto +315 -315
  187. package/protos/webui/service_saleitemrewards.proto +54 -54
  188. package/protos/webui/service_shoppingcart.proto +108 -108
  189. package/protos/webui/service_steamawards.proto +19 -19
  190. package/protos/webui/service_steamcharts.proto +75 -75
  191. package/protos/webui/service_steamengine.proto +36 -36
  192. package/protos/webui/service_steamlearn.proto +727 -727
  193. package/protos/webui/service_steamnotification.proto +84 -84
  194. package/protos/webui/service_steamtv.proto +495 -495
  195. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  196. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  197. package/protos/webui/service_storagedevicemanager.proto +104 -104
  198. package/protos/webui/service_store.proto +289 -289
  199. package/protos/webui/service_storeappsimilarity.proto +76 -76
  200. package/protos/webui/service_storebrowse.proto +73 -73
  201. package/protos/webui/service_storequery.proto +97 -97
  202. package/protos/webui/service_storesales.proto +15 -15
  203. package/protos/webui/service_storetopsellers.proto +44 -44
  204. package/protos/webui/service_systemmanager.proto +11 -11
  205. package/protos/webui/service_test_transporterror.proto +6 -6
  206. package/protos/webui/service_transportauth.proto +12 -12
  207. package/protos/webui/service_transportvalidation.proto +69 -69
  208. package/protos/webui/service_twofactor.proto +181 -181
  209. package/protos/webui/service_useraccount.proto +138 -138
  210. package/protos/webui/service_usergameactivity.proto +34 -34
  211. package/protos/webui/service_usergamenotes.proto +53 -53
  212. package/protos/webui/service_usernews.proto +68 -68
  213. package/protos/webui/service_userreviews.proto +96 -96
  214. package/protos/webui/service_video.proto +128 -128
  215. package/protos/webui/service_voicechat.proto +139 -139
  216. package/protos/webui/service_webrtc.proto +52 -52
  217. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
@@ -1,727 +1,727 @@
1
- import "common_base.proto";
2
-
3
- message CMsgSteamLearn_AccessData {
4
- optional uint32 publisher_id = 1;
5
- optional uint32 timestamp = 2;
6
- optional uint64 random_value = 3;
7
- }
8
-
9
- message CMsgSteamLearn_BatchOperation_Request {
10
- repeated .CMsgSteamLearn_CacheData_Request cache_data_requests = 1;
11
- repeated .CMsgSteamLearn_SnapshotProject_Request snapshot_requests = 2;
12
- }
13
-
14
- message CMsgSteamLearn_BatchOperation_Response {
15
- repeated .CMsgSteamLearn_CacheData_Response cache_data_responses = 1;
16
- repeated .CMsgSteamLearn_SnapshotProject_Response snapshot_responses = 2;
17
- }
18
-
19
- message CMsgSteamLearn_CacheData_Request {
20
- optional string access_token = 1;
21
- optional .CMsgSteamLearn_AccessData access_data = 2;
22
- optional .CMsgSteamLearnData data = 3;
23
- }
24
-
25
- message CMsgSteamLearn_CacheData_Response {
26
- optional int32 cache_data_result = 1 [(.description) = "enum"];
27
- }
28
-
29
- message CMsgSteamLearn_CreateProject_Request {
30
- optional string project_name = 1;
31
- optional string project_description = 2;
32
- }
33
-
34
- message CMsgSteamLearn_CreateProject_Response {
35
- optional int32 result = 1 [(.description) = "enum"];
36
- optional .CMsgSteamLearnProject project = 2;
37
- }
38
-
39
- message CMsgSteamLearn_EditProject_Request {
40
- optional .CMsgSteamLearnProject project = 1;
41
- optional uint32 published_version = 2;
42
- }
43
-
44
- message CMsgSteamLearn_EditProject_Response {
45
- optional int32 result = 1 [(.description) = "enum"];
46
- }
47
-
48
- message CMsgSteamLearn_GetDataSource_Request {
49
- optional uint32 data_source_id = 1;
50
- }
51
-
52
- message CMsgSteamLearn_GetDataSource_Response {
53
- optional .CMsgSteamLearnDataSource data_source = 1;
54
- }
55
-
56
- message CMsgSteamLearn_GetFetchStatus_Request {
57
- optional uint32 project_id = 1;
58
- optional uint32 fetch_id = 2;
59
- }
60
-
61
- message CMsgSteamLearn_GetFetchStatus_Response {
62
- optional int32 result = 1 [(.description) = "enum"];
63
- optional uint32 fetch_id = 2;
64
- optional int32 status = 3 [(.description) = "enum"];
65
- repeated .CMsgSteamLearn_GetFetchStatus_Response_Worker workers = 4;
66
- optional uint32 total_rows_written = 5;
67
- optional uint32 total_rows = 6;
68
- optional uint32 start_time = 7;
69
- optional uint32 end_time = 8;
70
- optional uint32 total_rows_processed = 9;
71
- }
72
-
73
- message CMsgSteamLearn_GetFetchStatus_Response_Worker {
74
- optional uint32 rows_written = 1;
75
- optional bool complete = 2;
76
- optional uint32 rows_processed = 3;
77
- }
78
-
79
- message CMsgSteamLearn_GetFetchStatusVersions_Request {
80
- optional uint32 project_id = 1;
81
- optional uint32 published_version = 2;
82
- }
83
-
84
- message CMsgSteamLearn_GetFetchStatusVersions_Response {
85
- repeated uint32 versions = 1;
86
- }
87
-
88
- message CMsgSteamLearn_GetLogEvents_Request {
89
- optional uint32 look_behind_days = 1;
90
- optional uint32 look_ahead_days = 2;
91
- }
92
-
93
- message CMsgSteamLearn_GetLogEvents_Response {
94
- optional int32 result = 1 [(.description) = "enum"];
95
- repeated .CMsgSteamLearn_LogEvent event_list = 2;
96
- }
97
-
98
- message CMsgSteamLearn_GetProject_Request {
99
- optional uint32 project_id = 1;
100
- }
101
-
102
- message CMsgSteamLearn_GetProject_Response {
103
- optional .CMsgSteamLearnProject project = 1;
104
- }
105
-
106
- message CMsgSteamLearn_GetTrainStatus_Request {
107
- optional uint32 project_id = 1;
108
- optional uint32 train_id = 2;
109
- }
110
-
111
- message CMsgSteamLearn_GetTrainStatus_Response {
112
- optional int32 result = 1 [(.description) = "enum"];
113
- optional uint32 train_id = 2;
114
- optional uint32 fetch_id = 3;
115
- optional int32 status = 4 [(.description) = "enum"];
116
- repeated .CMsgSteamLearn_GetTrainStatus_Response_Epoch epochs = 5;
117
- optional uint32 total_epochs = 6;
118
- optional uint32 train_batch_count = 7;
119
- optional uint32 validate_batch_count = 8;
120
- optional uint32 test_batch_count = 9;
121
- repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch test_batches = 10;
122
- optional float test_loss = 11;
123
- repeated float test_accuracy = 12;
124
- optional uint32 start_time = 13;
125
- optional uint32 end_time = 14;
126
- optional bool scheduled_train = 15;
127
- optional bool live = 16;
128
- }
129
-
130
- message CMsgSteamLearn_GetTrainStatus_Response_Batch {
131
- optional float loss = 1;
132
- repeated float accuracy = 2;
133
- }
134
-
135
- message CMsgSteamLearn_GetTrainStatus_Response_Epoch {
136
- optional uint32 epoch_number = 1;
137
- optional float epoch_train_loss = 2;
138
- repeated float epoch_train_accuracy = 3;
139
- optional float epoch_validate_loss = 4;
140
- repeated float epoch_validate_accuracy = 5;
141
- repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch train_batches = 6;
142
- repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch validate_batches = 7;
143
- optional uint32 start_time = 8;
144
- optional uint32 end_time = 9;
145
- }
146
-
147
- message CMsgSteamLearn_GetTrainStatusVersions_Request {
148
- optional uint32 project_id = 1;
149
- optional uint32 published_version = 2;
150
- }
151
-
152
- message CMsgSteamLearn_GetTrainStatusVersions_Response {
153
- repeated uint32 versions = 1;
154
- }
155
-
156
- message CMsgSteamLearn_Inference_Request {
157
- optional string access_token = 1;
158
- optional .CMsgSteamLearn_AccessData access_data = 2;
159
- optional uint32 project_id = 3;
160
- optional uint32 published_version = 4;
161
- optional uint32 override_train_id = 5;
162
- optional .CMsgSteamLearnDataList data = 6;
163
- repeated float additional_data = 7;
164
- repeated uint64 keys = 8;
165
- }
166
-
167
- message CMsgSteamLearn_Inference_Response {
168
- optional int32 inference_result = 1 [(.description) = "enum"];
169
- optional .CMsgSteamLearn_InferenceBackend_Response backend_response = 2;
170
- }
171
-
172
- message CMsgSteamLearn_InferenceBackend_Request {
173
- optional uint32 project_id = 1;
174
- optional uint32 fetch_id = 2;
175
- optional uint32 train_id = 3;
176
- repeated .CMsgSteamLearnRawDataElement data = 4;
177
- repeated uint32 additional_data = 5;
178
- }
179
-
180
- message CMsgSteamLearn_InferenceBackend_Response {
181
- repeated .CMsgSteamLearn_InferenceBackend_Response_Output outputs = 1;
182
- }
183
-
184
- message CMsgSteamLearn_InferenceBackend_Response_BinaryCrossEntropyOutput {
185
- optional float value = 1;
186
- }
187
-
188
- message CMsgSteamLearn_InferenceBackend_Response_CategoricalCrossEntropyOutput {
189
- repeated float weight = 1;
190
- repeated float value = 2;
191
- }
192
-
193
- message CMsgSteamLearn_InferenceBackend_Response_MutliBinaryCrossEntropyOutput {
194
- repeated float weight = 1;
195
- repeated float value = 2;
196
- }
197
-
198
- message CMsgSteamLearn_InferenceBackend_Response_Output {
199
- optional .CMsgSteamLearn_InferenceBackend_Response_BinaryCrossEntropyOutput binary_crossentropy = 1;
200
- optional .CMsgSteamLearn_InferenceBackend_Response_CategoricalCrossEntropyOutput categorical_crossentropy = 2;
201
- optional .CMsgSteamLearn_InferenceBackend_Response_MutliBinaryCrossEntropyOutput multi_binary_crossentropy = 3;
202
- }
203
-
204
- message CMsgSteamLearn_InferenceMetadata_Request {
205
- optional string access_token = 1;
206
- optional .CMsgSteamLearn_AccessData access_data = 2;
207
- optional uint32 project_id = 3;
208
- optional uint32 published_version = 4;
209
- optional uint32 override_train_id = 5;
210
- }
211
-
212
- message CMsgSteamLearn_InferenceMetadata_Response {
213
- optional int32 inference_metadata_result = 1 [(.description) = "enum"];
214
- optional .CMsgSteamLearn_InferenceMetadata_Response_RowRange row_range = 2;
215
- repeated .CMsgSteamLearn_InferenceMetadata_Response_Range ranges = 3;
216
- repeated .CMsgSteamLearn_InferenceMetadata_Response_StdDev std_devs = 4;
217
- repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable compact_tables = 5;
218
- repeated .CMsgSteamLearn_InferenceMetadata_Response_KMeans kmeans = 6;
219
- optional .CMsgSteamLearn_InferenceMetadata_Response_SnapshotHistogram snapshot_histogram = 7;
220
- repeated .CMsgSteamLearn_InferenceMetadata_Response_AppInfoEntry app_info = 8;
221
- }
222
-
223
- message CMsgSteamLearn_InferenceMetadata_Response_AppInfo {
224
- optional string country_allow = 1;
225
- optional string country_deny = 2;
226
- optional bool platform_win = 3;
227
- optional bool platform_mac = 4;
228
- optional bool platform_linux = 5;
229
- optional bool adult_violence = 6;
230
- optional bool adult_sex = 7;
231
- }
232
-
233
- message CMsgSteamLearn_InferenceMetadata_Response_AppInfoEntry {
234
- optional uint32 key = 1;
235
- optional .CMsgSteamLearn_InferenceMetadata_Response_AppInfo value = 2;
236
- }
237
-
238
- message CMsgSteamLearn_InferenceMetadata_Response_CompactTable {
239
- optional string name = 1;
240
- repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapValuesEntry map_values = 2;
241
- repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapMappingsEntry map_mappings = 3;
242
- optional uint64 total_count = 4;
243
- }
244
-
245
- message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry {
246
- optional uint32 value = 1;
247
- optional uint32 mapping = 2;
248
- optional uint64 count = 3;
249
- }
250
-
251
- message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapMappingsEntry {
252
- optional uint32 key = 1;
253
- optional .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry value = 2;
254
- }
255
-
256
- message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapValuesEntry {
257
- optional uint32 key = 1;
258
- optional .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry value = 2;
259
- }
260
-
261
- message CMsgSteamLearn_InferenceMetadata_Response_KMeans {
262
- optional string name = 1;
263
- repeated .CMsgSteamLearn_InferenceMetadata_Response_KMeans_Cluster clusters = 2;
264
- }
265
-
266
- message CMsgSteamLearn_InferenceMetadata_Response_KMeans_Cluster {
267
- optional float x = 1;
268
- optional float y = 2;
269
- optional float radius = 3;
270
- optional float radius_75pct = 4;
271
- optional float radius_50pct = 5;
272
- optional float radius_25pct = 6;
273
- }
274
-
275
- message CMsgSteamLearn_InferenceMetadata_Response_Range {
276
- optional string data_element_path = 1;
277
- optional float min_value = 2;
278
- optional float max_value = 3;
279
- }
280
-
281
- message CMsgSteamLearn_InferenceMetadata_Response_RowRange {
282
- optional uint64 min_row = 1;
283
- optional uint64 max_row = 2;
284
- }
285
-
286
- message CMsgSteamLearn_InferenceMetadata_Response_SnapshotHistogram {
287
- optional float min_value = 1;
288
- optional float max_value = 2;
289
- optional uint32 num_buckets = 3;
290
- repeated uint32 bucket_counts = 4;
291
- }
292
-
293
- message CMsgSteamLearn_InferenceMetadata_Response_StdDev {
294
- optional string data_element_path = 1;
295
- optional float mean = 2;
296
- optional float std_dev = 3;
297
- }
298
-
299
- message CMsgSteamLearn_ListDataSources_Request {
300
- }
301
-
302
- message CMsgSteamLearn_ListDataSources_Response {
303
- repeated .CMsgSteamLearnDataSource data_sources = 1;
304
- repeated string cache_data_hmac_keys = 2;
305
- optional string register_data_source_hmac_key = 3;
306
- }
307
-
308
- message CMsgSteamLearn_ListProjects_Request {
309
- optional uint32 appid = 1;
310
- }
311
-
312
- message CMsgSteamLearn_ListProjects_Response {
313
- repeated .CMsgSteamLearnProject projects = 1;
314
- repeated string snapshot_hmac_keys = 2;
315
- }
316
-
317
- message CMsgSteamLearn_LogEvent {
318
- optional int32 event_type = 1 [(.description) = "enum"];
319
- optional uint32 timestamp = 2;
320
- optional .CMsgSteamLearn_LogEvent_TrainStarted train_started = 3;
321
- optional .CMsgSteamLearn_LogEvent_TrainEnded train_ended = 4;
322
- optional .CMsgSteamLearn_LogEvent_TrainSetLive train_set_live = 5;
323
- optional .CMsgSteamLearn_LogEvent_ScheduledTrain scheduled_train = 6;
324
- }
325
-
326
- message CMsgSteamLearn_LogEvent_ScheduledTrain {
327
- optional uint32 project_id = 1;
328
- optional uint32 fetch_id = 2;
329
- optional uint32 train_id = 3;
330
- }
331
-
332
- message CMsgSteamLearn_LogEvent_TrainEnded {
333
- optional uint32 project_id = 1;
334
- optional uint32 fetch_id = 2;
335
- optional uint32 train_id = 3;
336
- optional float loss = 4;
337
- optional float accuracy = 5;
338
- }
339
-
340
- message CMsgSteamLearn_LogEvent_TrainSetLive {
341
- optional uint32 project_id = 1;
342
- optional uint32 fetch_id = 2;
343
- optional uint32 train_id = 3;
344
- optional bool manual_set_live = 4;
345
- optional float accuracy_difference = 5;
346
- optional float accuracy_threshold = 6;
347
- }
348
-
349
- message CMsgSteamLearn_LogEvent_TrainStarted {
350
- optional uint32 project_id = 1;
351
- optional uint32 fetch_id = 2;
352
- optional uint32 train_id = 3;
353
- }
354
-
355
- message CMsgSteamLearn_PublishProject_Request {
356
- optional uint32 project_id = 1;
357
- }
358
-
359
- message CMsgSteamLearn_PublishProject_Response {
360
- optional int32 result = 1 [(.description) = "enum"];
361
- }
362
-
363
- message CMsgSteamLearn_RegisterDataSource_Request {
364
- optional string access_token = 1;
365
- optional .CMsgSteamLearn_AccessData access_data = 2;
366
- optional .CMsgSteamLearnDataSource data_source = 3;
367
- }
368
-
369
- message CMsgSteamLearn_RegisterDataSource_Response {
370
- optional int32 result = 1 [(.description) = "enum"];
371
- optional .CMsgSteamLearnDataSource data_source = 2;
372
- }
373
-
374
- message CMsgSteamLearn_SetTrainLive_Request {
375
- optional uint32 project_id = 1;
376
- optional uint32 published_version = 2;
377
- optional uint32 train_id = 3;
378
- optional bool from_scheduled = 4;
379
- }
380
-
381
- message CMsgSteamLearn_SetTrainLive_Response {
382
- optional int32 result = 1 [(.description) = "enum"];
383
- }
384
-
385
- message CMsgSteamLearn_SnapshotProject_Request {
386
- optional string access_token = 1;
387
- optional .CMsgSteamLearn_AccessData access_data = 2;
388
- optional uint32 project_id = 3;
389
- repeated uint64 keys = 4;
390
- repeated .CMsgSteamLearnData data = 5;
391
- optional uint32 pending_data_limit_seconds = 6;
392
- optional uint32 published_version = 7;
393
- }
394
-
395
- message CMsgSteamLearn_SnapshotProject_Response {
396
- optional int32 snapshot_result = 1 [(.description) = "enum"];
397
- }
398
-
399
- message CMsgSteamLearn_Train_Request {
400
- optional .CMsgSteamLearnProjectConfig project_config = 1;
401
- optional .CMsgSteamLearn_Train_Request_Fetch fetch = 2;
402
- optional .CMsgSteamLearn_Train_Request_Train train = 3;
403
- }
404
-
405
- message CMsgSteamLearn_Train_Request_Fetch {
406
- optional uint32 fetch_id = 1;
407
- optional bool request_cancel = 2;
408
- }
409
-
410
- message CMsgSteamLearn_Train_Request_Train {
411
- optional uint32 train_id = 1;
412
- optional bool request_cancel = 2;
413
- optional bool scheduled_train = 3;
414
- }
415
-
416
- message CMsgSteamLearn_Train_Response {
417
- optional int32 result = 1 [(.description) = "enum"];
418
- }
419
-
420
- message CMsgSteamLearnData {
421
- optional uint32 data_source_id = 1;
422
- repeated uint64 keys = 2;
423
- optional .CMsgSteamLearnDataObject data_object = 3;
424
- }
425
-
426
- message CMsgSteamLearnDataElement {
427
- optional string name = 1;
428
- repeated int32 data_int32s = 20;
429
- repeated float data_floats = 21;
430
- repeated bool data_bools = 22;
431
- repeated string data_strings = 23;
432
- repeated .CMsgSteamLearnDataObject data_objects = 24;
433
- }
434
-
435
- message CMsgSteamLearnDataList {
436
- repeated .CMsgSteamLearnData data = 1;
437
- }
438
-
439
- message CMsgSteamLearnDataObject {
440
- repeated .CMsgSteamLearnDataElement elements = 1;
441
- }
442
-
443
- message CMsgSteamLearnDataRetentionConfig {
444
- optional uint32 snapshot_keep_duration_days = 1;
445
- optional uint32 fetch_keep_count = 2;
446
- }
447
-
448
- message CMsgSteamLearnDataSource {
449
- optional uint32 id = 1;
450
- optional string name = 2;
451
- optional uint32 version = 3;
452
- optional string source_description = 4;
453
- optional .CMsgSteamLearnDataSourceDescObject structure = 5;
454
- optional uint32 structure_crc = 6;
455
- optional uint32 cache_duration_seconds = 7;
456
- }
457
-
458
- message CMsgSteamLearnDataSourceDescElement {
459
- optional string name = 1;
460
- optional int32 data_type = 2 [(.description) = "enum"];
461
- optional .CMsgSteamLearnDataSourceDescObject object = 3;
462
- optional uint32 count = 4;
463
- }
464
-
465
- message CMsgSteamLearnDataSourceDescObject {
466
- repeated .CMsgSteamLearnDataSourceDescElement elements = 1;
467
- }
468
-
469
- message CMsgSteamLearnDataSourceElementUsage {
470
- optional uint32 data_source_id = 1;
471
- optional string data_element_path = 2;
472
- optional bool is_string = 3;
473
- optional uint32 input = 4;
474
- optional uint32 sql_column = 5;
475
- optional int32 preprocessing_type = 6 [(.description) = "enum"];
476
- optional float min_range = 7;
477
- optional float max_range = 8;
478
- optional float std_dev = 9;
479
- optional string compact_table = 10;
480
- }
481
-
482
- message CMsgSteamLearnFetchInfo {
483
- optional uint32 fetch_id = 1;
484
- }
485
-
486
- message CMsgSteamLearnModelNodeCombine {
487
- }
488
-
489
- message CMsgSteamLearnModelNodeConcatenate {
490
- }
491
-
492
- message CMsgSteamLearnModelNodeConditionalExtract {
493
- optional int32 extract_filter_type = 10 [(.description) = "enum"];
494
- optional int32 extract_weight_type = 11 [(.description) = "enum"];
495
- optional .CMsgSteamLearnModelNodeConditionalExtract_FilterInfo filter_info = 12;
496
- optional .CMsgSteamLearnModelNodeConditionalExtract_WeightInfo weight_info = 13;
497
- optional string compact_table = 14;
498
- optional string extracted_compact_table = 15;
499
- }
500
-
501
- message CMsgSteamLearnModelNodeConditionalExtract_FilterInfo {
502
- optional uint32 appid_release_recency_months = 1;
503
- optional uint32 appid_publisher_id = 2;
504
- optional uint32 appid_featured_tag_id = 3;
505
- optional uint32 appid_theme_tag_id = 4;
506
- }
507
-
508
- message CMsgSteamLearnModelNodeConditionalExtract_WeightInfo {
509
- optional float appid_release_recency_bias = 1;
510
- optional uint32 input_number = 2;
511
- optional float input_strength = 3;
512
- }
513
-
514
- message CMsgSteamLearnModelNodeConditionalSwap {
515
- }
516
-
517
- message CMsgSteamLearnModelNodeDense {
518
- optional int32 activation = 1 [(.description) = "enum"];
519
- optional uint32 width = 2;
520
- }
521
-
522
- message CMsgSteamLearnModelNodeDenseStack {
523
- optional int32 activation = 1 [(.description) = "enum"];
524
- repeated uint32 width = 2;
525
- optional uint32 dropout_pct = 3;
526
- }
527
-
528
- message CMsgSteamLearnModelNodeDropout {
529
- optional uint32 dropout_pct = 1;
530
- }
531
-
532
- message CMsgSteamLearnModelNodeEmbedding {
533
- optional uint32 max_value = 1;
534
- optional string compact_table = 2;
535
- optional uint32 embedding_width = 3;
536
- optional bool flatten = 4;
537
- }
538
-
539
- message CMsgSteamLearnModelNodeExplode {
540
- }
541
-
542
- message CMsgSteamLearnModelNodeInput {
543
- optional uint32 input_num = 1;
544
- }
545
-
546
- message CMsgSteamLearnModelNodeKMeansCluster {
547
- optional uint32 num_clusters = 1;
548
- optional string name = 2;
549
- optional bool generate_clusters = 3;
550
- }
551
-
552
- message CMsgSteamLearnModelNodeOnehot {
553
- optional uint32 width = 1;
554
- optional string compact_table = 2;
555
- }
556
-
557
- message CMsgSteamLearnModelNodeShuffle {
558
- optional bool exclude_zeroes = 1;
559
- }
560
-
561
- message CMsgSteamLearnModelNodeSyncedShuffle {
562
- optional bool exclude_zeroes = 1;
563
- }
564
-
565
- message CMsgSteamLearnModelNodeTrain {
566
- optional uint32 input_count = 1;
567
- optional int32 activation = 2 [(.description) = "enum"];
568
- optional uint32 width = 3;
569
- optional string compact_table = 4;
570
- optional int32 optimizer = 5 [(.description) = "enum"];
571
- optional int32 loss = 6 [(.description) = "enum"];
572
- }
573
-
574
- message CMsgSteamLearnProject {
575
- optional uint32 project_id = 1;
576
- optional string project_name = 2;
577
- optional string project_description = 3;
578
- optional uint32 creator_account_id = 4;
579
- optional uint32 create_time = 5;
580
- optional .CMsgSteamLearnProjectConfig unpublished_config = 6;
581
- repeated .CMsgSteamLearnProjectConfig published_configs = 7;
582
- }
583
-
584
- message CMsgSteamLearnProjectConfig {
585
- optional uint32 project_id = 1;
586
- optional uint32 publish_time = 2;
587
- optional uint32 published_version = 3;
588
- repeated uint32 data_source_ids = 4;
589
- repeated .CMsgSteamLearnDataSourceElementUsage data_source_element_usages = 5;
590
- repeated .CMsgSteamLearnProjectNode project_nodes = 6;
591
- optional .CMsgSteamLearnProjectSnapshotConfig snapshot_config = 7;
592
- optional .CMsgSteamLearnTrainConfig train_config = 8;
593
- optional .CMsgSteamLearnProjectSnapshotFilter snapshot_filter = 11;
594
- repeated .CMsgSteamLearnProjectConfig_MapDataElementSqlColumnEntry map_data_element_sql_column = 12;
595
- optional uint32 total_sql_columns = 13;
596
- optional .CMsgSteamLearnDataRetentionConfig data_retention_config = 14;
597
- optional .CMsgSteamLearnScheduledTrainConfig scheduled_train_config = 16;
598
- repeated .CMsgSteamLearnFetchInfo fetch_infos = 17;
599
- repeated .CMsgSteamLearnTrainInfo train_infos = 18;
600
- }
601
-
602
- message CMsgSteamLearnProjectConfig_MapDataElementSqlColumnEntry {
603
- optional string key = 1;
604
- optional int32 value = 2;
605
- }
606
-
607
- message CMsgSteamLearnProjectNode {
608
- optional uint32 node_id = 1;
609
- optional int32 location_x = 2;
610
- optional int32 location_y = 3;
611
- optional string comment = 4;
612
- optional int32 type = 5 [(.description) = "enum"];
613
- repeated .CMsgSteamLearnProjectNodeConnector connectors = 6;
614
- optional .CMsgSteamLearnModelNodeInput input = 10;
615
- optional .CMsgSteamLearnModelNodeDense dense = 11;
616
- optional .CMsgSteamLearnModelNodeDenseStack dense_stack = 12;
617
- optional .CMsgSteamLearnModelNodeDropout dropout = 13;
618
- optional .CMsgSteamLearnModelNodeEmbedding embedding = 14;
619
- optional .CMsgSteamLearnModelNodeTrain train = 15;
620
- optional .CMsgSteamLearnModelNodeConditionalExtract conditional_extract = 16;
621
- optional .CMsgSteamLearnModelNodeConcatenate concatenate = 17;
622
- optional .CMsgSteamLearnModelNodeShuffle shuffle = 18;
623
- optional .CMsgSteamLearnModelNodeSyncedShuffle synced_shuffle = 19;
624
- optional .CMsgSteamLearnModelNodeOnehot onehot = 20;
625
- optional .CMsgSteamLearnModelNodeExplode explode = 21;
626
- optional .CMsgSteamLearnModelNodeConditionalSwap conditional_swap = 22;
627
- optional .CMsgSteamLearnModelNodeKMeansCluster kmeans = 23;
628
- optional .CMsgSteamLearnModelNodeCombine combine = 24;
629
- }
630
-
631
- message CMsgSteamLearnProjectNodeConnector {
632
- optional uint32 connector_id = 1;
633
- repeated uint32 linked_connector_ids = 2;
634
- optional bool is_input_connector = 3;
635
- }
636
-
637
- message CMsgSteamLearnProjectSnapshotConfig {
638
- optional int32 snapshot_type = 1 [(.description) = "enum"];
639
- optional .CMsgSteamLearnProjectSnapshotConfigAccountIDs config_account_ids = 2;
640
- optional .CMsgSteamLearnProjectSnapshotConfigAppIDs config_app_ids = 3;
641
- optional .CMsgSteamLearnProjectSnapshotConfigOtherProject config_other_project = 4;
642
- optional int32 snapshot_schedule_type = 5 [(.description) = "enum"];
643
- optional uint32 snapshot_schedule_day_of_week = 6;
644
- optional uint32 snapshot_schedule_day_of_month = 7;
645
- }
646
-
647
- message CMsgSteamLearnProjectSnapshotConfigAccountIDs {
648
- optional uint32 percent = 1;
649
- optional uint32 activity_recency_days = 2;
650
- }
651
-
652
- message CMsgSteamLearnProjectSnapshotConfigAppIDs {
653
- optional uint32 percent = 1;
654
- optional uint32 release_recency_days = 2;
655
- }
656
-
657
- message CMsgSteamLearnProjectSnapshotConfigOtherProject {
658
- optional uint32 project_id = 1;
659
- optional uint32 published_version = 2;
660
- }
661
-
662
- message CMsgSteamLearnProjectSnapshotFilter {
663
- optional uint32 sample_reduce_percent = 1;
664
- optional .CMsgSteamLearnProjectSnapshotFilterHistogram histogram = 2;
665
- }
666
-
667
- message CMsgSteamLearnProjectSnapshotFilterHistogram {
668
- optional string data_element_path = 1;
669
- optional float min_value = 2;
670
- optional float max_value = 3;
671
- optional uint32 num_buckets = 4;
672
- }
673
-
674
- message CMsgSteamLearnRawDataElement {
675
- optional float float_value = 1;
676
- optional string string_value = 2;
677
- }
678
-
679
- message CMsgSteamLearnScheduledTrainConfig {
680
- optional int32 scheduled_type = 1 [(.description) = "enum"];
681
- optional uint32 scheduled_minute = 2;
682
- optional uint32 scheduled_hour = 3;
683
- optional uint32 scheduled_day_of_week = 4;
684
- optional uint32 scheduled_day_of_month = 5;
685
- optional float auto_activate_accuracy_threshold = 6;
686
- }
687
-
688
- message CMsgSteamLearnTrainConfig {
689
- optional uint32 fetch_workers = 1;
690
- optional uint32 fetch_chunk_size = 2;
691
- optional uint32 train_batch_size = 3;
692
- optional uint32 train_epoch_count = 4;
693
- optional float train_loss_improvement_threshold = 5;
694
- optional uint32 train_no_loss_improvement_epoch_limit = 6;
695
- }
696
-
697
- message CMsgSteamLearnTrainInfo {
698
- optional uint32 fetch_id = 1;
699
- optional uint32 train_id = 2;
700
- optional bool scheduled_train = 3;
701
- optional bool auto_snapshot_pending = 4;
702
- }
703
-
704
- service SteamLearn {
705
- rpc BatchOperation (.CMsgSteamLearn_BatchOperation_Request) returns (.CMsgSteamLearn_BatchOperation_Response);
706
- rpc CacheData (.CMsgSteamLearn_CacheData_Request) returns (.CMsgSteamLearn_CacheData_Response);
707
- rpc CreateProject (.CMsgSteamLearn_CreateProject_Request) returns (.CMsgSteamLearn_CreateProject_Response);
708
- rpc EditProject (.CMsgSteamLearn_EditProject_Request) returns (.CMsgSteamLearn_EditProject_Response);
709
- rpc GetDataSource (.CMsgSteamLearn_GetDataSource_Request) returns (.CMsgSteamLearn_GetDataSource_Response);
710
- rpc GetFetchStatus (.CMsgSteamLearn_GetFetchStatus_Request) returns (.CMsgSteamLearn_GetFetchStatus_Response);
711
- rpc GetFetchStatusVersions (.CMsgSteamLearn_GetFetchStatusVersions_Request) returns (.CMsgSteamLearn_GetFetchStatusVersions_Response);
712
- rpc GetLogEvents (.CMsgSteamLearn_GetLogEvents_Request) returns (.CMsgSteamLearn_GetLogEvents_Response);
713
- rpc GetProject (.CMsgSteamLearn_GetProject_Request) returns (.CMsgSteamLearn_GetProject_Response);
714
- rpc GetTrainStatus (.CMsgSteamLearn_GetTrainStatus_Request) returns (.CMsgSteamLearn_GetTrainStatus_Response);
715
- rpc GetTrainStatusVersions (.CMsgSteamLearn_GetTrainStatusVersions_Request) returns (.CMsgSteamLearn_GetTrainStatusVersions_Response);
716
- rpc Inference (.CMsgSteamLearn_Inference_Request) returns (.CMsgSteamLearn_Inference_Response);
717
- rpc InferenceBackend (.CMsgSteamLearn_InferenceBackend_Request) returns (.CMsgSteamLearn_InferenceBackend_Response);
718
- rpc InferenceMetadata (.CMsgSteamLearn_InferenceMetadata_Request) returns (.CMsgSteamLearn_InferenceMetadata_Response);
719
- rpc ListDataSources (.CMsgSteamLearn_ListDataSources_Request) returns (.CMsgSteamLearn_ListDataSources_Response);
720
- rpc ListProjects (.CMsgSteamLearn_ListProjects_Request) returns (.CMsgSteamLearn_ListProjects_Response);
721
- rpc PublishProject (.CMsgSteamLearn_PublishProject_Request) returns (.CMsgSteamLearn_PublishProject_Response);
722
- rpc RegisterDataSource (.CMsgSteamLearn_RegisterDataSource_Request) returns (.CMsgSteamLearn_RegisterDataSource_Response);
723
- rpc SetTrainLive (.CMsgSteamLearn_SetTrainLive_Request) returns (.CMsgSteamLearn_SetTrainLive_Response);
724
- rpc SnapshotProject (.CMsgSteamLearn_SnapshotProject_Request) returns (.CMsgSteamLearn_SnapshotProject_Response);
725
- rpc Train (.CMsgSteamLearn_Train_Request) returns (.CMsgSteamLearn_Train_Response);
726
- }
727
-
1
+ import "common_base.proto";
2
+
3
+ message CMsgSteamLearn_AccessData {
4
+ optional uint32 publisher_id = 1;
5
+ optional uint32 timestamp = 2;
6
+ optional uint64 random_value = 3;
7
+ }
8
+
9
+ message CMsgSteamLearn_BatchOperation_Request {
10
+ repeated .CMsgSteamLearn_CacheData_Request cache_data_requests = 1;
11
+ repeated .CMsgSteamLearn_SnapshotProject_Request snapshot_requests = 2;
12
+ }
13
+
14
+ message CMsgSteamLearn_BatchOperation_Response {
15
+ repeated .CMsgSteamLearn_CacheData_Response cache_data_responses = 1;
16
+ repeated .CMsgSteamLearn_SnapshotProject_Response snapshot_responses = 2;
17
+ }
18
+
19
+ message CMsgSteamLearn_CacheData_Request {
20
+ optional string access_token = 1;
21
+ optional .CMsgSteamLearn_AccessData access_data = 2;
22
+ optional .CMsgSteamLearnData data = 3;
23
+ }
24
+
25
+ message CMsgSteamLearn_CacheData_Response {
26
+ optional int32 cache_data_result = 1 [(.description) = "enum"];
27
+ }
28
+
29
+ message CMsgSteamLearn_CreateProject_Request {
30
+ optional string project_name = 1;
31
+ optional string project_description = 2;
32
+ }
33
+
34
+ message CMsgSteamLearn_CreateProject_Response {
35
+ optional int32 result = 1 [(.description) = "enum"];
36
+ optional .CMsgSteamLearnProject project = 2;
37
+ }
38
+
39
+ message CMsgSteamLearn_EditProject_Request {
40
+ optional .CMsgSteamLearnProject project = 1;
41
+ optional uint32 published_version = 2;
42
+ }
43
+
44
+ message CMsgSteamLearn_EditProject_Response {
45
+ optional int32 result = 1 [(.description) = "enum"];
46
+ }
47
+
48
+ message CMsgSteamLearn_GetDataSource_Request {
49
+ optional uint32 data_source_id = 1;
50
+ }
51
+
52
+ message CMsgSteamLearn_GetDataSource_Response {
53
+ optional .CMsgSteamLearnDataSource data_source = 1;
54
+ }
55
+
56
+ message CMsgSteamLearn_GetFetchStatus_Request {
57
+ optional uint32 project_id = 1;
58
+ optional uint32 fetch_id = 2;
59
+ }
60
+
61
+ message CMsgSteamLearn_GetFetchStatus_Response {
62
+ optional int32 result = 1 [(.description) = "enum"];
63
+ optional uint32 fetch_id = 2;
64
+ optional int32 status = 3 [(.description) = "enum"];
65
+ repeated .CMsgSteamLearn_GetFetchStatus_Response_Worker workers = 4;
66
+ optional uint32 total_rows_written = 5;
67
+ optional uint32 total_rows = 6;
68
+ optional uint32 start_time = 7;
69
+ optional uint32 end_time = 8;
70
+ optional uint32 total_rows_processed = 9;
71
+ }
72
+
73
+ message CMsgSteamLearn_GetFetchStatus_Response_Worker {
74
+ optional uint32 rows_written = 1;
75
+ optional bool complete = 2;
76
+ optional uint32 rows_processed = 3;
77
+ }
78
+
79
+ message CMsgSteamLearn_GetFetchStatusVersions_Request {
80
+ optional uint32 project_id = 1;
81
+ optional uint32 published_version = 2;
82
+ }
83
+
84
+ message CMsgSteamLearn_GetFetchStatusVersions_Response {
85
+ repeated uint32 versions = 1;
86
+ }
87
+
88
+ message CMsgSteamLearn_GetLogEvents_Request {
89
+ optional uint32 look_behind_days = 1;
90
+ optional uint32 look_ahead_days = 2;
91
+ }
92
+
93
+ message CMsgSteamLearn_GetLogEvents_Response {
94
+ optional int32 result = 1 [(.description) = "enum"];
95
+ repeated .CMsgSteamLearn_LogEvent event_list = 2;
96
+ }
97
+
98
+ message CMsgSteamLearn_GetProject_Request {
99
+ optional uint32 project_id = 1;
100
+ }
101
+
102
+ message CMsgSteamLearn_GetProject_Response {
103
+ optional .CMsgSteamLearnProject project = 1;
104
+ }
105
+
106
+ message CMsgSteamLearn_GetTrainStatus_Request {
107
+ optional uint32 project_id = 1;
108
+ optional uint32 train_id = 2;
109
+ }
110
+
111
+ message CMsgSteamLearn_GetTrainStatus_Response {
112
+ optional int32 result = 1 [(.description) = "enum"];
113
+ optional uint32 train_id = 2;
114
+ optional uint32 fetch_id = 3;
115
+ optional int32 status = 4 [(.description) = "enum"];
116
+ repeated .CMsgSteamLearn_GetTrainStatus_Response_Epoch epochs = 5;
117
+ optional uint32 total_epochs = 6;
118
+ optional uint32 train_batch_count = 7;
119
+ optional uint32 validate_batch_count = 8;
120
+ optional uint32 test_batch_count = 9;
121
+ repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch test_batches = 10;
122
+ optional float test_loss = 11;
123
+ repeated float test_accuracy = 12;
124
+ optional uint32 start_time = 13;
125
+ optional uint32 end_time = 14;
126
+ optional bool scheduled_train = 15;
127
+ optional bool live = 16;
128
+ }
129
+
130
+ message CMsgSteamLearn_GetTrainStatus_Response_Batch {
131
+ optional float loss = 1;
132
+ repeated float accuracy = 2;
133
+ }
134
+
135
+ message CMsgSteamLearn_GetTrainStatus_Response_Epoch {
136
+ optional uint32 epoch_number = 1;
137
+ optional float epoch_train_loss = 2;
138
+ repeated float epoch_train_accuracy = 3;
139
+ optional float epoch_validate_loss = 4;
140
+ repeated float epoch_validate_accuracy = 5;
141
+ repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch train_batches = 6;
142
+ repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch validate_batches = 7;
143
+ optional uint32 start_time = 8;
144
+ optional uint32 end_time = 9;
145
+ }
146
+
147
+ message CMsgSteamLearn_GetTrainStatusVersions_Request {
148
+ optional uint32 project_id = 1;
149
+ optional uint32 published_version = 2;
150
+ }
151
+
152
+ message CMsgSteamLearn_GetTrainStatusVersions_Response {
153
+ repeated uint32 versions = 1;
154
+ }
155
+
156
+ message CMsgSteamLearn_Inference_Request {
157
+ optional string access_token = 1;
158
+ optional .CMsgSteamLearn_AccessData access_data = 2;
159
+ optional uint32 project_id = 3;
160
+ optional uint32 published_version = 4;
161
+ optional uint32 override_train_id = 5;
162
+ optional .CMsgSteamLearnDataList data = 6;
163
+ repeated float additional_data = 7;
164
+ repeated uint64 keys = 8;
165
+ }
166
+
167
+ message CMsgSteamLearn_Inference_Response {
168
+ optional int32 inference_result = 1 [(.description) = "enum"];
169
+ optional .CMsgSteamLearn_InferenceBackend_Response backend_response = 2;
170
+ }
171
+
172
+ message CMsgSteamLearn_InferenceBackend_Request {
173
+ optional uint32 project_id = 1;
174
+ optional uint32 fetch_id = 2;
175
+ optional uint32 train_id = 3;
176
+ repeated .CMsgSteamLearnRawDataElement data = 4;
177
+ repeated uint32 additional_data = 5;
178
+ }
179
+
180
+ message CMsgSteamLearn_InferenceBackend_Response {
181
+ repeated .CMsgSteamLearn_InferenceBackend_Response_Output outputs = 1;
182
+ }
183
+
184
+ message CMsgSteamLearn_InferenceBackend_Response_BinaryCrossEntropyOutput {
185
+ optional float value = 1;
186
+ }
187
+
188
+ message CMsgSteamLearn_InferenceBackend_Response_CategoricalCrossEntropyOutput {
189
+ repeated float weight = 1;
190
+ repeated float value = 2;
191
+ }
192
+
193
+ message CMsgSteamLearn_InferenceBackend_Response_MutliBinaryCrossEntropyOutput {
194
+ repeated float weight = 1;
195
+ repeated float value = 2;
196
+ }
197
+
198
+ message CMsgSteamLearn_InferenceBackend_Response_Output {
199
+ optional .CMsgSteamLearn_InferenceBackend_Response_BinaryCrossEntropyOutput binary_crossentropy = 1;
200
+ optional .CMsgSteamLearn_InferenceBackend_Response_CategoricalCrossEntropyOutput categorical_crossentropy = 2;
201
+ optional .CMsgSteamLearn_InferenceBackend_Response_MutliBinaryCrossEntropyOutput multi_binary_crossentropy = 3;
202
+ }
203
+
204
+ message CMsgSteamLearn_InferenceMetadata_Request {
205
+ optional string access_token = 1;
206
+ optional .CMsgSteamLearn_AccessData access_data = 2;
207
+ optional uint32 project_id = 3;
208
+ optional uint32 published_version = 4;
209
+ optional uint32 override_train_id = 5;
210
+ }
211
+
212
+ message CMsgSteamLearn_InferenceMetadata_Response {
213
+ optional int32 inference_metadata_result = 1 [(.description) = "enum"];
214
+ optional .CMsgSteamLearn_InferenceMetadata_Response_RowRange row_range = 2;
215
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_Range ranges = 3;
216
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_StdDev std_devs = 4;
217
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable compact_tables = 5;
218
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_KMeans kmeans = 6;
219
+ optional .CMsgSteamLearn_InferenceMetadata_Response_SnapshotHistogram snapshot_histogram = 7;
220
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_AppInfoEntry app_info = 8;
221
+ }
222
+
223
+ message CMsgSteamLearn_InferenceMetadata_Response_AppInfo {
224
+ optional string country_allow = 1;
225
+ optional string country_deny = 2;
226
+ optional bool platform_win = 3;
227
+ optional bool platform_mac = 4;
228
+ optional bool platform_linux = 5;
229
+ optional bool adult_violence = 6;
230
+ optional bool adult_sex = 7;
231
+ }
232
+
233
+ message CMsgSteamLearn_InferenceMetadata_Response_AppInfoEntry {
234
+ optional uint32 key = 1;
235
+ optional .CMsgSteamLearn_InferenceMetadata_Response_AppInfo value = 2;
236
+ }
237
+
238
+ message CMsgSteamLearn_InferenceMetadata_Response_CompactTable {
239
+ optional string name = 1;
240
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapValuesEntry map_values = 2;
241
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapMappingsEntry map_mappings = 3;
242
+ optional uint64 total_count = 4;
243
+ }
244
+
245
+ message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry {
246
+ optional uint32 value = 1;
247
+ optional uint32 mapping = 2;
248
+ optional uint64 count = 3;
249
+ }
250
+
251
+ message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapMappingsEntry {
252
+ optional uint32 key = 1;
253
+ optional .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry value = 2;
254
+ }
255
+
256
+ message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapValuesEntry {
257
+ optional uint32 key = 1;
258
+ optional .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry value = 2;
259
+ }
260
+
261
+ message CMsgSteamLearn_InferenceMetadata_Response_KMeans {
262
+ optional string name = 1;
263
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_KMeans_Cluster clusters = 2;
264
+ }
265
+
266
+ message CMsgSteamLearn_InferenceMetadata_Response_KMeans_Cluster {
267
+ optional float x = 1;
268
+ optional float y = 2;
269
+ optional float radius = 3;
270
+ optional float radius_75pct = 4;
271
+ optional float radius_50pct = 5;
272
+ optional float radius_25pct = 6;
273
+ }
274
+
275
+ message CMsgSteamLearn_InferenceMetadata_Response_Range {
276
+ optional string data_element_path = 1;
277
+ optional float min_value = 2;
278
+ optional float max_value = 3;
279
+ }
280
+
281
+ message CMsgSteamLearn_InferenceMetadata_Response_RowRange {
282
+ optional uint64 min_row = 1;
283
+ optional uint64 max_row = 2;
284
+ }
285
+
286
+ message CMsgSteamLearn_InferenceMetadata_Response_SnapshotHistogram {
287
+ optional float min_value = 1;
288
+ optional float max_value = 2;
289
+ optional uint32 num_buckets = 3;
290
+ repeated uint32 bucket_counts = 4;
291
+ }
292
+
293
+ message CMsgSteamLearn_InferenceMetadata_Response_StdDev {
294
+ optional string data_element_path = 1;
295
+ optional float mean = 2;
296
+ optional float std_dev = 3;
297
+ }
298
+
299
+ message CMsgSteamLearn_ListDataSources_Request {
300
+ }
301
+
302
+ message CMsgSteamLearn_ListDataSources_Response {
303
+ repeated .CMsgSteamLearnDataSource data_sources = 1;
304
+ repeated string cache_data_hmac_keys = 2;
305
+ optional string register_data_source_hmac_key = 3;
306
+ }
307
+
308
+ message CMsgSteamLearn_ListProjects_Request {
309
+ optional uint32 appid = 1;
310
+ }
311
+
312
+ message CMsgSteamLearn_ListProjects_Response {
313
+ repeated .CMsgSteamLearnProject projects = 1;
314
+ repeated string snapshot_hmac_keys = 2;
315
+ }
316
+
317
+ message CMsgSteamLearn_LogEvent {
318
+ optional int32 event_type = 1 [(.description) = "enum"];
319
+ optional uint32 timestamp = 2;
320
+ optional .CMsgSteamLearn_LogEvent_TrainStarted train_started = 3;
321
+ optional .CMsgSteamLearn_LogEvent_TrainEnded train_ended = 4;
322
+ optional .CMsgSteamLearn_LogEvent_TrainSetLive train_set_live = 5;
323
+ optional .CMsgSteamLearn_LogEvent_ScheduledTrain scheduled_train = 6;
324
+ }
325
+
326
+ message CMsgSteamLearn_LogEvent_ScheduledTrain {
327
+ optional uint32 project_id = 1;
328
+ optional uint32 fetch_id = 2;
329
+ optional uint32 train_id = 3;
330
+ }
331
+
332
+ message CMsgSteamLearn_LogEvent_TrainEnded {
333
+ optional uint32 project_id = 1;
334
+ optional uint32 fetch_id = 2;
335
+ optional uint32 train_id = 3;
336
+ optional float loss = 4;
337
+ optional float accuracy = 5;
338
+ }
339
+
340
+ message CMsgSteamLearn_LogEvent_TrainSetLive {
341
+ optional uint32 project_id = 1;
342
+ optional uint32 fetch_id = 2;
343
+ optional uint32 train_id = 3;
344
+ optional bool manual_set_live = 4;
345
+ optional float accuracy_difference = 5;
346
+ optional float accuracy_threshold = 6;
347
+ }
348
+
349
+ message CMsgSteamLearn_LogEvent_TrainStarted {
350
+ optional uint32 project_id = 1;
351
+ optional uint32 fetch_id = 2;
352
+ optional uint32 train_id = 3;
353
+ }
354
+
355
+ message CMsgSteamLearn_PublishProject_Request {
356
+ optional uint32 project_id = 1;
357
+ }
358
+
359
+ message CMsgSteamLearn_PublishProject_Response {
360
+ optional int32 result = 1 [(.description) = "enum"];
361
+ }
362
+
363
+ message CMsgSteamLearn_RegisterDataSource_Request {
364
+ optional string access_token = 1;
365
+ optional .CMsgSteamLearn_AccessData access_data = 2;
366
+ optional .CMsgSteamLearnDataSource data_source = 3;
367
+ }
368
+
369
+ message CMsgSteamLearn_RegisterDataSource_Response {
370
+ optional int32 result = 1 [(.description) = "enum"];
371
+ optional .CMsgSteamLearnDataSource data_source = 2;
372
+ }
373
+
374
+ message CMsgSteamLearn_SetTrainLive_Request {
375
+ optional uint32 project_id = 1;
376
+ optional uint32 published_version = 2;
377
+ optional uint32 train_id = 3;
378
+ optional bool from_scheduled = 4;
379
+ }
380
+
381
+ message CMsgSteamLearn_SetTrainLive_Response {
382
+ optional int32 result = 1 [(.description) = "enum"];
383
+ }
384
+
385
+ message CMsgSteamLearn_SnapshotProject_Request {
386
+ optional string access_token = 1;
387
+ optional .CMsgSteamLearn_AccessData access_data = 2;
388
+ optional uint32 project_id = 3;
389
+ repeated uint64 keys = 4;
390
+ repeated .CMsgSteamLearnData data = 5;
391
+ optional uint32 pending_data_limit_seconds = 6;
392
+ optional uint32 published_version = 7;
393
+ }
394
+
395
+ message CMsgSteamLearn_SnapshotProject_Response {
396
+ optional int32 snapshot_result = 1 [(.description) = "enum"];
397
+ }
398
+
399
+ message CMsgSteamLearn_Train_Request {
400
+ optional .CMsgSteamLearnProjectConfig project_config = 1;
401
+ optional .CMsgSteamLearn_Train_Request_Fetch fetch = 2;
402
+ optional .CMsgSteamLearn_Train_Request_Train train = 3;
403
+ }
404
+
405
+ message CMsgSteamLearn_Train_Request_Fetch {
406
+ optional uint32 fetch_id = 1;
407
+ optional bool request_cancel = 2;
408
+ }
409
+
410
+ message CMsgSteamLearn_Train_Request_Train {
411
+ optional uint32 train_id = 1;
412
+ optional bool request_cancel = 2;
413
+ optional bool scheduled_train = 3;
414
+ }
415
+
416
+ message CMsgSteamLearn_Train_Response {
417
+ optional int32 result = 1 [(.description) = "enum"];
418
+ }
419
+
420
+ message CMsgSteamLearnData {
421
+ optional uint32 data_source_id = 1;
422
+ repeated uint64 keys = 2;
423
+ optional .CMsgSteamLearnDataObject data_object = 3;
424
+ }
425
+
426
+ message CMsgSteamLearnDataElement {
427
+ optional string name = 1;
428
+ repeated int32 data_int32s = 20;
429
+ repeated float data_floats = 21;
430
+ repeated bool data_bools = 22;
431
+ repeated string data_strings = 23;
432
+ repeated .CMsgSteamLearnDataObject data_objects = 24;
433
+ }
434
+
435
+ message CMsgSteamLearnDataList {
436
+ repeated .CMsgSteamLearnData data = 1;
437
+ }
438
+
439
+ message CMsgSteamLearnDataObject {
440
+ repeated .CMsgSteamLearnDataElement elements = 1;
441
+ }
442
+
443
+ message CMsgSteamLearnDataRetentionConfig {
444
+ optional uint32 snapshot_keep_duration_days = 1;
445
+ optional uint32 fetch_keep_count = 2;
446
+ }
447
+
448
+ message CMsgSteamLearnDataSource {
449
+ optional uint32 id = 1;
450
+ optional string name = 2;
451
+ optional uint32 version = 3;
452
+ optional string source_description = 4;
453
+ optional .CMsgSteamLearnDataSourceDescObject structure = 5;
454
+ optional uint32 structure_crc = 6;
455
+ optional uint32 cache_duration_seconds = 7;
456
+ }
457
+
458
+ message CMsgSteamLearnDataSourceDescElement {
459
+ optional string name = 1;
460
+ optional int32 data_type = 2 [(.description) = "enum"];
461
+ optional .CMsgSteamLearnDataSourceDescObject object = 3;
462
+ optional uint32 count = 4;
463
+ }
464
+
465
+ message CMsgSteamLearnDataSourceDescObject {
466
+ repeated .CMsgSteamLearnDataSourceDescElement elements = 1;
467
+ }
468
+
469
+ message CMsgSteamLearnDataSourceElementUsage {
470
+ optional uint32 data_source_id = 1;
471
+ optional string data_element_path = 2;
472
+ optional bool is_string = 3;
473
+ optional uint32 input = 4;
474
+ optional uint32 sql_column = 5;
475
+ optional int32 preprocessing_type = 6 [(.description) = "enum"];
476
+ optional float min_range = 7;
477
+ optional float max_range = 8;
478
+ optional float std_dev = 9;
479
+ optional string compact_table = 10;
480
+ }
481
+
482
+ message CMsgSteamLearnFetchInfo {
483
+ optional uint32 fetch_id = 1;
484
+ }
485
+
486
+ message CMsgSteamLearnModelNodeCombine {
487
+ }
488
+
489
+ message CMsgSteamLearnModelNodeConcatenate {
490
+ }
491
+
492
+ message CMsgSteamLearnModelNodeConditionalExtract {
493
+ optional int32 extract_filter_type = 10 [(.description) = "enum"];
494
+ optional int32 extract_weight_type = 11 [(.description) = "enum"];
495
+ optional .CMsgSteamLearnModelNodeConditionalExtract_FilterInfo filter_info = 12;
496
+ optional .CMsgSteamLearnModelNodeConditionalExtract_WeightInfo weight_info = 13;
497
+ optional string compact_table = 14;
498
+ optional string extracted_compact_table = 15;
499
+ }
500
+
501
+ message CMsgSteamLearnModelNodeConditionalExtract_FilterInfo {
502
+ optional uint32 appid_release_recency_months = 1;
503
+ optional uint32 appid_publisher_id = 2;
504
+ optional uint32 appid_featured_tag_id = 3;
505
+ optional uint32 appid_theme_tag_id = 4;
506
+ }
507
+
508
+ message CMsgSteamLearnModelNodeConditionalExtract_WeightInfo {
509
+ optional float appid_release_recency_bias = 1;
510
+ optional uint32 input_number = 2;
511
+ optional float input_strength = 3;
512
+ }
513
+
514
+ message CMsgSteamLearnModelNodeConditionalSwap {
515
+ }
516
+
517
+ message CMsgSteamLearnModelNodeDense {
518
+ optional int32 activation = 1 [(.description) = "enum"];
519
+ optional uint32 width = 2;
520
+ }
521
+
522
+ message CMsgSteamLearnModelNodeDenseStack {
523
+ optional int32 activation = 1 [(.description) = "enum"];
524
+ repeated uint32 width = 2;
525
+ optional uint32 dropout_pct = 3;
526
+ }
527
+
528
+ message CMsgSteamLearnModelNodeDropout {
529
+ optional uint32 dropout_pct = 1;
530
+ }
531
+
532
+ message CMsgSteamLearnModelNodeEmbedding {
533
+ optional uint32 max_value = 1;
534
+ optional string compact_table = 2;
535
+ optional uint32 embedding_width = 3;
536
+ optional bool flatten = 4;
537
+ }
538
+
539
+ message CMsgSteamLearnModelNodeExplode {
540
+ }
541
+
542
+ message CMsgSteamLearnModelNodeInput {
543
+ optional uint32 input_num = 1;
544
+ }
545
+
546
+ message CMsgSteamLearnModelNodeKMeansCluster {
547
+ optional uint32 num_clusters = 1;
548
+ optional string name = 2;
549
+ optional bool generate_clusters = 3;
550
+ }
551
+
552
+ message CMsgSteamLearnModelNodeOnehot {
553
+ optional uint32 width = 1;
554
+ optional string compact_table = 2;
555
+ }
556
+
557
+ message CMsgSteamLearnModelNodeShuffle {
558
+ optional bool exclude_zeroes = 1;
559
+ }
560
+
561
+ message CMsgSteamLearnModelNodeSyncedShuffle {
562
+ optional bool exclude_zeroes = 1;
563
+ }
564
+
565
+ message CMsgSteamLearnModelNodeTrain {
566
+ optional uint32 input_count = 1;
567
+ optional int32 activation = 2 [(.description) = "enum"];
568
+ optional uint32 width = 3;
569
+ optional string compact_table = 4;
570
+ optional int32 optimizer = 5 [(.description) = "enum"];
571
+ optional int32 loss = 6 [(.description) = "enum"];
572
+ }
573
+
574
+ message CMsgSteamLearnProject {
575
+ optional uint32 project_id = 1;
576
+ optional string project_name = 2;
577
+ optional string project_description = 3;
578
+ optional uint32 creator_account_id = 4;
579
+ optional uint32 create_time = 5;
580
+ optional .CMsgSteamLearnProjectConfig unpublished_config = 6;
581
+ repeated .CMsgSteamLearnProjectConfig published_configs = 7;
582
+ }
583
+
584
+ message CMsgSteamLearnProjectConfig {
585
+ optional uint32 project_id = 1;
586
+ optional uint32 publish_time = 2;
587
+ optional uint32 published_version = 3;
588
+ repeated uint32 data_source_ids = 4;
589
+ repeated .CMsgSteamLearnDataSourceElementUsage data_source_element_usages = 5;
590
+ repeated .CMsgSteamLearnProjectNode project_nodes = 6;
591
+ optional .CMsgSteamLearnProjectSnapshotConfig snapshot_config = 7;
592
+ optional .CMsgSteamLearnTrainConfig train_config = 8;
593
+ optional .CMsgSteamLearnProjectSnapshotFilter snapshot_filter = 11;
594
+ repeated .CMsgSteamLearnProjectConfig_MapDataElementSqlColumnEntry map_data_element_sql_column = 12;
595
+ optional uint32 total_sql_columns = 13;
596
+ optional .CMsgSteamLearnDataRetentionConfig data_retention_config = 14;
597
+ optional .CMsgSteamLearnScheduledTrainConfig scheduled_train_config = 16;
598
+ repeated .CMsgSteamLearnFetchInfo fetch_infos = 17;
599
+ repeated .CMsgSteamLearnTrainInfo train_infos = 18;
600
+ }
601
+
602
+ message CMsgSteamLearnProjectConfig_MapDataElementSqlColumnEntry {
603
+ optional string key = 1;
604
+ optional int32 value = 2;
605
+ }
606
+
607
+ message CMsgSteamLearnProjectNode {
608
+ optional uint32 node_id = 1;
609
+ optional int32 location_x = 2;
610
+ optional int32 location_y = 3;
611
+ optional string comment = 4;
612
+ optional int32 type = 5 [(.description) = "enum"];
613
+ repeated .CMsgSteamLearnProjectNodeConnector connectors = 6;
614
+ optional .CMsgSteamLearnModelNodeInput input = 10;
615
+ optional .CMsgSteamLearnModelNodeDense dense = 11;
616
+ optional .CMsgSteamLearnModelNodeDenseStack dense_stack = 12;
617
+ optional .CMsgSteamLearnModelNodeDropout dropout = 13;
618
+ optional .CMsgSteamLearnModelNodeEmbedding embedding = 14;
619
+ optional .CMsgSteamLearnModelNodeTrain train = 15;
620
+ optional .CMsgSteamLearnModelNodeConditionalExtract conditional_extract = 16;
621
+ optional .CMsgSteamLearnModelNodeConcatenate concatenate = 17;
622
+ optional .CMsgSteamLearnModelNodeShuffle shuffle = 18;
623
+ optional .CMsgSteamLearnModelNodeSyncedShuffle synced_shuffle = 19;
624
+ optional .CMsgSteamLearnModelNodeOnehot onehot = 20;
625
+ optional .CMsgSteamLearnModelNodeExplode explode = 21;
626
+ optional .CMsgSteamLearnModelNodeConditionalSwap conditional_swap = 22;
627
+ optional .CMsgSteamLearnModelNodeKMeansCluster kmeans = 23;
628
+ optional .CMsgSteamLearnModelNodeCombine combine = 24;
629
+ }
630
+
631
+ message CMsgSteamLearnProjectNodeConnector {
632
+ optional uint32 connector_id = 1;
633
+ repeated uint32 linked_connector_ids = 2;
634
+ optional bool is_input_connector = 3;
635
+ }
636
+
637
+ message CMsgSteamLearnProjectSnapshotConfig {
638
+ optional int32 snapshot_type = 1 [(.description) = "enum"];
639
+ optional .CMsgSteamLearnProjectSnapshotConfigAccountIDs config_account_ids = 2;
640
+ optional .CMsgSteamLearnProjectSnapshotConfigAppIDs config_app_ids = 3;
641
+ optional .CMsgSteamLearnProjectSnapshotConfigOtherProject config_other_project = 4;
642
+ optional int32 snapshot_schedule_type = 5 [(.description) = "enum"];
643
+ optional uint32 snapshot_schedule_day_of_week = 6;
644
+ optional uint32 snapshot_schedule_day_of_month = 7;
645
+ }
646
+
647
+ message CMsgSteamLearnProjectSnapshotConfigAccountIDs {
648
+ optional uint32 percent = 1;
649
+ optional uint32 activity_recency_days = 2;
650
+ }
651
+
652
+ message CMsgSteamLearnProjectSnapshotConfigAppIDs {
653
+ optional uint32 percent = 1;
654
+ optional uint32 release_recency_days = 2;
655
+ }
656
+
657
+ message CMsgSteamLearnProjectSnapshotConfigOtherProject {
658
+ optional uint32 project_id = 1;
659
+ optional uint32 published_version = 2;
660
+ }
661
+
662
+ message CMsgSteamLearnProjectSnapshotFilter {
663
+ optional uint32 sample_reduce_percent = 1;
664
+ optional .CMsgSteamLearnProjectSnapshotFilterHistogram histogram = 2;
665
+ }
666
+
667
+ message CMsgSteamLearnProjectSnapshotFilterHistogram {
668
+ optional string data_element_path = 1;
669
+ optional float min_value = 2;
670
+ optional float max_value = 3;
671
+ optional uint32 num_buckets = 4;
672
+ }
673
+
674
+ message CMsgSteamLearnRawDataElement {
675
+ optional float float_value = 1;
676
+ optional string string_value = 2;
677
+ }
678
+
679
+ message CMsgSteamLearnScheduledTrainConfig {
680
+ optional int32 scheduled_type = 1 [(.description) = "enum"];
681
+ optional uint32 scheduled_minute = 2;
682
+ optional uint32 scheduled_hour = 3;
683
+ optional uint32 scheduled_day_of_week = 4;
684
+ optional uint32 scheduled_day_of_month = 5;
685
+ optional float auto_activate_accuracy_threshold = 6;
686
+ }
687
+
688
+ message CMsgSteamLearnTrainConfig {
689
+ optional uint32 fetch_workers = 1;
690
+ optional uint32 fetch_chunk_size = 2;
691
+ optional uint32 train_batch_size = 3;
692
+ optional uint32 train_epoch_count = 4;
693
+ optional float train_loss_improvement_threshold = 5;
694
+ optional uint32 train_no_loss_improvement_epoch_limit = 6;
695
+ }
696
+
697
+ message CMsgSteamLearnTrainInfo {
698
+ optional uint32 fetch_id = 1;
699
+ optional uint32 train_id = 2;
700
+ optional bool scheduled_train = 3;
701
+ optional bool auto_snapshot_pending = 4;
702
+ }
703
+
704
+ service SteamLearn {
705
+ rpc BatchOperation (.CMsgSteamLearn_BatchOperation_Request) returns (.CMsgSteamLearn_BatchOperation_Response);
706
+ rpc CacheData (.CMsgSteamLearn_CacheData_Request) returns (.CMsgSteamLearn_CacheData_Response);
707
+ rpc CreateProject (.CMsgSteamLearn_CreateProject_Request) returns (.CMsgSteamLearn_CreateProject_Response);
708
+ rpc EditProject (.CMsgSteamLearn_EditProject_Request) returns (.CMsgSteamLearn_EditProject_Response);
709
+ rpc GetDataSource (.CMsgSteamLearn_GetDataSource_Request) returns (.CMsgSteamLearn_GetDataSource_Response);
710
+ rpc GetFetchStatus (.CMsgSteamLearn_GetFetchStatus_Request) returns (.CMsgSteamLearn_GetFetchStatus_Response);
711
+ rpc GetFetchStatusVersions (.CMsgSteamLearn_GetFetchStatusVersions_Request) returns (.CMsgSteamLearn_GetFetchStatusVersions_Response);
712
+ rpc GetLogEvents (.CMsgSteamLearn_GetLogEvents_Request) returns (.CMsgSteamLearn_GetLogEvents_Response);
713
+ rpc GetProject (.CMsgSteamLearn_GetProject_Request) returns (.CMsgSteamLearn_GetProject_Response);
714
+ rpc GetTrainStatus (.CMsgSteamLearn_GetTrainStatus_Request) returns (.CMsgSteamLearn_GetTrainStatus_Response);
715
+ rpc GetTrainStatusVersions (.CMsgSteamLearn_GetTrainStatusVersions_Request) returns (.CMsgSteamLearn_GetTrainStatusVersions_Response);
716
+ rpc Inference (.CMsgSteamLearn_Inference_Request) returns (.CMsgSteamLearn_Inference_Response);
717
+ rpc InferenceBackend (.CMsgSteamLearn_InferenceBackend_Request) returns (.CMsgSteamLearn_InferenceBackend_Response);
718
+ rpc InferenceMetadata (.CMsgSteamLearn_InferenceMetadata_Request) returns (.CMsgSteamLearn_InferenceMetadata_Response);
719
+ rpc ListDataSources (.CMsgSteamLearn_ListDataSources_Request) returns (.CMsgSteamLearn_ListDataSources_Response);
720
+ rpc ListProjects (.CMsgSteamLearn_ListProjects_Request) returns (.CMsgSteamLearn_ListProjects_Response);
721
+ rpc PublishProject (.CMsgSteamLearn_PublishProject_Request) returns (.CMsgSteamLearn_PublishProject_Response);
722
+ rpc RegisterDataSource (.CMsgSteamLearn_RegisterDataSource_Request) returns (.CMsgSteamLearn_RegisterDataSource_Response);
723
+ rpc SetTrainLive (.CMsgSteamLearn_SetTrainLive_Request) returns (.CMsgSteamLearn_SetTrainLive_Response);
724
+ rpc SnapshotProject (.CMsgSteamLearn_SnapshotProject_Request) returns (.CMsgSteamLearn_SnapshotProject_Response);
725
+ rpc Train (.CMsgSteamLearn_Train_Request) returns (.CMsgSteamLearn_Train_Response);
726
+ }
727
+