@orq-ai/node 3.2.0-rc.34 → 3.2.0-rc.36
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/bin/mcp-server.js +631 -299
- package/bin/mcp-server.js.map +20 -20
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/deploymentcreatemetric.d.ts +850 -215
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +867 -214
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +262 -190
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +280 -218
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/deploymentcreatemetric.ts +2944 -1326
- package/src/models/operations/deploymentinvoke.ts +458 -407
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
|
@@ -324,101 +324,299 @@ export type DeploymentCreateMetricMessagesDeveloperMessage = {
|
|
|
324
324
|
};
|
|
325
325
|
export type DeploymentCreateMetricMessages = DeploymentCreateMetricMessagesDeveloperMessage | DeploymentCreateMetricMessagesSystemMessage | DeploymentCreateMetricMessagesUserMessage | DeploymentCreateMetricMessagesToolMessage | DeploymentCreateMetricMessagesAssistantMessage;
|
|
326
326
|
/**
|
|
327
|
-
* The role of the
|
|
327
|
+
* The role of the messages author, in this case tool.
|
|
328
328
|
*/
|
|
329
|
-
export declare const
|
|
330
|
-
readonly System: "system";
|
|
331
|
-
readonly Assistant: "assistant";
|
|
332
|
-
readonly User: "user";
|
|
333
|
-
readonly Exception: "exception";
|
|
329
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole: {
|
|
334
330
|
readonly Tool: "tool";
|
|
335
|
-
readonly Prompt: "prompt";
|
|
336
|
-
readonly Correction: "correction";
|
|
337
|
-
readonly ExpectedOutput: "expected_output";
|
|
338
331
|
};
|
|
339
332
|
/**
|
|
340
|
-
* The role of the
|
|
333
|
+
* The role of the messages author, in this case tool.
|
|
334
|
+
*/
|
|
335
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole = ClosedEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole>;
|
|
336
|
+
/**
|
|
337
|
+
* The contents of the tool message.
|
|
341
338
|
*/
|
|
342
|
-
export type
|
|
343
|
-
export type
|
|
339
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsContent = string | Array<string>;
|
|
340
|
+
export type ChoicesToolMessage = {
|
|
344
341
|
/**
|
|
345
|
-
* The role of the
|
|
342
|
+
* The role of the messages author, in this case tool.
|
|
346
343
|
*/
|
|
347
|
-
role:
|
|
348
|
-
|
|
344
|
+
role: DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole;
|
|
345
|
+
/**
|
|
346
|
+
* The contents of the tool message.
|
|
347
|
+
*/
|
|
348
|
+
content: string | Array<string>;
|
|
349
|
+
/**
|
|
350
|
+
* Tool call that this message is responding to.
|
|
351
|
+
*/
|
|
352
|
+
toolCallId: string;
|
|
349
353
|
};
|
|
350
354
|
/**
|
|
351
|
-
* The
|
|
355
|
+
* The type of the content part.
|
|
352
356
|
*/
|
|
353
|
-
export declare const
|
|
354
|
-
readonly
|
|
355
|
-
readonly Assistant: "assistant";
|
|
356
|
-
readonly User: "user";
|
|
357
|
-
readonly Exception: "exception";
|
|
358
|
-
readonly Tool: "tool";
|
|
359
|
-
readonly Prompt: "prompt";
|
|
360
|
-
readonly Correction: "correction";
|
|
361
|
-
readonly ExpectedOutput: "expected_output";
|
|
357
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType: {
|
|
358
|
+
readonly Refusal: "refusal";
|
|
362
359
|
};
|
|
363
360
|
/**
|
|
364
|
-
* The
|
|
361
|
+
* The type of the content part.
|
|
365
362
|
*/
|
|
366
|
-
export type
|
|
367
|
-
export type
|
|
363
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
|
|
364
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart = {
|
|
365
|
+
/**
|
|
366
|
+
* The type of the content part.
|
|
367
|
+
*/
|
|
368
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType;
|
|
368
369
|
/**
|
|
369
|
-
* The
|
|
370
|
+
* The refusal message generated by the model.
|
|
370
371
|
*/
|
|
371
|
-
|
|
372
|
-
content: string | null;
|
|
372
|
+
refusal: string;
|
|
373
373
|
};
|
|
374
374
|
/**
|
|
375
|
-
* The
|
|
375
|
+
* The type of the content part.
|
|
376
376
|
*/
|
|
377
|
-
export declare const
|
|
378
|
-
readonly
|
|
377
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type: {
|
|
378
|
+
readonly Text: "text";
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* The type of the content part.
|
|
382
|
+
*/
|
|
383
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type>;
|
|
384
|
+
export type DeploymentCreateMetric2DeploymentsMetricsTextContentPart = {
|
|
385
|
+
/**
|
|
386
|
+
* The type of the content part.
|
|
387
|
+
*/
|
|
388
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type;
|
|
389
|
+
/**
|
|
390
|
+
* The text content.
|
|
391
|
+
*/
|
|
392
|
+
text: string;
|
|
393
|
+
};
|
|
394
|
+
export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2 = DeploymentCreateMetric2DeploymentsMetricsTextContentPart | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart;
|
|
395
|
+
/**
|
|
396
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
397
|
+
*/
|
|
398
|
+
export type DeploymentCreateMetricChoicesContent = string | Array<DeploymentCreateMetric2DeploymentsMetricsTextContentPart | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart>;
|
|
399
|
+
/**
|
|
400
|
+
* The role of the messages author, in this case `assistant`.
|
|
401
|
+
*/
|
|
402
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole: {
|
|
379
403
|
readonly Assistant: "assistant";
|
|
380
|
-
readonly User: "user";
|
|
381
|
-
readonly Exception: "exception";
|
|
382
|
-
readonly Tool: "tool";
|
|
383
|
-
readonly Prompt: "prompt";
|
|
384
|
-
readonly Correction: "correction";
|
|
385
|
-
readonly ExpectedOutput: "expected_output";
|
|
386
404
|
};
|
|
387
405
|
/**
|
|
388
|
-
* The role of the
|
|
406
|
+
* The role of the messages author, in this case `assistant`.
|
|
407
|
+
*/
|
|
408
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole = ClosedEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole>;
|
|
409
|
+
/**
|
|
410
|
+
* Data about a previous audio response from the model.
|
|
411
|
+
*/
|
|
412
|
+
export type ChoicesAudio = {
|
|
413
|
+
/**
|
|
414
|
+
* Unique identifier for a previous audio response from the model.
|
|
415
|
+
*/
|
|
416
|
+
id: string;
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
389
420
|
*/
|
|
390
|
-
export
|
|
391
|
-
export declare const MessageType: {
|
|
421
|
+
export declare const ChoicesType: {
|
|
392
422
|
readonly Function: "function";
|
|
393
423
|
};
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
424
|
+
/**
|
|
425
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
426
|
+
*/
|
|
427
|
+
export type ChoicesType = ClosedEnum<typeof ChoicesType>;
|
|
428
|
+
export type ChoicesFunction = {
|
|
429
|
+
/**
|
|
430
|
+
* The name of the function to call.
|
|
431
|
+
*/
|
|
432
|
+
name?: string | undefined;
|
|
397
433
|
/**
|
|
398
|
-
* JSON
|
|
434
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
399
435
|
*/
|
|
400
|
-
arguments
|
|
436
|
+
arguments?: string | undefined;
|
|
401
437
|
};
|
|
402
|
-
export type
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
438
|
+
export type ChoicesToolCalls = {
|
|
439
|
+
/**
|
|
440
|
+
* The ID of the tool call.
|
|
441
|
+
*/
|
|
442
|
+
id: string;
|
|
443
|
+
/**
|
|
444
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
445
|
+
*/
|
|
446
|
+
type: ChoicesType;
|
|
447
|
+
function: ChoicesFunction;
|
|
407
448
|
};
|
|
408
|
-
export type
|
|
449
|
+
export type ChoicesAssistantMessage = {
|
|
450
|
+
/**
|
|
451
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
452
|
+
*/
|
|
453
|
+
content?: string | Array<DeploymentCreateMetric2DeploymentsMetricsTextContentPart | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart> | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* The refusal message by the assistant.
|
|
456
|
+
*/
|
|
457
|
+
refusal?: string | null | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* The role of the messages author, in this case `assistant`.
|
|
460
|
+
*/
|
|
461
|
+
role: DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole;
|
|
409
462
|
/**
|
|
410
|
-
*
|
|
463
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
411
464
|
*/
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
465
|
+
name?: string | undefined;
|
|
466
|
+
/**
|
|
467
|
+
* Data about a previous audio response from the model.
|
|
468
|
+
*/
|
|
469
|
+
audio?: ChoicesAudio | null | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* The tool calls generated by the model, such as function calls.
|
|
472
|
+
*/
|
|
473
|
+
toolCalls?: Array<ChoicesToolCalls> | undefined;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* The role of the messages author, in this case `user`.
|
|
477
|
+
*/
|
|
478
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRole: {
|
|
479
|
+
readonly User: "user";
|
|
415
480
|
};
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
481
|
+
/**
|
|
482
|
+
* The role of the messages author, in this case `user`.
|
|
483
|
+
*/
|
|
484
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsRole = ClosedEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRole>;
|
|
485
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType: {
|
|
486
|
+
readonly InputAudio: "input_audio";
|
|
421
487
|
};
|
|
488
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType>;
|
|
489
|
+
/**
|
|
490
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
491
|
+
*/
|
|
492
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsFormat: {
|
|
493
|
+
readonly Mp3: "mp3";
|
|
494
|
+
readonly Wav: "wav";
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
498
|
+
*/
|
|
499
|
+
export type DeploymentCreateMetric2DeploymentsMetricsFormat = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsFormat>;
|
|
500
|
+
export type DeploymentCreateMetric2DeploymentsMetricsInputAudio = {
|
|
501
|
+
/**
|
|
502
|
+
* Base64 encoded audio data.
|
|
503
|
+
*/
|
|
504
|
+
data: string;
|
|
505
|
+
/**
|
|
506
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
507
|
+
*/
|
|
508
|
+
format: DeploymentCreateMetric2DeploymentsMetricsFormat;
|
|
509
|
+
};
|
|
510
|
+
export type DeploymentCreateMetric2DeploymentsMetrics3 = {
|
|
511
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType;
|
|
512
|
+
inputAudio: DeploymentCreateMetric2DeploymentsMetricsInputAudio;
|
|
513
|
+
};
|
|
514
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type: {
|
|
515
|
+
readonly ImageUrl: "image_url";
|
|
516
|
+
};
|
|
517
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
|
|
518
|
+
/**
|
|
519
|
+
* Specifies the detail level of the image.
|
|
520
|
+
*/
|
|
521
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsDetail: {
|
|
522
|
+
readonly Low: "low";
|
|
523
|
+
readonly High: "high";
|
|
524
|
+
readonly Auto: "auto";
|
|
525
|
+
};
|
|
526
|
+
/**
|
|
527
|
+
* Specifies the detail level of the image.
|
|
528
|
+
*/
|
|
529
|
+
export type DeploymentCreateMetric2DeploymentsMetricsDetail = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsDetail>;
|
|
530
|
+
export type DeploymentCreateMetric2DeploymentsMetricsImageUrl = {
|
|
531
|
+
/**
|
|
532
|
+
* Either a URL of the image or the base64 encoded image data.
|
|
533
|
+
*/
|
|
534
|
+
url: string;
|
|
535
|
+
/**
|
|
536
|
+
* Specifies the detail level of the image.
|
|
537
|
+
*/
|
|
538
|
+
detail?: DeploymentCreateMetric2DeploymentsMetricsDetail | undefined;
|
|
539
|
+
};
|
|
540
|
+
export type DeploymentCreateMetric2DeploymentsMetrics2 = {
|
|
541
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type;
|
|
542
|
+
imageUrl: DeploymentCreateMetric2DeploymentsMetricsImageUrl;
|
|
543
|
+
};
|
|
544
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType: {
|
|
545
|
+
readonly Text: "text";
|
|
546
|
+
};
|
|
547
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType>;
|
|
548
|
+
export type DeploymentCreateMetric2DeploymentsMetrics1 = {
|
|
549
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType;
|
|
550
|
+
text: string;
|
|
551
|
+
};
|
|
552
|
+
export type DeploymentCreateMetricContentDeploymentsMetricsRequest2 = DeploymentCreateMetric2DeploymentsMetrics1 | DeploymentCreateMetric2DeploymentsMetrics2 | DeploymentCreateMetric2DeploymentsMetrics3;
|
|
553
|
+
/**
|
|
554
|
+
* The contents of the user message.
|
|
555
|
+
*/
|
|
556
|
+
export type ChoicesContent = string | Array<DeploymentCreateMetric2DeploymentsMetrics1 | DeploymentCreateMetric2DeploymentsMetrics2 | DeploymentCreateMetric2DeploymentsMetrics3>;
|
|
557
|
+
export type ChoicesUserMessage = {
|
|
558
|
+
/**
|
|
559
|
+
* The role of the messages author, in this case `user`.
|
|
560
|
+
*/
|
|
561
|
+
role: DeploymentCreateMetricChoicesDeploymentsMetricsRole;
|
|
562
|
+
/**
|
|
563
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
564
|
+
*/
|
|
565
|
+
name?: string | undefined;
|
|
566
|
+
/**
|
|
567
|
+
* The contents of the user message.
|
|
568
|
+
*/
|
|
569
|
+
content: string | Array<DeploymentCreateMetric2DeploymentsMetrics1 | DeploymentCreateMetric2DeploymentsMetrics2 | DeploymentCreateMetric2DeploymentsMetrics3>;
|
|
570
|
+
};
|
|
571
|
+
/**
|
|
572
|
+
* The role of the messages author, in this case `system`.
|
|
573
|
+
*/
|
|
574
|
+
export declare const DeploymentCreateMetricChoicesRole: {
|
|
575
|
+
readonly System: "system";
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* The role of the messages author, in this case `system`.
|
|
579
|
+
*/
|
|
580
|
+
export type DeploymentCreateMetricChoicesRole = ClosedEnum<typeof DeploymentCreateMetricChoicesRole>;
|
|
581
|
+
export type ChoicesSystemMessage = {
|
|
582
|
+
/**
|
|
583
|
+
* The role of the messages author, in this case `system`.
|
|
584
|
+
*/
|
|
585
|
+
role: DeploymentCreateMetricChoicesRole;
|
|
586
|
+
/**
|
|
587
|
+
* The contents of the system message.
|
|
588
|
+
*/
|
|
589
|
+
content: string;
|
|
590
|
+
/**
|
|
591
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
592
|
+
*/
|
|
593
|
+
name?: string | undefined;
|
|
594
|
+
};
|
|
595
|
+
/**
|
|
596
|
+
* The role of the messages author, in this case `developer`.
|
|
597
|
+
*/
|
|
598
|
+
export declare const ChoicesRole: {
|
|
599
|
+
readonly Developer: "developer";
|
|
600
|
+
};
|
|
601
|
+
/**
|
|
602
|
+
* The role of the messages author, in this case `developer`.
|
|
603
|
+
*/
|
|
604
|
+
export type ChoicesRole = ClosedEnum<typeof ChoicesRole>;
|
|
605
|
+
export type ChoicesDeveloperMessage = {
|
|
606
|
+
/**
|
|
607
|
+
* The role of the messages author, in this case `developer`.
|
|
608
|
+
*/
|
|
609
|
+
role: ChoicesRole;
|
|
610
|
+
/**
|
|
611
|
+
* The contents of the developer message.
|
|
612
|
+
*/
|
|
613
|
+
content: string;
|
|
614
|
+
/**
|
|
615
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
616
|
+
*/
|
|
617
|
+
name?: string | undefined;
|
|
618
|
+
};
|
|
619
|
+
export type Choices = ChoicesDeveloperMessage | ChoicesSystemMessage | ChoicesUserMessage | ChoicesToolMessage | ChoicesAssistantMessage;
|
|
422
620
|
/**
|
|
423
621
|
* Feedback from the user on the completion
|
|
424
622
|
*/
|
|
@@ -450,7 +648,7 @@ export type DeploymentCreateMetricRequestBody = {
|
|
|
450
648
|
/**
|
|
451
649
|
* A list of completion choices. If you are using a `completion` model then you must provide the `completion content` with the chat completion format
|
|
452
650
|
*/
|
|
453
|
-
choices?: Array<
|
|
651
|
+
choices?: Array<ChoicesDeveloperMessage | ChoicesSystemMessage | ChoicesUserMessage | ChoicesToolMessage | ChoicesAssistantMessage> | undefined;
|
|
454
652
|
/**
|
|
455
653
|
* Feedback from the user on the completion
|
|
456
654
|
*/
|
|
@@ -1236,265 +1434,702 @@ export declare namespace DeploymentCreateMetricMessages$ {
|
|
|
1236
1434
|
export declare function deploymentCreateMetricMessagesToJSON(deploymentCreateMetricMessages: DeploymentCreateMetricMessages): string;
|
|
1237
1435
|
export declare function deploymentCreateMetricMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricMessages, SDKValidationError>;
|
|
1238
1436
|
/** @internal */
|
|
1239
|
-
export declare const
|
|
1437
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole>;
|
|
1240
1438
|
/** @internal */
|
|
1241
|
-
export declare const
|
|
1439
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole>;
|
|
1242
1440
|
/**
|
|
1243
1441
|
* @internal
|
|
1244
1442
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1245
1443
|
*/
|
|
1246
|
-
export declare namespace
|
|
1247
|
-
/** @deprecated use `
|
|
1444
|
+
export declare namespace DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$ {
|
|
1445
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$inboundSchema` instead. */
|
|
1248
1446
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1249
|
-
readonly System: "system";
|
|
1250
|
-
readonly Assistant: "assistant";
|
|
1251
|
-
readonly User: "user";
|
|
1252
|
-
readonly Exception: "exception";
|
|
1253
1447
|
readonly Tool: "tool";
|
|
1254
|
-
readonly Prompt: "prompt";
|
|
1255
|
-
readonly Correction: "correction";
|
|
1256
|
-
readonly ExpectedOutput: "expected_output";
|
|
1257
1448
|
}>;
|
|
1258
|
-
/** @deprecated use `
|
|
1449
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$outboundSchema` instead. */
|
|
1259
1450
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1260
|
-
readonly System: "system";
|
|
1261
|
-
readonly Assistant: "assistant";
|
|
1262
|
-
readonly User: "user";
|
|
1263
|
-
readonly Exception: "exception";
|
|
1264
1451
|
readonly Tool: "tool";
|
|
1265
|
-
readonly Prompt: "prompt";
|
|
1266
|
-
readonly Correction: "correction";
|
|
1267
|
-
readonly ExpectedOutput: "expected_output";
|
|
1268
1452
|
}>;
|
|
1269
1453
|
}
|
|
1270
1454
|
/** @internal */
|
|
1271
|
-
export declare const
|
|
1455
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsContent$inboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent, z.ZodTypeDef, unknown>;
|
|
1272
1456
|
/** @internal */
|
|
1273
|
-
export type
|
|
1457
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound = string | Array<string>;
|
|
1458
|
+
/** @internal */
|
|
1459
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsContent$outboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesDeploymentsMetricsContent>;
|
|
1460
|
+
/**
|
|
1461
|
+
* @internal
|
|
1462
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1463
|
+
*/
|
|
1464
|
+
export declare namespace DeploymentCreateMetricChoicesDeploymentsMetricsContent$ {
|
|
1465
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsContent$inboundSchema` instead. */
|
|
1466
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent, z.ZodTypeDef, unknown>;
|
|
1467
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsContent$outboundSchema` instead. */
|
|
1468
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesDeploymentsMetricsContent>;
|
|
1469
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound` instead. */
|
|
1470
|
+
type Outbound = DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound;
|
|
1471
|
+
}
|
|
1472
|
+
export declare function deploymentCreateMetricChoicesDeploymentsMetricsContentToJSON(deploymentCreateMetricChoicesDeploymentsMetricsContent: DeploymentCreateMetricChoicesDeploymentsMetricsContent): string;
|
|
1473
|
+
export declare function deploymentCreateMetricChoicesDeploymentsMetricsContentFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricChoicesDeploymentsMetricsContent, SDKValidationError>;
|
|
1474
|
+
/** @internal */
|
|
1475
|
+
export declare const ChoicesToolMessage$inboundSchema: z.ZodType<ChoicesToolMessage, z.ZodTypeDef, unknown>;
|
|
1476
|
+
/** @internal */
|
|
1477
|
+
export type ChoicesToolMessage$Outbound = {
|
|
1274
1478
|
role: string;
|
|
1275
|
-
|
|
1479
|
+
content: string | Array<string>;
|
|
1480
|
+
tool_call_id: string;
|
|
1276
1481
|
};
|
|
1277
1482
|
/** @internal */
|
|
1278
|
-
export declare const
|
|
1483
|
+
export declare const ChoicesToolMessage$outboundSchema: z.ZodType<ChoicesToolMessage$Outbound, z.ZodTypeDef, ChoicesToolMessage>;
|
|
1279
1484
|
/**
|
|
1280
1485
|
* @internal
|
|
1281
1486
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1282
1487
|
*/
|
|
1283
|
-
export declare namespace
|
|
1284
|
-
/** @deprecated use `
|
|
1285
|
-
const inboundSchema: z.ZodType<
|
|
1286
|
-
/** @deprecated use `
|
|
1287
|
-
const outboundSchema: z.ZodType<
|
|
1288
|
-
/** @deprecated use `
|
|
1289
|
-
type Outbound =
|
|
1488
|
+
export declare namespace ChoicesToolMessage$ {
|
|
1489
|
+
/** @deprecated use `ChoicesToolMessage$inboundSchema` instead. */
|
|
1490
|
+
const inboundSchema: z.ZodType<ChoicesToolMessage, z.ZodTypeDef, unknown>;
|
|
1491
|
+
/** @deprecated use `ChoicesToolMessage$outboundSchema` instead. */
|
|
1492
|
+
const outboundSchema: z.ZodType<ChoicesToolMessage$Outbound, z.ZodTypeDef, ChoicesToolMessage>;
|
|
1493
|
+
/** @deprecated use `ChoicesToolMessage$Outbound` instead. */
|
|
1494
|
+
type Outbound = ChoicesToolMessage$Outbound;
|
|
1290
1495
|
}
|
|
1291
|
-
export declare function
|
|
1292
|
-
export declare function
|
|
1496
|
+
export declare function choicesToolMessageToJSON(choicesToolMessage: ChoicesToolMessage): string;
|
|
1497
|
+
export declare function choicesToolMessageFromJSON(jsonString: string): SafeParseResult<ChoicesToolMessage, SDKValidationError>;
|
|
1293
1498
|
/** @internal */
|
|
1294
|
-
export declare const
|
|
1499
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
|
|
1295
1500
|
/** @internal */
|
|
1296
|
-
export declare const
|
|
1501
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
|
|
1297
1502
|
/**
|
|
1298
1503
|
* @internal
|
|
1299
1504
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1300
1505
|
*/
|
|
1301
|
-
export declare namespace
|
|
1302
|
-
/** @deprecated use `
|
|
1506
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$ {
|
|
1507
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$inboundSchema` instead. */
|
|
1508
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1509
|
+
readonly Refusal: "refusal";
|
|
1510
|
+
}>;
|
|
1511
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$outboundSchema` instead. */
|
|
1512
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1513
|
+
readonly Refusal: "refusal";
|
|
1514
|
+
}>;
|
|
1515
|
+
}
|
|
1516
|
+
/** @internal */
|
|
1517
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1518
|
+
/** @internal */
|
|
1519
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound = {
|
|
1520
|
+
type: string;
|
|
1521
|
+
refusal: string;
|
|
1522
|
+
};
|
|
1523
|
+
/** @internal */
|
|
1524
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart>;
|
|
1525
|
+
/**
|
|
1526
|
+
* @internal
|
|
1527
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1528
|
+
*/
|
|
1529
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$ {
|
|
1530
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$inboundSchema` instead. */
|
|
1531
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1532
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$outboundSchema` instead. */
|
|
1533
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart>;
|
|
1534
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound` instead. */
|
|
1535
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound;
|
|
1536
|
+
}
|
|
1537
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsRefusalContentPartToJSON(deploymentCreateMetric2DeploymentsMetricsRefusalContentPart: DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart): string;
|
|
1538
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsRefusalContentPartFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart, SDKValidationError>;
|
|
1539
|
+
/** @internal */
|
|
1540
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type>;
|
|
1541
|
+
/** @internal */
|
|
1542
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type>;
|
|
1543
|
+
/**
|
|
1544
|
+
* @internal
|
|
1545
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1546
|
+
*/
|
|
1547
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$ {
|
|
1548
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$inboundSchema` instead. */
|
|
1549
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1550
|
+
readonly Text: "text";
|
|
1551
|
+
}>;
|
|
1552
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$outboundSchema` instead. */
|
|
1553
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1554
|
+
readonly Text: "text";
|
|
1555
|
+
}>;
|
|
1556
|
+
}
|
|
1557
|
+
/** @internal */
|
|
1558
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsTextContentPart$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsTextContentPart, z.ZodTypeDef, unknown>;
|
|
1559
|
+
/** @internal */
|
|
1560
|
+
export type DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound = {
|
|
1561
|
+
type: string;
|
|
1562
|
+
text: string;
|
|
1563
|
+
};
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsTextContentPart$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsTextContentPart>;
|
|
1566
|
+
/**
|
|
1567
|
+
* @internal
|
|
1568
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1569
|
+
*/
|
|
1570
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsTextContentPart$ {
|
|
1571
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsTextContentPart$inboundSchema` instead. */
|
|
1572
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsTextContentPart, z.ZodTypeDef, unknown>;
|
|
1573
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsTextContentPart$outboundSchema` instead. */
|
|
1574
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsTextContentPart>;
|
|
1575
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound` instead. */
|
|
1576
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound;
|
|
1577
|
+
}
|
|
1578
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsTextContentPartToJSON(deploymentCreateMetric2DeploymentsMetricsTextContentPart: DeploymentCreateMetric2DeploymentsMetricsTextContentPart): string;
|
|
1579
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsTextContentPartFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsTextContentPart, SDKValidationError>;
|
|
1580
|
+
/** @internal */
|
|
1581
|
+
export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1582
|
+
/** @internal */
|
|
1583
|
+
export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound = DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound;
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2>;
|
|
1586
|
+
/**
|
|
1587
|
+
* @internal
|
|
1588
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1589
|
+
*/
|
|
1590
|
+
export declare namespace DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$ {
|
|
1591
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$inboundSchema` instead. */
|
|
1592
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1593
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$outboundSchema` instead. */
|
|
1594
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2>;
|
|
1595
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound` instead. */
|
|
1596
|
+
type Outbound = DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound;
|
|
1597
|
+
}
|
|
1598
|
+
export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2): string;
|
|
1599
|
+
export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, SDKValidationError>;
|
|
1600
|
+
/** @internal */
|
|
1601
|
+
export declare const DeploymentCreateMetricChoicesContent$inboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent, z.ZodTypeDef, unknown>;
|
|
1602
|
+
/** @internal */
|
|
1603
|
+
export type DeploymentCreateMetricChoicesContent$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound>;
|
|
1604
|
+
/** @internal */
|
|
1605
|
+
export declare const DeploymentCreateMetricChoicesContent$outboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesContent>;
|
|
1606
|
+
/**
|
|
1607
|
+
* @internal
|
|
1608
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1609
|
+
*/
|
|
1610
|
+
export declare namespace DeploymentCreateMetricChoicesContent$ {
|
|
1611
|
+
/** @deprecated use `DeploymentCreateMetricChoicesContent$inboundSchema` instead. */
|
|
1612
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent, z.ZodTypeDef, unknown>;
|
|
1613
|
+
/** @deprecated use `DeploymentCreateMetricChoicesContent$outboundSchema` instead. */
|
|
1614
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesContent>;
|
|
1615
|
+
/** @deprecated use `DeploymentCreateMetricChoicesContent$Outbound` instead. */
|
|
1616
|
+
type Outbound = DeploymentCreateMetricChoicesContent$Outbound;
|
|
1617
|
+
}
|
|
1618
|
+
export declare function deploymentCreateMetricChoicesContentToJSON(deploymentCreateMetricChoicesContent: DeploymentCreateMetricChoicesContent): string;
|
|
1619
|
+
export declare function deploymentCreateMetricChoicesContentFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricChoicesContent, SDKValidationError>;
|
|
1620
|
+
/** @internal */
|
|
1621
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole>;
|
|
1622
|
+
/** @internal */
|
|
1623
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole>;
|
|
1624
|
+
/**
|
|
1625
|
+
* @internal
|
|
1626
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1627
|
+
*/
|
|
1628
|
+
export declare namespace DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$ {
|
|
1629
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$inboundSchema` instead. */
|
|
1303
1630
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1304
|
-
readonly System: "system";
|
|
1305
1631
|
readonly Assistant: "assistant";
|
|
1306
|
-
readonly User: "user";
|
|
1307
|
-
readonly Exception: "exception";
|
|
1308
|
-
readonly Tool: "tool";
|
|
1309
|
-
readonly Prompt: "prompt";
|
|
1310
|
-
readonly Correction: "correction";
|
|
1311
|
-
readonly ExpectedOutput: "expected_output";
|
|
1312
1632
|
}>;
|
|
1313
|
-
/** @deprecated use `
|
|
1633
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$outboundSchema` instead. */
|
|
1314
1634
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1315
|
-
readonly System: "system";
|
|
1316
1635
|
readonly Assistant: "assistant";
|
|
1317
|
-
readonly User: "user";
|
|
1318
|
-
readonly Exception: "exception";
|
|
1319
|
-
readonly Tool: "tool";
|
|
1320
|
-
readonly Prompt: "prompt";
|
|
1321
|
-
readonly Correction: "correction";
|
|
1322
|
-
readonly ExpectedOutput: "expected_output";
|
|
1323
1636
|
}>;
|
|
1324
1637
|
}
|
|
1325
1638
|
/** @internal */
|
|
1326
|
-
export declare const
|
|
1639
|
+
export declare const ChoicesAudio$inboundSchema: z.ZodType<ChoicesAudio, z.ZodTypeDef, unknown>;
|
|
1640
|
+
/** @internal */
|
|
1641
|
+
export type ChoicesAudio$Outbound = {
|
|
1642
|
+
id: string;
|
|
1643
|
+
};
|
|
1644
|
+
/** @internal */
|
|
1645
|
+
export declare const ChoicesAudio$outboundSchema: z.ZodType<ChoicesAudio$Outbound, z.ZodTypeDef, ChoicesAudio>;
|
|
1646
|
+
/**
|
|
1647
|
+
* @internal
|
|
1648
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1649
|
+
*/
|
|
1650
|
+
export declare namespace ChoicesAudio$ {
|
|
1651
|
+
/** @deprecated use `ChoicesAudio$inboundSchema` instead. */
|
|
1652
|
+
const inboundSchema: z.ZodType<ChoicesAudio, z.ZodTypeDef, unknown>;
|
|
1653
|
+
/** @deprecated use `ChoicesAudio$outboundSchema` instead. */
|
|
1654
|
+
const outboundSchema: z.ZodType<ChoicesAudio$Outbound, z.ZodTypeDef, ChoicesAudio>;
|
|
1655
|
+
/** @deprecated use `ChoicesAudio$Outbound` instead. */
|
|
1656
|
+
type Outbound = ChoicesAudio$Outbound;
|
|
1657
|
+
}
|
|
1658
|
+
export declare function choicesAudioToJSON(choicesAudio: ChoicesAudio): string;
|
|
1659
|
+
export declare function choicesAudioFromJSON(jsonString: string): SafeParseResult<ChoicesAudio, SDKValidationError>;
|
|
1660
|
+
/** @internal */
|
|
1661
|
+
export declare const ChoicesType$inboundSchema: z.ZodNativeEnum<typeof ChoicesType>;
|
|
1662
|
+
/** @internal */
|
|
1663
|
+
export declare const ChoicesType$outboundSchema: z.ZodNativeEnum<typeof ChoicesType>;
|
|
1664
|
+
/**
|
|
1665
|
+
* @internal
|
|
1666
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1667
|
+
*/
|
|
1668
|
+
export declare namespace ChoicesType$ {
|
|
1669
|
+
/** @deprecated use `ChoicesType$inboundSchema` instead. */
|
|
1670
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1671
|
+
readonly Function: "function";
|
|
1672
|
+
}>;
|
|
1673
|
+
/** @deprecated use `ChoicesType$outboundSchema` instead. */
|
|
1674
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1675
|
+
readonly Function: "function";
|
|
1676
|
+
}>;
|
|
1677
|
+
}
|
|
1327
1678
|
/** @internal */
|
|
1328
|
-
export
|
|
1679
|
+
export declare const ChoicesFunction$inboundSchema: z.ZodType<ChoicesFunction, z.ZodTypeDef, unknown>;
|
|
1680
|
+
/** @internal */
|
|
1681
|
+
export type ChoicesFunction$Outbound = {
|
|
1682
|
+
name?: string | undefined;
|
|
1683
|
+
arguments?: string | undefined;
|
|
1684
|
+
};
|
|
1685
|
+
/** @internal */
|
|
1686
|
+
export declare const ChoicesFunction$outboundSchema: z.ZodType<ChoicesFunction$Outbound, z.ZodTypeDef, ChoicesFunction>;
|
|
1687
|
+
/**
|
|
1688
|
+
* @internal
|
|
1689
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1690
|
+
*/
|
|
1691
|
+
export declare namespace ChoicesFunction$ {
|
|
1692
|
+
/** @deprecated use `ChoicesFunction$inboundSchema` instead. */
|
|
1693
|
+
const inboundSchema: z.ZodType<ChoicesFunction, z.ZodTypeDef, unknown>;
|
|
1694
|
+
/** @deprecated use `ChoicesFunction$outboundSchema` instead. */
|
|
1695
|
+
const outboundSchema: z.ZodType<ChoicesFunction$Outbound, z.ZodTypeDef, ChoicesFunction>;
|
|
1696
|
+
/** @deprecated use `ChoicesFunction$Outbound` instead. */
|
|
1697
|
+
type Outbound = ChoicesFunction$Outbound;
|
|
1698
|
+
}
|
|
1699
|
+
export declare function choicesFunctionToJSON(choicesFunction: ChoicesFunction): string;
|
|
1700
|
+
export declare function choicesFunctionFromJSON(jsonString: string): SafeParseResult<ChoicesFunction, SDKValidationError>;
|
|
1701
|
+
/** @internal */
|
|
1702
|
+
export declare const ChoicesToolCalls$inboundSchema: z.ZodType<ChoicesToolCalls, z.ZodTypeDef, unknown>;
|
|
1703
|
+
/** @internal */
|
|
1704
|
+
export type ChoicesToolCalls$Outbound = {
|
|
1705
|
+
id: string;
|
|
1706
|
+
type: string;
|
|
1707
|
+
function: ChoicesFunction$Outbound;
|
|
1708
|
+
};
|
|
1709
|
+
/** @internal */
|
|
1710
|
+
export declare const ChoicesToolCalls$outboundSchema: z.ZodType<ChoicesToolCalls$Outbound, z.ZodTypeDef, ChoicesToolCalls>;
|
|
1711
|
+
/**
|
|
1712
|
+
* @internal
|
|
1713
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1714
|
+
*/
|
|
1715
|
+
export declare namespace ChoicesToolCalls$ {
|
|
1716
|
+
/** @deprecated use `ChoicesToolCalls$inboundSchema` instead. */
|
|
1717
|
+
const inboundSchema: z.ZodType<ChoicesToolCalls, z.ZodTypeDef, unknown>;
|
|
1718
|
+
/** @deprecated use `ChoicesToolCalls$outboundSchema` instead. */
|
|
1719
|
+
const outboundSchema: z.ZodType<ChoicesToolCalls$Outbound, z.ZodTypeDef, ChoicesToolCalls>;
|
|
1720
|
+
/** @deprecated use `ChoicesToolCalls$Outbound` instead. */
|
|
1721
|
+
type Outbound = ChoicesToolCalls$Outbound;
|
|
1722
|
+
}
|
|
1723
|
+
export declare function choicesToolCallsToJSON(choicesToolCalls: ChoicesToolCalls): string;
|
|
1724
|
+
export declare function choicesToolCallsFromJSON(jsonString: string): SafeParseResult<ChoicesToolCalls, SDKValidationError>;
|
|
1725
|
+
/** @internal */
|
|
1726
|
+
export declare const ChoicesAssistantMessage$inboundSchema: z.ZodType<ChoicesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1727
|
+
/** @internal */
|
|
1728
|
+
export type ChoicesAssistantMessage$Outbound = {
|
|
1729
|
+
content?: string | Array<DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound> | undefined;
|
|
1730
|
+
refusal?: string | null | undefined;
|
|
1329
1731
|
role: string;
|
|
1330
|
-
|
|
1732
|
+
name?: string | undefined;
|
|
1733
|
+
audio?: ChoicesAudio$Outbound | null | undefined;
|
|
1734
|
+
tool_calls?: Array<ChoicesToolCalls$Outbound> | undefined;
|
|
1331
1735
|
};
|
|
1332
1736
|
/** @internal */
|
|
1333
|
-
export declare const
|
|
1737
|
+
export declare const ChoicesAssistantMessage$outboundSchema: z.ZodType<ChoicesAssistantMessage$Outbound, z.ZodTypeDef, ChoicesAssistantMessage>;
|
|
1334
1738
|
/**
|
|
1335
1739
|
* @internal
|
|
1336
1740
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1337
1741
|
*/
|
|
1338
|
-
export declare namespace
|
|
1339
|
-
/** @deprecated use `
|
|
1340
|
-
const inboundSchema: z.ZodType<
|
|
1341
|
-
/** @deprecated use `
|
|
1342
|
-
const outboundSchema: z.ZodType<
|
|
1343
|
-
/** @deprecated use `
|
|
1344
|
-
type Outbound =
|
|
1742
|
+
export declare namespace ChoicesAssistantMessage$ {
|
|
1743
|
+
/** @deprecated use `ChoicesAssistantMessage$inboundSchema` instead. */
|
|
1744
|
+
const inboundSchema: z.ZodType<ChoicesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1745
|
+
/** @deprecated use `ChoicesAssistantMessage$outboundSchema` instead. */
|
|
1746
|
+
const outboundSchema: z.ZodType<ChoicesAssistantMessage$Outbound, z.ZodTypeDef, ChoicesAssistantMessage>;
|
|
1747
|
+
/** @deprecated use `ChoicesAssistantMessage$Outbound` instead. */
|
|
1748
|
+
type Outbound = ChoicesAssistantMessage$Outbound;
|
|
1345
1749
|
}
|
|
1346
|
-
export declare function
|
|
1347
|
-
export declare function
|
|
1750
|
+
export declare function choicesAssistantMessageToJSON(choicesAssistantMessage: ChoicesAssistantMessage): string;
|
|
1751
|
+
export declare function choicesAssistantMessageFromJSON(jsonString: string): SafeParseResult<ChoicesAssistantMessage, SDKValidationError>;
|
|
1348
1752
|
/** @internal */
|
|
1349
|
-
export declare const
|
|
1753
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRole>;
|
|
1350
1754
|
/** @internal */
|
|
1351
|
-
export declare const
|
|
1755
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRole>;
|
|
1352
1756
|
/**
|
|
1353
1757
|
* @internal
|
|
1354
1758
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1355
1759
|
*/
|
|
1356
|
-
export declare namespace
|
|
1357
|
-
/** @deprecated use `
|
|
1760
|
+
export declare namespace DeploymentCreateMetricChoicesDeploymentsMetricsRole$ {
|
|
1761
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRole$inboundSchema` instead. */
|
|
1358
1762
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1359
|
-
readonly System: "system";
|
|
1360
|
-
readonly Assistant: "assistant";
|
|
1361
1763
|
readonly User: "user";
|
|
1362
|
-
readonly Exception: "exception";
|
|
1363
|
-
readonly Tool: "tool";
|
|
1364
|
-
readonly Prompt: "prompt";
|
|
1365
|
-
readonly Correction: "correction";
|
|
1366
|
-
readonly ExpectedOutput: "expected_output";
|
|
1367
1764
|
}>;
|
|
1368
|
-
/** @deprecated use `
|
|
1765
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRole$outboundSchema` instead. */
|
|
1369
1766
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1370
|
-
readonly System: "system";
|
|
1371
|
-
readonly Assistant: "assistant";
|
|
1372
1767
|
readonly User: "user";
|
|
1373
|
-
readonly Exception: "exception";
|
|
1374
|
-
readonly Tool: "tool";
|
|
1375
|
-
readonly Prompt: "prompt";
|
|
1376
|
-
readonly Correction: "correction";
|
|
1377
|
-
readonly ExpectedOutput: "expected_output";
|
|
1378
1768
|
}>;
|
|
1379
1769
|
}
|
|
1380
1770
|
/** @internal */
|
|
1381
|
-
export declare const
|
|
1771
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType>;
|
|
1382
1772
|
/** @internal */
|
|
1383
|
-
export declare const
|
|
1773
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType>;
|
|
1384
1774
|
/**
|
|
1385
1775
|
* @internal
|
|
1386
1776
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1387
1777
|
*/
|
|
1388
|
-
export declare namespace
|
|
1389
|
-
/** @deprecated use `
|
|
1778
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$ {
|
|
1779
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$inboundSchema` instead. */
|
|
1390
1780
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1391
|
-
readonly
|
|
1781
|
+
readonly InputAudio: "input_audio";
|
|
1392
1782
|
}>;
|
|
1393
|
-
/** @deprecated use `
|
|
1783
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$outboundSchema` instead. */
|
|
1394
1784
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1395
|
-
readonly
|
|
1785
|
+
readonly InputAudio: "input_audio";
|
|
1786
|
+
}>;
|
|
1787
|
+
}
|
|
1788
|
+
/** @internal */
|
|
1789
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsFormat>;
|
|
1790
|
+
/** @internal */
|
|
1791
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsFormat$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsFormat>;
|
|
1792
|
+
/**
|
|
1793
|
+
* @internal
|
|
1794
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1795
|
+
*/
|
|
1796
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsFormat$ {
|
|
1797
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsFormat$inboundSchema` instead. */
|
|
1798
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1799
|
+
readonly Mp3: "mp3";
|
|
1800
|
+
readonly Wav: "wav";
|
|
1801
|
+
}>;
|
|
1802
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsFormat$outboundSchema` instead. */
|
|
1803
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1804
|
+
readonly Mp3: "mp3";
|
|
1805
|
+
readonly Wav: "wav";
|
|
1806
|
+
}>;
|
|
1807
|
+
}
|
|
1808
|
+
/** @internal */
|
|
1809
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsInputAudio$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsInputAudio, z.ZodTypeDef, unknown>;
|
|
1810
|
+
/** @internal */
|
|
1811
|
+
export type DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound = {
|
|
1812
|
+
data: string;
|
|
1813
|
+
format: string;
|
|
1814
|
+
};
|
|
1815
|
+
/** @internal */
|
|
1816
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsInputAudio$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsInputAudio>;
|
|
1817
|
+
/**
|
|
1818
|
+
* @internal
|
|
1819
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1820
|
+
*/
|
|
1821
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsInputAudio$ {
|
|
1822
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsInputAudio$inboundSchema` instead. */
|
|
1823
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsInputAudio, z.ZodTypeDef, unknown>;
|
|
1824
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsInputAudio$outboundSchema` instead. */
|
|
1825
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsInputAudio>;
|
|
1826
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound` instead. */
|
|
1827
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound;
|
|
1828
|
+
}
|
|
1829
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsInputAudioToJSON(deploymentCreateMetric2DeploymentsMetricsInputAudio: DeploymentCreateMetric2DeploymentsMetricsInputAudio): string;
|
|
1830
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsInputAudioFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsInputAudio, SDKValidationError>;
|
|
1831
|
+
/** @internal */
|
|
1832
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics3$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics3, z.ZodTypeDef, unknown>;
|
|
1833
|
+
/** @internal */
|
|
1834
|
+
export type DeploymentCreateMetric2DeploymentsMetrics3$Outbound = {
|
|
1835
|
+
type: string;
|
|
1836
|
+
input_audio: DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound;
|
|
1837
|
+
};
|
|
1838
|
+
/** @internal */
|
|
1839
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics3$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics3$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics3>;
|
|
1840
|
+
/**
|
|
1841
|
+
* @internal
|
|
1842
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1843
|
+
*/
|
|
1844
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetrics3$ {
|
|
1845
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics3$inboundSchema` instead. */
|
|
1846
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics3, z.ZodTypeDef, unknown>;
|
|
1847
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics3$outboundSchema` instead. */
|
|
1848
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics3$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics3>;
|
|
1849
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics3$Outbound` instead. */
|
|
1850
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetrics3$Outbound;
|
|
1851
|
+
}
|
|
1852
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics3ToJSON(deploymentCreateMetric2DeploymentsMetrics3: DeploymentCreateMetric2DeploymentsMetrics3): string;
|
|
1853
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics3FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetrics3, SDKValidationError>;
|
|
1854
|
+
/** @internal */
|
|
1855
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
|
|
1856
|
+
/** @internal */
|
|
1857
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
|
|
1858
|
+
/**
|
|
1859
|
+
* @internal
|
|
1860
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1861
|
+
*/
|
|
1862
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$ {
|
|
1863
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$inboundSchema` instead. */
|
|
1864
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1865
|
+
readonly ImageUrl: "image_url";
|
|
1866
|
+
}>;
|
|
1867
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$outboundSchema` instead. */
|
|
1868
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1869
|
+
readonly ImageUrl: "image_url";
|
|
1396
1870
|
}>;
|
|
1397
1871
|
}
|
|
1398
1872
|
/** @internal */
|
|
1399
|
-
export declare const
|
|
1873
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsDetail$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsDetail>;
|
|
1400
1874
|
/** @internal */
|
|
1401
|
-
export
|
|
1402
|
-
|
|
1403
|
-
|
|
1875
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsDetail$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsDetail>;
|
|
1876
|
+
/**
|
|
1877
|
+
* @internal
|
|
1878
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1879
|
+
*/
|
|
1880
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsDetail$ {
|
|
1881
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsDetail$inboundSchema` instead. */
|
|
1882
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1883
|
+
readonly Low: "low";
|
|
1884
|
+
readonly High: "high";
|
|
1885
|
+
readonly Auto: "auto";
|
|
1886
|
+
}>;
|
|
1887
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsDetail$outboundSchema` instead. */
|
|
1888
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1889
|
+
readonly Low: "low";
|
|
1890
|
+
readonly High: "high";
|
|
1891
|
+
readonly Auto: "auto";
|
|
1892
|
+
}>;
|
|
1893
|
+
}
|
|
1894
|
+
/** @internal */
|
|
1895
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsImageUrl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsImageUrl, z.ZodTypeDef, unknown>;
|
|
1896
|
+
/** @internal */
|
|
1897
|
+
export type DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound = {
|
|
1898
|
+
url: string;
|
|
1899
|
+
detail?: string | undefined;
|
|
1404
1900
|
};
|
|
1405
1901
|
/** @internal */
|
|
1406
|
-
export declare const
|
|
1902
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsImageUrl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsImageUrl>;
|
|
1407
1903
|
/**
|
|
1408
1904
|
* @internal
|
|
1409
1905
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1410
1906
|
*/
|
|
1411
|
-
export declare namespace
|
|
1412
|
-
/** @deprecated use `
|
|
1413
|
-
const inboundSchema: z.ZodType<
|
|
1414
|
-
/** @deprecated use `
|
|
1415
|
-
const outboundSchema: z.ZodType<
|
|
1416
|
-
/** @deprecated use `
|
|
1417
|
-
type Outbound =
|
|
1907
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsImageUrl$ {
|
|
1908
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsImageUrl$inboundSchema` instead. */
|
|
1909
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsImageUrl, z.ZodTypeDef, unknown>;
|
|
1910
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsImageUrl$outboundSchema` instead. */
|
|
1911
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsImageUrl>;
|
|
1912
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound` instead. */
|
|
1913
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound;
|
|
1418
1914
|
}
|
|
1419
|
-
export declare function
|
|
1420
|
-
export declare function
|
|
1915
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsImageUrlToJSON(deploymentCreateMetric2DeploymentsMetricsImageUrl: DeploymentCreateMetric2DeploymentsMetricsImageUrl): string;
|
|
1916
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsImageUrlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsImageUrl, SDKValidationError>;
|
|
1421
1917
|
/** @internal */
|
|
1422
|
-
export declare const
|
|
1918
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics2$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics2, z.ZodTypeDef, unknown>;
|
|
1423
1919
|
/** @internal */
|
|
1424
|
-
export type
|
|
1425
|
-
id?: string | undefined;
|
|
1426
|
-
index?: number | undefined;
|
|
1920
|
+
export type DeploymentCreateMetric2DeploymentsMetrics2$Outbound = {
|
|
1427
1921
|
type: string;
|
|
1428
|
-
|
|
1922
|
+
image_url: DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound;
|
|
1429
1923
|
};
|
|
1430
1924
|
/** @internal */
|
|
1431
|
-
export declare const
|
|
1925
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics2$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics2$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics2>;
|
|
1432
1926
|
/**
|
|
1433
1927
|
* @internal
|
|
1434
1928
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1435
1929
|
*/
|
|
1436
|
-
export declare namespace
|
|
1437
|
-
/** @deprecated use `
|
|
1438
|
-
const inboundSchema: z.ZodType<
|
|
1439
|
-
/** @deprecated use `
|
|
1440
|
-
const outboundSchema: z.ZodType<
|
|
1441
|
-
/** @deprecated use `
|
|
1442
|
-
type Outbound =
|
|
1930
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetrics2$ {
|
|
1931
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics2$inboundSchema` instead. */
|
|
1932
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics2, z.ZodTypeDef, unknown>;
|
|
1933
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics2$outboundSchema` instead. */
|
|
1934
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics2$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics2>;
|
|
1935
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics2$Outbound` instead. */
|
|
1936
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetrics2$Outbound;
|
|
1443
1937
|
}
|
|
1444
|
-
export declare function
|
|
1445
|
-
export declare function
|
|
1938
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics2ToJSON(deploymentCreateMetric2DeploymentsMetrics2: DeploymentCreateMetric2DeploymentsMetrics2): string;
|
|
1939
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetrics2, SDKValidationError>;
|
|
1446
1940
|
/** @internal */
|
|
1447
|
-
export declare const
|
|
1941
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType>;
|
|
1448
1942
|
/** @internal */
|
|
1449
|
-
export
|
|
1943
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType>;
|
|
1944
|
+
/**
|
|
1945
|
+
* @internal
|
|
1946
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1947
|
+
*/
|
|
1948
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$ {
|
|
1949
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$inboundSchema` instead. */
|
|
1950
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1951
|
+
readonly Text: "text";
|
|
1952
|
+
}>;
|
|
1953
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$outboundSchema` instead. */
|
|
1954
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1955
|
+
readonly Text: "text";
|
|
1956
|
+
}>;
|
|
1957
|
+
}
|
|
1958
|
+
/** @internal */
|
|
1959
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics1$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1, z.ZodTypeDef, unknown>;
|
|
1960
|
+
/** @internal */
|
|
1961
|
+
export type DeploymentCreateMetric2DeploymentsMetrics1$Outbound = {
|
|
1962
|
+
type: string;
|
|
1963
|
+
text: string;
|
|
1964
|
+
};
|
|
1965
|
+
/** @internal */
|
|
1966
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics1$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics1>;
|
|
1967
|
+
/**
|
|
1968
|
+
* @internal
|
|
1969
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1970
|
+
*/
|
|
1971
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetrics1$ {
|
|
1972
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics1$inboundSchema` instead. */
|
|
1973
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1, z.ZodTypeDef, unknown>;
|
|
1974
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics1$outboundSchema` instead. */
|
|
1975
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics1>;
|
|
1976
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics1$Outbound` instead. */
|
|
1977
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetrics1$Outbound;
|
|
1978
|
+
}
|
|
1979
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics1ToJSON(deploymentCreateMetric2DeploymentsMetrics1: DeploymentCreateMetric2DeploymentsMetrics1): string;
|
|
1980
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics1FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetrics1, SDKValidationError>;
|
|
1981
|
+
/** @internal */
|
|
1982
|
+
export declare const DeploymentCreateMetricContentDeploymentsMetricsRequest2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2, z.ZodTypeDef, unknown>;
|
|
1983
|
+
/** @internal */
|
|
1984
|
+
export type DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound = DeploymentCreateMetric2DeploymentsMetrics1$Outbound | DeploymentCreateMetric2DeploymentsMetrics2$Outbound | DeploymentCreateMetric2DeploymentsMetrics3$Outbound;
|
|
1985
|
+
/** @internal */
|
|
1986
|
+
export declare const DeploymentCreateMetricContentDeploymentsMetricsRequest2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequest2>;
|
|
1987
|
+
/**
|
|
1988
|
+
* @internal
|
|
1989
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1990
|
+
*/
|
|
1991
|
+
export declare namespace DeploymentCreateMetricContentDeploymentsMetricsRequest2$ {
|
|
1992
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequest2$inboundSchema` instead. */
|
|
1993
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2, z.ZodTypeDef, unknown>;
|
|
1994
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequest2$outboundSchema` instead. */
|
|
1995
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequest2>;
|
|
1996
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound` instead. */
|
|
1997
|
+
type Outbound = DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound;
|
|
1998
|
+
}
|
|
1999
|
+
export declare function deploymentCreateMetricContentDeploymentsMetricsRequest2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequest2: DeploymentCreateMetricContentDeploymentsMetricsRequest2): string;
|
|
2000
|
+
export declare function deploymentCreateMetricContentDeploymentsMetricsRequest2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequest2, SDKValidationError>;
|
|
2001
|
+
/** @internal */
|
|
2002
|
+
export declare const ChoicesContent$inboundSchema: z.ZodType<ChoicesContent, z.ZodTypeDef, unknown>;
|
|
2003
|
+
/** @internal */
|
|
2004
|
+
export type ChoicesContent$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetrics1$Outbound | DeploymentCreateMetric2DeploymentsMetrics2$Outbound | DeploymentCreateMetric2DeploymentsMetrics3$Outbound>;
|
|
2005
|
+
/** @internal */
|
|
2006
|
+
export declare const ChoicesContent$outboundSchema: z.ZodType<ChoicesContent$Outbound, z.ZodTypeDef, ChoicesContent>;
|
|
2007
|
+
/**
|
|
2008
|
+
* @internal
|
|
2009
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2010
|
+
*/
|
|
2011
|
+
export declare namespace ChoicesContent$ {
|
|
2012
|
+
/** @deprecated use `ChoicesContent$inboundSchema` instead. */
|
|
2013
|
+
const inboundSchema: z.ZodType<ChoicesContent, z.ZodTypeDef, unknown>;
|
|
2014
|
+
/** @deprecated use `ChoicesContent$outboundSchema` instead. */
|
|
2015
|
+
const outboundSchema: z.ZodType<ChoicesContent$Outbound, z.ZodTypeDef, ChoicesContent>;
|
|
2016
|
+
/** @deprecated use `ChoicesContent$Outbound` instead. */
|
|
2017
|
+
type Outbound = ChoicesContent$Outbound;
|
|
2018
|
+
}
|
|
2019
|
+
export declare function choicesContentToJSON(choicesContent: ChoicesContent): string;
|
|
2020
|
+
export declare function choicesContentFromJSON(jsonString: string): SafeParseResult<ChoicesContent, SDKValidationError>;
|
|
2021
|
+
/** @internal */
|
|
2022
|
+
export declare const ChoicesUserMessage$inboundSchema: z.ZodType<ChoicesUserMessage, z.ZodTypeDef, unknown>;
|
|
2023
|
+
/** @internal */
|
|
2024
|
+
export type ChoicesUserMessage$Outbound = {
|
|
2025
|
+
role: string;
|
|
2026
|
+
name?: string | undefined;
|
|
2027
|
+
content: string | Array<DeploymentCreateMetric2DeploymentsMetrics1$Outbound | DeploymentCreateMetric2DeploymentsMetrics2$Outbound | DeploymentCreateMetric2DeploymentsMetrics3$Outbound>;
|
|
2028
|
+
};
|
|
2029
|
+
/** @internal */
|
|
2030
|
+
export declare const ChoicesUserMessage$outboundSchema: z.ZodType<ChoicesUserMessage$Outbound, z.ZodTypeDef, ChoicesUserMessage>;
|
|
2031
|
+
/**
|
|
2032
|
+
* @internal
|
|
2033
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2034
|
+
*/
|
|
2035
|
+
export declare namespace ChoicesUserMessage$ {
|
|
2036
|
+
/** @deprecated use `ChoicesUserMessage$inboundSchema` instead. */
|
|
2037
|
+
const inboundSchema: z.ZodType<ChoicesUserMessage, z.ZodTypeDef, unknown>;
|
|
2038
|
+
/** @deprecated use `ChoicesUserMessage$outboundSchema` instead. */
|
|
2039
|
+
const outboundSchema: z.ZodType<ChoicesUserMessage$Outbound, z.ZodTypeDef, ChoicesUserMessage>;
|
|
2040
|
+
/** @deprecated use `ChoicesUserMessage$Outbound` instead. */
|
|
2041
|
+
type Outbound = ChoicesUserMessage$Outbound;
|
|
2042
|
+
}
|
|
2043
|
+
export declare function choicesUserMessageToJSON(choicesUserMessage: ChoicesUserMessage): string;
|
|
2044
|
+
export declare function choicesUserMessageFromJSON(jsonString: string): SafeParseResult<ChoicesUserMessage, SDKValidationError>;
|
|
2045
|
+
/** @internal */
|
|
2046
|
+
export declare const DeploymentCreateMetricChoicesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesRole>;
|
|
2047
|
+
/** @internal */
|
|
2048
|
+
export declare const DeploymentCreateMetricChoicesRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesRole>;
|
|
2049
|
+
/**
|
|
2050
|
+
* @internal
|
|
2051
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2052
|
+
*/
|
|
2053
|
+
export declare namespace DeploymentCreateMetricChoicesRole$ {
|
|
2054
|
+
/** @deprecated use `DeploymentCreateMetricChoicesRole$inboundSchema` instead. */
|
|
2055
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2056
|
+
readonly System: "system";
|
|
2057
|
+
}>;
|
|
2058
|
+
/** @deprecated use `DeploymentCreateMetricChoicesRole$outboundSchema` instead. */
|
|
2059
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2060
|
+
readonly System: "system";
|
|
2061
|
+
}>;
|
|
2062
|
+
}
|
|
2063
|
+
/** @internal */
|
|
2064
|
+
export declare const ChoicesSystemMessage$inboundSchema: z.ZodType<ChoicesSystemMessage, z.ZodTypeDef, unknown>;
|
|
2065
|
+
/** @internal */
|
|
2066
|
+
export type ChoicesSystemMessage$Outbound = {
|
|
1450
2067
|
role: string;
|
|
1451
|
-
content
|
|
1452
|
-
|
|
2068
|
+
content: string;
|
|
2069
|
+
name?: string | undefined;
|
|
1453
2070
|
};
|
|
1454
2071
|
/** @internal */
|
|
1455
|
-
export declare const
|
|
2072
|
+
export declare const ChoicesSystemMessage$outboundSchema: z.ZodType<ChoicesSystemMessage$Outbound, z.ZodTypeDef, ChoicesSystemMessage>;
|
|
1456
2073
|
/**
|
|
1457
2074
|
* @internal
|
|
1458
2075
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1459
2076
|
*/
|
|
1460
|
-
export declare namespace
|
|
1461
|
-
/** @deprecated use `
|
|
1462
|
-
const inboundSchema: z.ZodType<
|
|
1463
|
-
/** @deprecated use `
|
|
1464
|
-
const outboundSchema: z.ZodType<
|
|
1465
|
-
/** @deprecated use `
|
|
1466
|
-
type Outbound =
|
|
2077
|
+
export declare namespace ChoicesSystemMessage$ {
|
|
2078
|
+
/** @deprecated use `ChoicesSystemMessage$inboundSchema` instead. */
|
|
2079
|
+
const inboundSchema: z.ZodType<ChoicesSystemMessage, z.ZodTypeDef, unknown>;
|
|
2080
|
+
/** @deprecated use `ChoicesSystemMessage$outboundSchema` instead. */
|
|
2081
|
+
const outboundSchema: z.ZodType<ChoicesSystemMessage$Outbound, z.ZodTypeDef, ChoicesSystemMessage>;
|
|
2082
|
+
/** @deprecated use `ChoicesSystemMessage$Outbound` instead. */
|
|
2083
|
+
type Outbound = ChoicesSystemMessage$Outbound;
|
|
1467
2084
|
}
|
|
1468
|
-
export declare function
|
|
1469
|
-
export declare function
|
|
2085
|
+
export declare function choicesSystemMessageToJSON(choicesSystemMessage: ChoicesSystemMessage): string;
|
|
2086
|
+
export declare function choicesSystemMessageFromJSON(jsonString: string): SafeParseResult<ChoicesSystemMessage, SDKValidationError>;
|
|
1470
2087
|
/** @internal */
|
|
1471
|
-
export declare const
|
|
2088
|
+
export declare const ChoicesRole$inboundSchema: z.ZodNativeEnum<typeof ChoicesRole>;
|
|
1472
2089
|
/** @internal */
|
|
1473
|
-
export
|
|
2090
|
+
export declare const ChoicesRole$outboundSchema: z.ZodNativeEnum<typeof ChoicesRole>;
|
|
2091
|
+
/**
|
|
2092
|
+
* @internal
|
|
2093
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2094
|
+
*/
|
|
2095
|
+
export declare namespace ChoicesRole$ {
|
|
2096
|
+
/** @deprecated use `ChoicesRole$inboundSchema` instead. */
|
|
2097
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2098
|
+
readonly Developer: "developer";
|
|
2099
|
+
}>;
|
|
2100
|
+
/** @deprecated use `ChoicesRole$outboundSchema` instead. */
|
|
2101
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2102
|
+
readonly Developer: "developer";
|
|
2103
|
+
}>;
|
|
2104
|
+
}
|
|
1474
2105
|
/** @internal */
|
|
1475
|
-
export declare const
|
|
2106
|
+
export declare const ChoicesDeveloperMessage$inboundSchema: z.ZodType<ChoicesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export type ChoicesDeveloperMessage$Outbound = {
|
|
2109
|
+
role: string;
|
|
2110
|
+
content: string;
|
|
2111
|
+
name?: string | undefined;
|
|
2112
|
+
};
|
|
2113
|
+
/** @internal */
|
|
2114
|
+
export declare const ChoicesDeveloperMessage$outboundSchema: z.ZodType<ChoicesDeveloperMessage$Outbound, z.ZodTypeDef, ChoicesDeveloperMessage>;
|
|
1476
2115
|
/**
|
|
1477
2116
|
* @internal
|
|
1478
2117
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1479
2118
|
*/
|
|
1480
|
-
export declare namespace
|
|
1481
|
-
/** @deprecated use `
|
|
1482
|
-
const inboundSchema: z.ZodType<
|
|
1483
|
-
/** @deprecated use `
|
|
1484
|
-
const outboundSchema: z.ZodType<
|
|
1485
|
-
/** @deprecated use `
|
|
1486
|
-
type Outbound =
|
|
2119
|
+
export declare namespace ChoicesDeveloperMessage$ {
|
|
2120
|
+
/** @deprecated use `ChoicesDeveloperMessage$inboundSchema` instead. */
|
|
2121
|
+
const inboundSchema: z.ZodType<ChoicesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2122
|
+
/** @deprecated use `ChoicesDeveloperMessage$outboundSchema` instead. */
|
|
2123
|
+
const outboundSchema: z.ZodType<ChoicesDeveloperMessage$Outbound, z.ZodTypeDef, ChoicesDeveloperMessage>;
|
|
2124
|
+
/** @deprecated use `ChoicesDeveloperMessage$Outbound` instead. */
|
|
2125
|
+
type Outbound = ChoicesDeveloperMessage$Outbound;
|
|
1487
2126
|
}
|
|
1488
|
-
export declare function
|
|
1489
|
-
export declare function
|
|
2127
|
+
export declare function choicesDeveloperMessageToJSON(choicesDeveloperMessage: ChoicesDeveloperMessage): string;
|
|
2128
|
+
export declare function choicesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<ChoicesDeveloperMessage, SDKValidationError>;
|
|
1490
2129
|
/** @internal */
|
|
1491
2130
|
export declare const Choices$inboundSchema: z.ZodType<Choices, z.ZodTypeDef, unknown>;
|
|
1492
2131
|
/** @internal */
|
|
1493
|
-
export type Choices$Outbound =
|
|
1494
|
-
index: number;
|
|
1495
|
-
message?: Message2$Outbound | Message3$Outbound | Message1$Outbound | undefined;
|
|
1496
|
-
finish_reason?: string | null | undefined;
|
|
1497
|
-
};
|
|
2132
|
+
export type Choices$Outbound = ChoicesDeveloperMessage$Outbound | ChoicesSystemMessage$Outbound | ChoicesUserMessage$Outbound | ChoicesToolMessage$Outbound | ChoicesAssistantMessage$Outbound;
|
|
1498
2133
|
/** @internal */
|
|
1499
2134
|
export declare const Choices$outboundSchema: z.ZodType<Choices$Outbound, z.ZodTypeDef, Choices>;
|
|
1500
2135
|
/**
|
|
@@ -1543,7 +2178,7 @@ export type DeploymentCreateMetricRequestBody$Outbound = {
|
|
|
1543
2178
|
usage?: Usage$Outbound | undefined;
|
|
1544
2179
|
performance?: Performance$Outbound | undefined;
|
|
1545
2180
|
messages?: Array<DeploymentCreateMetricMessagesDeveloperMessage$Outbound | DeploymentCreateMetricMessagesSystemMessage$Outbound | DeploymentCreateMetricMessagesUserMessage$Outbound | DeploymentCreateMetricMessagesToolMessage$Outbound | DeploymentCreateMetricMessagesAssistantMessage$Outbound> | undefined;
|
|
1546
|
-
choices?: Array<
|
|
2181
|
+
choices?: Array<ChoicesDeveloperMessage$Outbound | ChoicesSystemMessage$Outbound | ChoicesUserMessage$Outbound | ChoicesToolMessage$Outbound | ChoicesAssistantMessage$Outbound> | undefined;
|
|
1547
2182
|
feedback?: Feedback$Outbound | undefined;
|
|
1548
2183
|
};
|
|
1549
2184
|
/** @internal */
|