openlayer 0.4.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/CHANGELOG.md +78 -0
  2. package/README.md +56 -46
  3. package/_shims/node-runtime.d.ts.map +1 -1
  4. package/_shims/node-runtime.js +2 -3
  5. package/_shims/node-runtime.js.map +1 -1
  6. package/_shims/node-runtime.mjs +1 -1
  7. package/_shims/node-runtime.mjs.map +1 -1
  8. package/_shims/node-types.d.ts +1 -1
  9. package/core.d.ts +9 -6
  10. package/core.d.ts.map +1 -1
  11. package/core.js +31 -9
  12. package/core.js.map +1 -1
  13. package/core.mjs +28 -7
  14. package/core.mjs.map +1 -1
  15. package/error.d.ts +1 -1
  16. package/error.d.ts.map +1 -1
  17. package/error.js +1 -1
  18. package/error.js.map +1 -1
  19. package/error.mjs +1 -1
  20. package/error.mjs.map +1 -1
  21. package/index.d.mts +15 -13
  22. package/index.d.ts +15 -13
  23. package/index.d.ts.map +1 -1
  24. package/index.js +29 -10
  25. package/index.js.map +1 -1
  26. package/index.mjs +13 -9
  27. package/index.mjs.map +1 -1
  28. package/lib/core/openai-monitor.d.ts +6 -3
  29. package/lib/core/openai-monitor.d.ts.map +1 -1
  30. package/lib/core/openai-monitor.js +7 -1
  31. package/lib/core/openai-monitor.js.map +1 -1
  32. package/lib/core/openai-monitor.mjs +4 -1
  33. package/lib/core/openai-monitor.mjs.map +1 -1
  34. package/lib/integrations/langchainCallback.d.ts +33 -0
  35. package/lib/integrations/langchainCallback.d.ts.map +1 -0
  36. package/lib/integrations/langchainCallback.js +114 -0
  37. package/lib/integrations/langchainCallback.js.map +1 -0
  38. package/lib/integrations/langchainCallback.mjs +110 -0
  39. package/lib/integrations/langchainCallback.mjs.map +1 -0
  40. package/lib/integrations/openAiTracer.d.ts +3 -0
  41. package/lib/integrations/openAiTracer.d.ts.map +1 -0
  42. package/lib/integrations/openAiTracer.js +125 -0
  43. package/lib/integrations/openAiTracer.js.map +1 -0
  44. package/lib/integrations/openAiTracer.mjs +121 -0
  45. package/lib/integrations/openAiTracer.mjs.map +1 -0
  46. package/lib/tracing/enums.d.ts +5 -0
  47. package/lib/tracing/enums.d.ts.map +1 -0
  48. package/lib/tracing/enums.js +9 -0
  49. package/lib/tracing/enums.js.map +1 -0
  50. package/lib/tracing/enums.mjs +6 -0
  51. package/lib/tracing/enums.mjs.map +1 -0
  52. package/lib/tracing/steps.d.ts +57 -0
  53. package/lib/tracing/steps.d.ts.map +1 -0
  54. package/lib/tracing/steps.js +84 -0
  55. package/lib/tracing/steps.js.map +1 -0
  56. package/lib/tracing/steps.mjs +78 -0
  57. package/lib/tracing/steps.mjs.map +1 -0
  58. package/lib/tracing/tracer.d.ts +18 -0
  59. package/lib/tracing/tracer.d.ts.map +1 -0
  60. package/lib/tracing/tracer.js +155 -0
  61. package/lib/tracing/tracer.js.map +1 -0
  62. package/lib/tracing/tracer.mjs +148 -0
  63. package/lib/tracing/tracer.mjs.map +1 -0
  64. package/lib/tracing/traces.d.ts +9 -0
  65. package/lib/tracing/traces.d.ts.map +1 -0
  66. package/lib/tracing/traces.js +17 -0
  67. package/lib/tracing/traces.js.map +1 -0
  68. package/lib/tracing/traces.mjs +13 -0
  69. package/lib/tracing/traces.mjs.map +1 -0
  70. package/package.json +4 -3
  71. package/resources/commits/commits.d.ts +2 -3
  72. package/resources/commits/commits.d.ts.map +1 -1
  73. package/resources/commits/commits.js +2 -3
  74. package/resources/commits/commits.js.map +1 -1
  75. package/resources/commits/commits.mjs +2 -3
  76. package/resources/commits/commits.mjs.map +1 -1
  77. package/resources/commits/index.d.ts +1 -1
  78. package/resources/commits/index.d.ts.map +1 -1
  79. package/resources/commits/index.js.map +1 -1
  80. package/resources/commits/index.mjs.map +1 -1
  81. package/resources/commits/test-results.d.ts +1 -22
  82. package/resources/commits/test-results.d.ts.map +1 -1
  83. package/resources/commits/test-results.js +0 -2
  84. package/resources/commits/test-results.js.map +1 -1
  85. package/resources/commits/test-results.mjs +0 -2
  86. package/resources/commits/test-results.mjs.map +1 -1
  87. package/resources/index.d.ts +3 -2
  88. package/resources/index.d.ts.map +1 -1
  89. package/resources/index.js +3 -1
  90. package/resources/index.js.map +1 -1
  91. package/resources/index.mjs +2 -1
  92. package/resources/index.mjs.map +1 -1
  93. package/resources/inference-pipelines/data.d.ts +2 -4
  94. package/resources/inference-pipelines/data.d.ts.map +1 -1
  95. package/resources/inference-pipelines/data.js +1 -3
  96. package/resources/inference-pipelines/data.js.map +1 -1
  97. package/resources/inference-pipelines/data.mjs +1 -3
  98. package/resources/inference-pipelines/data.mjs.map +1 -1
  99. package/resources/inference-pipelines/index.d.ts +4 -4
  100. package/resources/inference-pipelines/index.d.ts.map +1 -1
  101. package/resources/inference-pipelines/index.js.map +1 -1
  102. package/resources/inference-pipelines/index.mjs +1 -1
  103. package/resources/inference-pipelines/index.mjs.map +1 -1
  104. package/resources/inference-pipelines/inference-pipelines.d.ts +164 -9
  105. package/resources/inference-pipelines/inference-pipelines.d.ts.map +1 -1
  106. package/resources/inference-pipelines/inference-pipelines.js +28 -5
  107. package/resources/inference-pipelines/inference-pipelines.js.map +1 -1
  108. package/resources/inference-pipelines/inference-pipelines.mjs +28 -5
  109. package/resources/inference-pipelines/inference-pipelines.mjs.map +1 -1
  110. package/resources/inference-pipelines/rows.d.ts +1 -3
  111. package/resources/inference-pipelines/rows.d.ts.map +1 -1
  112. package/resources/inference-pipelines/rows.js +0 -2
  113. package/resources/inference-pipelines/rows.js.map +1 -1
  114. package/resources/inference-pipelines/rows.mjs +0 -2
  115. package/resources/inference-pipelines/rows.mjs.map +1 -1
  116. package/resources/inference-pipelines/test-results.d.ts +1 -22
  117. package/resources/inference-pipelines/test-results.d.ts.map +1 -1
  118. package/resources/inference-pipelines/test-results.js +0 -2
  119. package/resources/inference-pipelines/test-results.js.map +1 -1
  120. package/resources/inference-pipelines/test-results.mjs +0 -2
  121. package/resources/inference-pipelines/test-results.mjs.map +1 -1
  122. package/resources/projects/commits.d.ts +150 -16
  123. package/resources/projects/commits.d.ts.map +1 -1
  124. package/resources/projects/commits.js +6 -2
  125. package/resources/projects/commits.js.map +1 -1
  126. package/resources/projects/commits.mjs +6 -2
  127. package/resources/projects/commits.mjs.map +1 -1
  128. package/resources/projects/index.d.ts +3 -3
  129. package/resources/projects/index.d.ts.map +1 -1
  130. package/resources/projects/index.js.map +1 -1
  131. package/resources/projects/index.mjs +1 -1
  132. package/resources/projects/index.mjs.map +1 -1
  133. package/resources/projects/inference-pipelines.d.ts +1 -24
  134. package/resources/projects/inference-pipelines.d.ts.map +1 -1
  135. package/resources/projects/inference-pipelines.js +0 -2
  136. package/resources/projects/inference-pipelines.js.map +1 -1
  137. package/resources/projects/inference-pipelines.mjs +0 -2
  138. package/resources/projects/inference-pipelines.mjs.map +1 -1
  139. package/resources/projects/projects.d.ts +5 -32
  140. package/resources/projects/projects.d.ts.map +1 -1
  141. package/resources/projects/projects.js +4 -4
  142. package/resources/projects/projects.js.map +1 -1
  143. package/resources/projects/projects.mjs +4 -4
  144. package/resources/projects/projects.mjs.map +1 -1
  145. package/resources/storage/index.d.ts +3 -0
  146. package/resources/storage/index.d.ts.map +1 -0
  147. package/resources/storage/index.js +9 -0
  148. package/resources/storage/index.js.map +1 -0
  149. package/resources/storage/index.mjs +4 -0
  150. package/resources/storage/index.mjs.map +1 -0
  151. package/resources/storage/presigned-url.d.ts +32 -0
  152. package/resources/storage/presigned-url.d.ts.map +1 -0
  153. package/resources/storage/presigned-url.js +16 -0
  154. package/resources/storage/presigned-url.js.map +1 -0
  155. package/resources/storage/presigned-url.mjs +12 -0
  156. package/resources/storage/presigned-url.mjs.map +1 -0
  157. package/resources/storage/storage.d.ts +10 -0
  158. package/resources/storage/storage.d.ts.map +1 -0
  159. package/resources/storage/storage.js +39 -0
  160. package/resources/storage/storage.js.map +1 -0
  161. package/resources/storage/storage.mjs +12 -0
  162. package/resources/storage/storage.mjs.map +1 -0
  163. package/shims/node.d.ts +1 -0
  164. package/shims/node.d.ts.map +1 -1
  165. package/src/_shims/node-runtime.ts +1 -3
  166. package/src/_shims/node-types.d.ts +1 -1
  167. package/src/core.ts +44 -13
  168. package/src/error.ts +3 -3
  169. package/src/index.ts +49 -21
  170. package/src/lib/core/openai-monitor.ts +10 -4
  171. package/src/lib/index.d.ts +1 -0
  172. package/src/lib/integrations/langchainCallback.ts +141 -0
  173. package/src/lib/integrations/openAiTracer.ts +137 -0
  174. package/src/lib/tracing/enums.ts +4 -0
  175. package/src/lib/tracing/index.d.ts +1 -0
  176. package/src/lib/tracing/steps.ts +118 -0
  177. package/src/lib/tracing/tracer.ts +204 -0
  178. package/src/lib/tracing/traces.ts +19 -0
  179. package/src/resources/commits/commits.ts +9 -4
  180. package/src/resources/commits/index.ts +1 -1
  181. package/src/resources/commits/test-results.ts +5 -28
  182. package/src/resources/index.ts +11 -5
  183. package/src/resources/inference-pipelines/data.ts +3 -5
  184. package/src/resources/inference-pipelines/index.ts +9 -4
  185. package/src/resources/inference-pipelines/inference-pipelines.ts +254 -10
  186. package/src/resources/inference-pipelines/rows.ts +2 -4
  187. package/src/resources/inference-pipelines/test-results.ts +5 -28
  188. package/src/resources/projects/commits.ts +192 -17
  189. package/src/resources/projects/index.ts +15 -9
  190. package/src/resources/projects/inference-pipelines.ts +7 -30
  191. package/src/resources/projects/projects.ts +40 -38
  192. package/src/resources/storage/index.ts +8 -0
  193. package/src/resources/storage/presigned-url.ts +48 -0
  194. package/src/resources/storage/storage.ts +19 -0
  195. package/src/uploads.ts +11 -4
  196. package/src/version.ts +1 -1
  197. package/uploads.d.ts.map +1 -1
  198. package/uploads.js +10 -4
  199. package/uploads.js.map +1 -1
  200. package/uploads.mjs +10 -4
  201. package/uploads.mjs.map +1 -1
  202. package/version.d.ts +1 -1
  203. package/version.js +1 -1
  204. package/version.mjs +1 -1
  205. package/src/lib/.keep +0 -4
@@ -3,7 +3,6 @@
3
3
  import { APIResource } from '../../resource';
4
4
  import { isRequestOptions } from '../../core';
5
5
  import * as Core from '../../core';
6
- import * as TestResultsAPI from './test-results';
7
6
 
8
7
  export class TestResults extends APIResource {
9
8
  /**
@@ -28,34 +27,10 @@ export class TestResults extends APIResource {
28
27
  }
29
28
 
30
29
  export interface TestResultListResponse {
31
- _meta: TestResultListResponse._Meta;
32
-
33
30
  items: Array<TestResultListResponse.Item>;
34
31
  }
35
32
 
36
33
  export namespace TestResultListResponse {
37
- export interface _Meta {
38
- /**
39
- * The current page.
40
- */
41
- page: number;
42
-
43
- /**
44
- * The number of items per page.
45
- */
46
- perPage: number;
47
-
48
- /**
49
- * The total number of items.
50
- */
51
- totalItems: number;
52
-
53
- /**
54
- * The total number of pages.
55
- */
56
- totalPages: number;
57
- }
58
-
59
34
  export interface Item {
60
35
  /**
61
36
  * Project version (commit) id.
@@ -278,7 +253,9 @@ export interface TestResultListParams {
278
253
  type?: 'integrity' | 'consistency' | 'performance' | 'fairness' | 'robustness';
279
254
  }
280
255
 
281
- export namespace TestResults {
282
- export import TestResultListResponse = TestResultsAPI.TestResultListResponse;
283
- export import TestResultListParams = TestResultsAPI.TestResultListParams;
256
+ export declare namespace TestResults {
257
+ export {
258
+ type TestResultListResponse as TestResultListResponse,
259
+ type TestResultListParams as TestResultListParams,
260
+ };
284
261
  }
@@ -1,11 +1,17 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  export { Commits } from './commits/commits';
4
- export { InferencePipelines } from './inference-pipelines/inference-pipelines';
5
4
  export {
6
- ProjectCreateResponse,
7
- ProjectListResponse,
8
- ProjectCreateParams,
9
- ProjectListParams,
5
+ InferencePipelines,
6
+ type InferencePipelineRetrieveResponse,
7
+ type InferencePipelineUpdateResponse,
8
+ type InferencePipelineUpdateParams,
9
+ } from './inference-pipelines/inference-pipelines';
10
+ export {
10
11
  Projects,
12
+ type ProjectCreateResponse,
13
+ type ProjectListResponse,
14
+ type ProjectCreateParams,
15
+ type ProjectListParams,
11
16
  } from './projects/projects';
17
+ export { Storage } from './storage/storage';
@@ -2,11 +2,10 @@
2
2
 
3
3
  import { APIResource } from '../../resource';
4
4
  import * as Core from '../../core';
5
- import * as DataAPI from './data';
6
5
 
7
6
  export class Data extends APIResource {
8
7
  /**
9
- * Create an inference data point in an inference pipeline.
8
+ * Publish an inference data point to an inference pipeline.
10
9
  */
11
10
  stream(
12
11
  inferencePipelineId: string,
@@ -279,7 +278,6 @@ export namespace DataStreamParams {
279
278
  }
280
279
  }
281
280
 
282
- export namespace Data {
283
- export import DataStreamResponse = DataAPI.DataStreamResponse;
284
- export import DataStreamParams = DataAPI.DataStreamParams;
281
+ export declare namespace Data {
282
+ export { type DataStreamResponse as DataStreamResponse, type DataStreamParams as DataStreamParams };
285
283
  }
@@ -1,6 +1,11 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export { DataStreamResponse, DataStreamParams, Data } from './data';
4
- export { InferencePipelines } from './inference-pipelines';
5
- export { RowUpdateResponse, RowUpdateParams, Rows } from './rows';
6
- export { TestResultListResponse, TestResultListParams, TestResults } from './test-results';
3
+ export { Data, type DataStreamResponse, type DataStreamParams } from './data';
4
+ export {
5
+ InferencePipelines,
6
+ type InferencePipelineRetrieveResponse,
7
+ type InferencePipelineUpdateResponse,
8
+ type InferencePipelineUpdateParams,
9
+ } from './inference-pipelines';
10
+ export { Rows, type RowUpdateResponse, type RowUpdateParams } from './rows';
11
+ export { TestResults, type TestResultListResponse, type TestResultListParams } from './test-results';
@@ -1,24 +1,268 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../resource';
4
+ import { isRequestOptions } from '../../core';
5
+ import * as Core from '../../core';
4
6
  import * as DataAPI from './data';
7
+ import { Data, DataStreamParams, DataStreamResponse } from './data';
5
8
  import * as RowsAPI from './rows';
9
+ import { RowUpdateParams, RowUpdateResponse, Rows } from './rows';
6
10
  import * as TestResultsAPI from './test-results';
11
+ import { TestResultListParams, TestResultListResponse, TestResults } from './test-results';
7
12
 
8
13
  export class InferencePipelines extends APIResource {
9
14
  data: DataAPI.Data = new DataAPI.Data(this._client);
10
15
  rows: RowsAPI.Rows = new RowsAPI.Rows(this._client);
11
16
  testResults: TestResultsAPI.TestResults = new TestResultsAPI.TestResults(this._client);
17
+
18
+ /**
19
+ * Retrieve inference pipeline.
20
+ */
21
+ retrieve(
22
+ inferencePipelineId: string,
23
+ options?: Core.RequestOptions,
24
+ ): Core.APIPromise<InferencePipelineRetrieveResponse> {
25
+ return this._client.get(`/inference-pipelines/${inferencePipelineId}`, options);
26
+ }
27
+
28
+ /**
29
+ * Update inference pipeline.
30
+ */
31
+ update(
32
+ inferencePipelineId: string,
33
+ body?: InferencePipelineUpdateParams,
34
+ options?: Core.RequestOptions,
35
+ ): Core.APIPromise<InferencePipelineUpdateResponse>;
36
+ update(
37
+ inferencePipelineId: string,
38
+ options?: Core.RequestOptions,
39
+ ): Core.APIPromise<InferencePipelineUpdateResponse>;
40
+ update(
41
+ inferencePipelineId: string,
42
+ body: InferencePipelineUpdateParams | Core.RequestOptions = {},
43
+ options?: Core.RequestOptions,
44
+ ): Core.APIPromise<InferencePipelineUpdateResponse> {
45
+ if (isRequestOptions(body)) {
46
+ return this.update(inferencePipelineId, {}, body);
47
+ }
48
+ return this._client.put(`/inference-pipelines/${inferencePipelineId}`, { body, ...options });
49
+ }
50
+
51
+ /**
52
+ * Delete inference pipeline.
53
+ */
54
+ delete(inferencePipelineId: string, options?: Core.RequestOptions): Core.APIPromise<void> {
55
+ return this._client.delete(`/inference-pipelines/${inferencePipelineId}`, {
56
+ ...options,
57
+ headers: { Accept: '*/*', ...options?.headers },
58
+ });
59
+ }
60
+ }
61
+
62
+ export interface InferencePipelineRetrieveResponse {
63
+ /**
64
+ * The inference pipeline id.
65
+ */
66
+ id: string;
67
+
68
+ /**
69
+ * The creation date.
70
+ */
71
+ dateCreated: string;
72
+
73
+ /**
74
+ * The last test evaluation date.
75
+ */
76
+ dateLastEvaluated: string | null;
77
+
78
+ /**
79
+ * The last data sample received date.
80
+ */
81
+ dateLastSampleReceived: string | null;
82
+
83
+ /**
84
+ * The next test evaluation date.
85
+ */
86
+ dateOfNextEvaluation: string | null;
87
+
88
+ /**
89
+ * The last updated date.
90
+ */
91
+ dateUpdated: string;
92
+
93
+ /**
94
+ * The inference pipeline description.
95
+ */
96
+ description: string | null;
97
+
98
+ /**
99
+ * The number of tests failing.
100
+ */
101
+ failingGoalCount: number;
102
+
103
+ links: InferencePipelineRetrieveResponse.Links;
104
+
105
+ /**
106
+ * The inference pipeline name.
107
+ */
108
+ name: string;
109
+
110
+ /**
111
+ * The number of tests passing.
112
+ */
113
+ passingGoalCount: number;
114
+
115
+ /**
116
+ * The project id.
117
+ */
118
+ projectId: string;
119
+
120
+ /**
121
+ * The status of test evaluation for the inference pipeline.
122
+ */
123
+ status: 'queued' | 'running' | 'paused' | 'failed' | 'completed' | 'unknown';
124
+
125
+ /**
126
+ * The status message of test evaluation for the inference pipeline.
127
+ */
128
+ statusMessage: string | null;
129
+
130
+ /**
131
+ * The total number of tests.
132
+ */
133
+ totalGoalCount: number;
134
+ }
135
+
136
+ export namespace InferencePipelineRetrieveResponse {
137
+ export interface Links {
138
+ app: string;
139
+ }
12
140
  }
13
141
 
14
- export namespace InferencePipelines {
15
- export import Data = DataAPI.Data;
16
- export import DataStreamResponse = DataAPI.DataStreamResponse;
17
- export import DataStreamParams = DataAPI.DataStreamParams;
18
- export import Rows = RowsAPI.Rows;
19
- export import RowUpdateResponse = RowsAPI.RowUpdateResponse;
20
- export import RowUpdateParams = RowsAPI.RowUpdateParams;
21
- export import TestResults = TestResultsAPI.TestResults;
22
- export import TestResultListResponse = TestResultsAPI.TestResultListResponse;
23
- export import TestResultListParams = TestResultsAPI.TestResultListParams;
142
+ export interface InferencePipelineUpdateResponse {
143
+ /**
144
+ * The inference pipeline id.
145
+ */
146
+ id: string;
147
+
148
+ /**
149
+ * The creation date.
150
+ */
151
+ dateCreated: string;
152
+
153
+ /**
154
+ * The last test evaluation date.
155
+ */
156
+ dateLastEvaluated: string | null;
157
+
158
+ /**
159
+ * The last data sample received date.
160
+ */
161
+ dateLastSampleReceived: string | null;
162
+
163
+ /**
164
+ * The next test evaluation date.
165
+ */
166
+ dateOfNextEvaluation: string | null;
167
+
168
+ /**
169
+ * The last updated date.
170
+ */
171
+ dateUpdated: string;
172
+
173
+ /**
174
+ * The inference pipeline description.
175
+ */
176
+ description: string | null;
177
+
178
+ /**
179
+ * The number of tests failing.
180
+ */
181
+ failingGoalCount: number;
182
+
183
+ links: InferencePipelineUpdateResponse.Links;
184
+
185
+ /**
186
+ * The inference pipeline name.
187
+ */
188
+ name: string;
189
+
190
+ /**
191
+ * The number of tests passing.
192
+ */
193
+ passingGoalCount: number;
194
+
195
+ /**
196
+ * The project id.
197
+ */
198
+ projectId: string;
199
+
200
+ /**
201
+ * The status of test evaluation for the inference pipeline.
202
+ */
203
+ status: 'queued' | 'running' | 'paused' | 'failed' | 'completed' | 'unknown';
204
+
205
+ /**
206
+ * The status message of test evaluation for the inference pipeline.
207
+ */
208
+ statusMessage: string | null;
209
+
210
+ /**
211
+ * The total number of tests.
212
+ */
213
+ totalGoalCount: number;
214
+ }
215
+
216
+ export namespace InferencePipelineUpdateResponse {
217
+ export interface Links {
218
+ app: string;
219
+ }
220
+ }
221
+
222
+ export interface InferencePipelineUpdateParams {
223
+ /**
224
+ * The inference pipeline description.
225
+ */
226
+ description?: string | null;
227
+
228
+ /**
229
+ * The inference pipeline name.
230
+ */
231
+ name?: string;
232
+
233
+ /**
234
+ * The storage uri of your reference dataset. We recommend using the Python SDK or
235
+ * the UI to handle your reference dataset updates.
236
+ */
237
+ referenceDatasetUri?: string | null;
238
+ }
239
+
240
+ InferencePipelines.Data = Data;
241
+ InferencePipelines.Rows = Rows;
242
+ InferencePipelines.TestResults = TestResults;
243
+
244
+ export declare namespace InferencePipelines {
245
+ export {
246
+ type InferencePipelineRetrieveResponse as InferencePipelineRetrieveResponse,
247
+ type InferencePipelineUpdateResponse as InferencePipelineUpdateResponse,
248
+ type InferencePipelineUpdateParams as InferencePipelineUpdateParams,
249
+ };
250
+
251
+ export {
252
+ Data as Data,
253
+ type DataStreamResponse as DataStreamResponse,
254
+ type DataStreamParams as DataStreamParams,
255
+ };
256
+
257
+ export {
258
+ Rows as Rows,
259
+ type RowUpdateResponse as RowUpdateResponse,
260
+ type RowUpdateParams as RowUpdateParams,
261
+ };
262
+
263
+ export {
264
+ TestResults as TestResults,
265
+ type TestResultListResponse as TestResultListResponse,
266
+ type TestResultListParams as TestResultListParams,
267
+ };
24
268
  }
@@ -2,7 +2,6 @@
2
2
 
3
3
  import { APIResource } from '../../resource';
4
4
  import * as Core from '../../core';
5
- import * as RowsAPI from './rows';
6
5
 
7
6
  export class Rows extends APIResource {
8
7
  /**
@@ -75,7 +74,6 @@ export namespace RowUpdateParams {
75
74
  }
76
75
  }
77
76
 
78
- export namespace Rows {
79
- export import RowUpdateResponse = RowsAPI.RowUpdateResponse;
80
- export import RowUpdateParams = RowsAPI.RowUpdateParams;
77
+ export declare namespace Rows {
78
+ export { type RowUpdateResponse as RowUpdateResponse, type RowUpdateParams as RowUpdateParams };
81
79
  }
@@ -3,7 +3,6 @@
3
3
  import { APIResource } from '../../resource';
4
4
  import { isRequestOptions } from '../../core';
5
5
  import * as Core from '../../core';
6
- import * as TestResultsAPI from './test-results';
7
6
 
8
7
  export class TestResults extends APIResource {
9
8
  /**
@@ -28,34 +27,10 @@ export class TestResults extends APIResource {
28
27
  }
29
28
 
30
29
  export interface TestResultListResponse {
31
- _meta: TestResultListResponse._Meta;
32
-
33
30
  items: Array<TestResultListResponse.Item>;
34
31
  }
35
32
 
36
33
  export namespace TestResultListResponse {
37
- export interface _Meta {
38
- /**
39
- * The current page.
40
- */
41
- page: number;
42
-
43
- /**
44
- * The number of items per page.
45
- */
46
- perPage: number;
47
-
48
- /**
49
- * The total number of items.
50
- */
51
- totalItems: number;
52
-
53
- /**
54
- * The total number of pages.
55
- */
56
- totalPages: number;
57
- }
58
-
59
34
  export interface Item {
60
35
  /**
61
36
  * Project version (commit) id.
@@ -273,7 +248,9 @@ export interface TestResultListParams {
273
248
  type?: 'integrity' | 'consistency' | 'performance' | 'fairness' | 'robustness';
274
249
  }
275
250
 
276
- export namespace TestResults {
277
- export import TestResultListResponse = TestResultsAPI.TestResultListResponse;
278
- export import TestResultListParams = TestResultsAPI.TestResultListParams;
251
+ export declare namespace TestResults {
252
+ export {
253
+ type TestResultListResponse as TestResultListResponse,
254
+ type TestResultListParams as TestResultListParams,
255
+ };
279
256
  }