pareta 0.2.1 → 1.0.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.
package/dist/index.d.cts CHANGED
@@ -11,9 +11,8 @@ interface SSEEvent {
11
11
  * typed layer.
12
12
  *
13
13
  * Alias / D3 boundary (a BACKEND contract, the SDK adds no alias logic):
14
- * `Endpoint.model`, `EvalResult.modelId`, leaderboard names and
15
- * `run.candidateModels` are per-task PUBLIC aliases real open-weights ids
16
- * never cross. Frontier (vendor) ids are in the clear.
14
+ * `EvalResult.modelId` and `run.candidateModels` are per-task PUBLIC aliases —
15
+ * real open-weights ids never cross. Frontier (vendor) ids are in the clear.
17
16
  */
18
17
  type Raw = Record<string, any>;
19
18
  /** Base: holds the raw payload, dict-style escape hatches. */
@@ -63,29 +62,6 @@ declare class ModelList extends BaseModel implements Iterable<Model> {
63
62
  get length(): number;
64
63
  [Symbol.iterator](): Iterator<Model>;
65
64
  }
66
- /**
67
- * A deployed endpoint. `id` (== name) is what you pass to
68
- * `chat.completions.create({ model })`. `model` is the per-task public alias.
69
- */
70
- declare class Endpoint extends BaseModel {
71
- get id(): string | null;
72
- get name(): string | null;
73
- get model(): string | null;
74
- get status(): string | null;
75
- get task(): string | null;
76
- get url(): string | null;
77
- get isLive(): boolean;
78
- /** Structured-extraction endpoints (contract / SEC / ICD …): the system prompt
79
- * the benchmark used. The proxy applies it automatically when you send no
80
- * `system` message (so quality matches the leaderboard by default); returned
81
- * here so you can read it, or override it with your own `system` message.
82
- * `null` when the task has no injectable prompt (see `promptScaffold`). */
83
- get recommendedSystemPrompt(): string | null;
84
- /** Fixed-label classification endpoints: a copy-and-customize `system` prompt
85
- * template. NEVER auto-applied — the categories are yours, not the benchmark's
86
- * — so fill them in and send it as your `system` message. `null` otherwise. */
87
- get promptScaffold(): string | null;
88
- }
89
65
  declare class Task extends BaseModel {
90
66
  get id(): string | null;
91
67
  get defaultScorer(): string | null;
@@ -139,29 +115,12 @@ declare class EvalResult extends BaseModel {
139
115
  /** Per-item rows (idx/score/prediction/error); empty when not persisted. */
140
116
  get perItem(): EvalItemResult[];
141
117
  }
142
- declare class LeaderboardEntry extends BaseModel {
143
- get name(): string | null;
144
- get kind(): string | null;
145
- get quality(): number | null;
146
- get costPerRequestMicroUsd(): number | null;
147
- get contextK(): number | null;
148
- get runMode(): string | null;
149
- }
150
- /** Models ranked for a task. `recommended` is the deployable pick; `frontier` the baseline. */
151
- declare class Leaderboard extends BaseModel {
152
- get taskId(): string | null;
153
- get metric(): string | null;
154
- get costUnit(): string | null;
155
- get recommended(): string | null;
156
- get models(): LeaderboardEntry[];
157
- get frontier(): LeaderboardEntry | null;
158
- }
159
118
  /** A vendor frontier model you can evaluate against (from the eval pool). */
160
119
  declare class FrontierModel extends BaseModel {
161
120
  get id(): string | null;
162
121
  get vendor(): string | null;
163
122
  get vision(): boolean;
164
- /** Only meaningful when a task was given: it's on that task's leaderboard. */
123
+ /** Only meaningful when a task was given: it has benchmark results on that task. */
165
124
  get benchmarked(): boolean;
166
125
  }
167
126
  /**
@@ -187,9 +146,9 @@ declare class EvalRun extends BaseModel {
187
146
  /**
188
147
  * `client.chat.completions` — OpenAI-compatible chat completions.
189
148
  *
190
- * `model` is an endpoint id from `endpoints.deploy(...)` (or any model id the
191
- * caller's org can reach). The call is metered: a successful completion debits
192
- * the org's balance; a zero balance raises `InsufficientCreditsError` (402).
149
+ * `model` is `"auto"` Pareta plans, routes, and verifies each request. The
150
+ * call is metered: a successful completion debits the org's balance; a zero
151
+ * balance raises `InsufficientCreditsError` (402).
193
152
  */
194
153
 
195
154
  /** An OpenAI-style chat message. `content` is a string or content-block array. */
@@ -200,7 +159,7 @@ interface ChatMessage {
200
159
  }
201
160
  /** Params for `chat.completions.create`. Extra OpenAI params pass through. */
202
161
  interface ChatCompletionCreateParams {
203
- /** An endpoint id from `endpoints.deploy(...)`. */
162
+ /** `"auto"` Pareta routes the request to the right model. */
204
163
  model: string;
205
164
  messages: ChatMessage[];
206
165
  stream?: boolean;
@@ -230,10 +189,9 @@ declare class Chat {
230
189
  }
231
190
 
232
191
  /**
233
- * `client.models` — list the deployed models (endpoints) your org can call.
234
- *
235
- * OpenAI-compatible: only deployed, url-bearing endpoints appear. Each
236
- * `Model.id` is an endpoint id usable as `chat.completions.create({ model })`.
192
+ * `client.models` — the OpenAI-compatible `/v1/models` list of model ids your
193
+ * org can call. Each `Model.id` is usable as
194
+ * `chat.completions.create({ model })`.
237
195
  */
238
196
 
239
197
  declare class Models {
@@ -243,70 +201,8 @@ declare class Models {
243
201
  }
244
202
 
245
203
  /**
246
- * `client.endpoints` — deploy, operate, and measure deployed endpoints.
247
- *
248
- * `deploy({ task, model })` is ergonomic: Pareta picks the GPU/serving config
249
- * (you never pass hardware) and `model` defaults to the task's recommended pick.
250
- * The backend resolver behind POST /v1/endpoints evolved with the discovery
251
- * work — verify the deploy body against staging when wiring real deploys.
252
- */
253
-
254
- /** Params for `endpoints.deploy`. Extra keys pass through to the deploy body. */
255
- interface DeployParams {
256
- /** The task id to deploy a model for. */
257
- task: string;
258
- /** Model alias to deploy; defaults to "recommended" (the task's top pick). */
259
- model?: string;
260
- /** Optional endpoint name. */
261
- name?: string;
262
- /** If true, block through the deploy and resolve the live Endpoint. */
263
- wait?: boolean;
264
- [key: string]: unknown;
265
- }
266
- /**
267
- * `endpoints.metrics(id).performance()` etc. Each returns the raw metric JSON
268
- * (shapes vary by dimension; typed models arrive with the OpenAPI generation).
269
- */
270
- declare class EndpointMetrics {
271
- private readonly client;
272
- private readonly id;
273
- constructor(client: Transport, id: string);
274
- performance(params?: Record<string, unknown>): Promise<unknown>;
275
- uptime(params?: Record<string, unknown>): Promise<unknown>;
276
- cost(params?: Record<string, unknown>): Promise<unknown>;
277
- quality(params?: Record<string, unknown>): Promise<unknown>;
278
- activity(params?: Record<string, unknown>): Promise<unknown>;
279
- }
280
- declare class Endpoints {
281
- private readonly client;
282
- constructor(client: Transport);
283
- /**
284
- * Deploy a model for a task. `wait: false` (default) → an `AsyncIterable` of
285
- * progress events (`{event, data}`); the terminal event is `complete`
286
- * (`data.endpoint`) or `error`. `wait: true` → resolves the live `Endpoint`
287
- * (throws `ParetaError` on a deploy `error` event).
288
- */
289
- deploy(params: DeployParams & {
290
- wait: true;
291
- }): Promise<Endpoint>;
292
- deploy(params: DeployParams & {
293
- wait?: false;
294
- }): AsyncIterable<SSEEvent>;
295
- private waitForDeploy;
296
- list(): Promise<Endpoint[]>;
297
- retrieve(endpointId: string): Promise<Endpoint>;
298
- start(endpointId: string): Promise<unknown>;
299
- stop(endpointId: string): Promise<unknown>;
300
- delete(endpointId: string): Promise<void>;
301
- metrics(endpointId: string): EndpointMetrics;
302
- }
303
-
304
- /**
305
- * `client.tasks` — browse the benchmark catalog + match free-text intent, and
306
- * the per-task discovery surface (leaderboard / recommended).
307
- *
308
- * Unlike the Python SDK (where `leaderboard`/`recommended` exist only on the
309
- * sync client), these are present uniformly here — JS has one client.
204
+ * `client.tasks` — browse the benchmark catalog and match free-text intent to
205
+ * a task (`match` is the discovery surface: it tells you what Pareta can do).
310
206
  */
311
207
 
312
208
  declare class Tasks {
@@ -320,10 +216,6 @@ declare class Tasks {
320
216
  match(query: string, opts?: {
321
217
  topK?: number;
322
218
  }): Promise<TaskMatch>;
323
- /** Models ranked by quality/cost for a task (+ recommended + frontier baseline). */
324
- leaderboard(taskId: string): Promise<Leaderboard>;
325
- /** The task's recommended deployable model — what deploy(model:"recommended") resolves to. */
326
- recommended(taskId: string): Promise<string | null>;
327
219
  }
328
220
 
329
221
  /**
@@ -525,7 +417,6 @@ declare class Pareta implements Transport {
525
417
  private readonly fetchImpl;
526
418
  readonly chat: Chat;
527
419
  readonly models: Models;
528
- readonly endpoints: Endpoints;
529
420
  readonly tasks: Tasks;
530
421
  readonly evals: Evals;
531
422
  readonly auto: Auto;
@@ -547,12 +438,12 @@ declare class Pareta implements Transport {
547
438
  /**
548
439
  * Yield parsed SSE objects. Retries ONLY the initial connect/handshake — once
549
440
  * bytes are flowing a mid-stream drop raises (re-issuing would re-run a
550
- * metered generation / re-trigger a deploy). `events:true` → `{event,data}`.
441
+ * metered generation). `events:true` → `{event,data}`.
551
442
  */
552
443
  stream<T = unknown>(method: string, path: string, opts?: StreamOptions): AsyncGenerator<T>;
553
444
  }
554
445
 
555
- declare const VERSION = "0.1.0";
446
+ declare const VERSION = "1.0.0";
556
447
 
557
448
  /**
558
449
  * Typed error hierarchy for the Pareta SDK — a faithful port of the Python
@@ -567,7 +458,7 @@ declare const VERSION = "0.1.0";
567
458
  * 402 → InsufficientCreditsError ("organization is out of credit…")
568
459
  * 403 → PermissionDeniedError
569
460
  * 404 → NotFoundError
570
- * 409 → ConflictError (seed/legacy endpoint not deployed)
461
+ * 409 → ConflictError (resource conflict / not servable)
571
462
  * 422 → BadRequestError (FastAPI validation; `detail` is an array)
572
463
  * 429 → RateLimitError
573
464
  * 503 → EndpointNotReadyError (stopped / cold / provider down)
@@ -644,4 +535,4 @@ declare class EndpointNotReadyError extends APIStatusError {
644
535
  constructor(message: string, init: APIStatusErrorInit);
645
536
  }
646
537
 
647
- export { APIConnectionError, APIStatusError, APITimeoutError, AuthenticationError, BadRequestError, BaseModel, ChatCompletion, ChatCompletionChunk, type ChatCompletionCreateParams, type ChatMessage, Choice, ConflictError, type DeployParams, Endpoint, EndpointMetrics, EndpointNotReadyError, type ErrorDetail, EvalItemResult, EvalResult, EvalRun, type EvalRunCreateParams, EvalRuns, EvalSet, EvalSets, type FileInput, type FilePart, FrontierModel, type FrontierSpec, InsufficientCreditsError, Leaderboard, LeaderboardEntry, Message, Model, ModelList, NotFoundError, Pareta, ParetaError, type ParetaOptions, PermissionDeniedError, RateLimitError, type SSEEvent, Task, TaskMatch, TaskMatchCandidate, type Transport, Usage, VERSION, type ValidationErrorItem };
538
+ export { APIConnectionError, APIStatusError, APITimeoutError, AuthenticationError, BadRequestError, BaseModel, ChatCompletion, ChatCompletionChunk, type ChatCompletionCreateParams, type ChatMessage, Choice, ConflictError, EndpointNotReadyError, type ErrorDetail, EvalItemResult, EvalResult, EvalRun, type EvalRunCreateParams, EvalRuns, EvalSet, EvalSets, type FileInput, type FilePart, FrontierModel, type FrontierSpec, InsufficientCreditsError, Message, Model, ModelList, NotFoundError, Pareta, ParetaError, type ParetaOptions, PermissionDeniedError, RateLimitError, type SSEEvent, Task, TaskMatch, TaskMatchCandidate, type Transport, Usage, VERSION, type ValidationErrorItem };
package/dist/index.d.ts CHANGED
@@ -11,9 +11,8 @@ interface SSEEvent {
11
11
  * typed layer.
12
12
  *
13
13
  * Alias / D3 boundary (a BACKEND contract, the SDK adds no alias logic):
14
- * `Endpoint.model`, `EvalResult.modelId`, leaderboard names and
15
- * `run.candidateModels` are per-task PUBLIC aliases real open-weights ids
16
- * never cross. Frontier (vendor) ids are in the clear.
14
+ * `EvalResult.modelId` and `run.candidateModels` are per-task PUBLIC aliases —
15
+ * real open-weights ids never cross. Frontier (vendor) ids are in the clear.
17
16
  */
18
17
  type Raw = Record<string, any>;
19
18
  /** Base: holds the raw payload, dict-style escape hatches. */
@@ -63,29 +62,6 @@ declare class ModelList extends BaseModel implements Iterable<Model> {
63
62
  get length(): number;
64
63
  [Symbol.iterator](): Iterator<Model>;
65
64
  }
66
- /**
67
- * A deployed endpoint. `id` (== name) is what you pass to
68
- * `chat.completions.create({ model })`. `model` is the per-task public alias.
69
- */
70
- declare class Endpoint extends BaseModel {
71
- get id(): string | null;
72
- get name(): string | null;
73
- get model(): string | null;
74
- get status(): string | null;
75
- get task(): string | null;
76
- get url(): string | null;
77
- get isLive(): boolean;
78
- /** Structured-extraction endpoints (contract / SEC / ICD …): the system prompt
79
- * the benchmark used. The proxy applies it automatically when you send no
80
- * `system` message (so quality matches the leaderboard by default); returned
81
- * here so you can read it, or override it with your own `system` message.
82
- * `null` when the task has no injectable prompt (see `promptScaffold`). */
83
- get recommendedSystemPrompt(): string | null;
84
- /** Fixed-label classification endpoints: a copy-and-customize `system` prompt
85
- * template. NEVER auto-applied — the categories are yours, not the benchmark's
86
- * — so fill them in and send it as your `system` message. `null` otherwise. */
87
- get promptScaffold(): string | null;
88
- }
89
65
  declare class Task extends BaseModel {
90
66
  get id(): string | null;
91
67
  get defaultScorer(): string | null;
@@ -139,29 +115,12 @@ declare class EvalResult extends BaseModel {
139
115
  /** Per-item rows (idx/score/prediction/error); empty when not persisted. */
140
116
  get perItem(): EvalItemResult[];
141
117
  }
142
- declare class LeaderboardEntry extends BaseModel {
143
- get name(): string | null;
144
- get kind(): string | null;
145
- get quality(): number | null;
146
- get costPerRequestMicroUsd(): number | null;
147
- get contextK(): number | null;
148
- get runMode(): string | null;
149
- }
150
- /** Models ranked for a task. `recommended` is the deployable pick; `frontier` the baseline. */
151
- declare class Leaderboard extends BaseModel {
152
- get taskId(): string | null;
153
- get metric(): string | null;
154
- get costUnit(): string | null;
155
- get recommended(): string | null;
156
- get models(): LeaderboardEntry[];
157
- get frontier(): LeaderboardEntry | null;
158
- }
159
118
  /** A vendor frontier model you can evaluate against (from the eval pool). */
160
119
  declare class FrontierModel extends BaseModel {
161
120
  get id(): string | null;
162
121
  get vendor(): string | null;
163
122
  get vision(): boolean;
164
- /** Only meaningful when a task was given: it's on that task's leaderboard. */
123
+ /** Only meaningful when a task was given: it has benchmark results on that task. */
165
124
  get benchmarked(): boolean;
166
125
  }
167
126
  /**
@@ -187,9 +146,9 @@ declare class EvalRun extends BaseModel {
187
146
  /**
188
147
  * `client.chat.completions` — OpenAI-compatible chat completions.
189
148
  *
190
- * `model` is an endpoint id from `endpoints.deploy(...)` (or any model id the
191
- * caller's org can reach). The call is metered: a successful completion debits
192
- * the org's balance; a zero balance raises `InsufficientCreditsError` (402).
149
+ * `model` is `"auto"` Pareta plans, routes, and verifies each request. The
150
+ * call is metered: a successful completion debits the org's balance; a zero
151
+ * balance raises `InsufficientCreditsError` (402).
193
152
  */
194
153
 
195
154
  /** An OpenAI-style chat message. `content` is a string or content-block array. */
@@ -200,7 +159,7 @@ interface ChatMessage {
200
159
  }
201
160
  /** Params for `chat.completions.create`. Extra OpenAI params pass through. */
202
161
  interface ChatCompletionCreateParams {
203
- /** An endpoint id from `endpoints.deploy(...)`. */
162
+ /** `"auto"` Pareta routes the request to the right model. */
204
163
  model: string;
205
164
  messages: ChatMessage[];
206
165
  stream?: boolean;
@@ -230,10 +189,9 @@ declare class Chat {
230
189
  }
231
190
 
232
191
  /**
233
- * `client.models` — list the deployed models (endpoints) your org can call.
234
- *
235
- * OpenAI-compatible: only deployed, url-bearing endpoints appear. Each
236
- * `Model.id` is an endpoint id usable as `chat.completions.create({ model })`.
192
+ * `client.models` — the OpenAI-compatible `/v1/models` list of model ids your
193
+ * org can call. Each `Model.id` is usable as
194
+ * `chat.completions.create({ model })`.
237
195
  */
238
196
 
239
197
  declare class Models {
@@ -243,70 +201,8 @@ declare class Models {
243
201
  }
244
202
 
245
203
  /**
246
- * `client.endpoints` — deploy, operate, and measure deployed endpoints.
247
- *
248
- * `deploy({ task, model })` is ergonomic: Pareta picks the GPU/serving config
249
- * (you never pass hardware) and `model` defaults to the task's recommended pick.
250
- * The backend resolver behind POST /v1/endpoints evolved with the discovery
251
- * work — verify the deploy body against staging when wiring real deploys.
252
- */
253
-
254
- /** Params for `endpoints.deploy`. Extra keys pass through to the deploy body. */
255
- interface DeployParams {
256
- /** The task id to deploy a model for. */
257
- task: string;
258
- /** Model alias to deploy; defaults to "recommended" (the task's top pick). */
259
- model?: string;
260
- /** Optional endpoint name. */
261
- name?: string;
262
- /** If true, block through the deploy and resolve the live Endpoint. */
263
- wait?: boolean;
264
- [key: string]: unknown;
265
- }
266
- /**
267
- * `endpoints.metrics(id).performance()` etc. Each returns the raw metric JSON
268
- * (shapes vary by dimension; typed models arrive with the OpenAPI generation).
269
- */
270
- declare class EndpointMetrics {
271
- private readonly client;
272
- private readonly id;
273
- constructor(client: Transport, id: string);
274
- performance(params?: Record<string, unknown>): Promise<unknown>;
275
- uptime(params?: Record<string, unknown>): Promise<unknown>;
276
- cost(params?: Record<string, unknown>): Promise<unknown>;
277
- quality(params?: Record<string, unknown>): Promise<unknown>;
278
- activity(params?: Record<string, unknown>): Promise<unknown>;
279
- }
280
- declare class Endpoints {
281
- private readonly client;
282
- constructor(client: Transport);
283
- /**
284
- * Deploy a model for a task. `wait: false` (default) → an `AsyncIterable` of
285
- * progress events (`{event, data}`); the terminal event is `complete`
286
- * (`data.endpoint`) or `error`. `wait: true` → resolves the live `Endpoint`
287
- * (throws `ParetaError` on a deploy `error` event).
288
- */
289
- deploy(params: DeployParams & {
290
- wait: true;
291
- }): Promise<Endpoint>;
292
- deploy(params: DeployParams & {
293
- wait?: false;
294
- }): AsyncIterable<SSEEvent>;
295
- private waitForDeploy;
296
- list(): Promise<Endpoint[]>;
297
- retrieve(endpointId: string): Promise<Endpoint>;
298
- start(endpointId: string): Promise<unknown>;
299
- stop(endpointId: string): Promise<unknown>;
300
- delete(endpointId: string): Promise<void>;
301
- metrics(endpointId: string): EndpointMetrics;
302
- }
303
-
304
- /**
305
- * `client.tasks` — browse the benchmark catalog + match free-text intent, and
306
- * the per-task discovery surface (leaderboard / recommended).
307
- *
308
- * Unlike the Python SDK (where `leaderboard`/`recommended` exist only on the
309
- * sync client), these are present uniformly here — JS has one client.
204
+ * `client.tasks` — browse the benchmark catalog and match free-text intent to
205
+ * a task (`match` is the discovery surface: it tells you what Pareta can do).
310
206
  */
311
207
 
312
208
  declare class Tasks {
@@ -320,10 +216,6 @@ declare class Tasks {
320
216
  match(query: string, opts?: {
321
217
  topK?: number;
322
218
  }): Promise<TaskMatch>;
323
- /** Models ranked by quality/cost for a task (+ recommended + frontier baseline). */
324
- leaderboard(taskId: string): Promise<Leaderboard>;
325
- /** The task's recommended deployable model — what deploy(model:"recommended") resolves to. */
326
- recommended(taskId: string): Promise<string | null>;
327
219
  }
328
220
 
329
221
  /**
@@ -525,7 +417,6 @@ declare class Pareta implements Transport {
525
417
  private readonly fetchImpl;
526
418
  readonly chat: Chat;
527
419
  readonly models: Models;
528
- readonly endpoints: Endpoints;
529
420
  readonly tasks: Tasks;
530
421
  readonly evals: Evals;
531
422
  readonly auto: Auto;
@@ -547,12 +438,12 @@ declare class Pareta implements Transport {
547
438
  /**
548
439
  * Yield parsed SSE objects. Retries ONLY the initial connect/handshake — once
549
440
  * bytes are flowing a mid-stream drop raises (re-issuing would re-run a
550
- * metered generation / re-trigger a deploy). `events:true` → `{event,data}`.
441
+ * metered generation). `events:true` → `{event,data}`.
551
442
  */
552
443
  stream<T = unknown>(method: string, path: string, opts?: StreamOptions): AsyncGenerator<T>;
553
444
  }
554
445
 
555
- declare const VERSION = "0.1.0";
446
+ declare const VERSION = "1.0.0";
556
447
 
557
448
  /**
558
449
  * Typed error hierarchy for the Pareta SDK — a faithful port of the Python
@@ -567,7 +458,7 @@ declare const VERSION = "0.1.0";
567
458
  * 402 → InsufficientCreditsError ("organization is out of credit…")
568
459
  * 403 → PermissionDeniedError
569
460
  * 404 → NotFoundError
570
- * 409 → ConflictError (seed/legacy endpoint not deployed)
461
+ * 409 → ConflictError (resource conflict / not servable)
571
462
  * 422 → BadRequestError (FastAPI validation; `detail` is an array)
572
463
  * 429 → RateLimitError
573
464
  * 503 → EndpointNotReadyError (stopped / cold / provider down)
@@ -644,4 +535,4 @@ declare class EndpointNotReadyError extends APIStatusError {
644
535
  constructor(message: string, init: APIStatusErrorInit);
645
536
  }
646
537
 
647
- export { APIConnectionError, APIStatusError, APITimeoutError, AuthenticationError, BadRequestError, BaseModel, ChatCompletion, ChatCompletionChunk, type ChatCompletionCreateParams, type ChatMessage, Choice, ConflictError, type DeployParams, Endpoint, EndpointMetrics, EndpointNotReadyError, type ErrorDetail, EvalItemResult, EvalResult, EvalRun, type EvalRunCreateParams, EvalRuns, EvalSet, EvalSets, type FileInput, type FilePart, FrontierModel, type FrontierSpec, InsufficientCreditsError, Leaderboard, LeaderboardEntry, Message, Model, ModelList, NotFoundError, Pareta, ParetaError, type ParetaOptions, PermissionDeniedError, RateLimitError, type SSEEvent, Task, TaskMatch, TaskMatchCandidate, type Transport, Usage, VERSION, type ValidationErrorItem };
538
+ export { APIConnectionError, APIStatusError, APITimeoutError, AuthenticationError, BadRequestError, BaseModel, ChatCompletion, ChatCompletionChunk, type ChatCompletionCreateParams, type ChatMessage, Choice, ConflictError, EndpointNotReadyError, type ErrorDetail, EvalItemResult, EvalResult, EvalRun, type EvalRunCreateParams, EvalRuns, EvalSet, EvalSets, type FileInput, type FilePart, FrontierModel, type FrontierSpec, InsufficientCreditsError, Message, Model, ModelList, NotFoundError, Pareta, ParetaError, type ParetaOptions, PermissionDeniedError, RateLimitError, type SSEEvent, Task, TaskMatch, TaskMatchCandidate, type Transport, Usage, VERSION, type ValidationErrorItem };