@roarkanalytics/sdk 3.19.0 → 3.20.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/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/resources/simulation-run-plan.d.mts +111 -1
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +111 -1
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation.d.mts +61 -1
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +61 -1
- package/resources/simulation.d.ts.map +1 -1
- package/src/resources/simulation-run-plan.ts +207 -1
- package/src/resources/simulation.ts +95 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -210,7 +210,9 @@ export declare namespace SimulationRunParams {
|
|
|
210
210
|
executionMode?: 'PARALLEL' | 'SEQUENTIAL_SAME_RUN_PLAN' | 'SEQUENTIAL_PROJECT';
|
|
211
211
|
/**
|
|
212
212
|
* Customer flows to include in this run plan. The same flow can appear more than
|
|
213
|
-
* once with a different persona override or different
|
|
213
|
+
* once with a different persona override, different variables, or different
|
|
214
|
+
* `overrides`: attaching it once per value of one property is how you compare that
|
|
215
|
+
* property without a template.
|
|
214
216
|
*/
|
|
215
217
|
flows?: Array<Plan.Flow>;
|
|
216
218
|
/**
|
|
@@ -331,6 +333,17 @@ export declare namespace SimulationRunParams {
|
|
|
331
333
|
* Run the flow's happy path. Resolved when the run starts, so it follows the flow.
|
|
332
334
|
*/
|
|
333
335
|
happyPath?: boolean;
|
|
336
|
+
/**
|
|
337
|
+
* Persona and environment properties to change for this attachment only, without
|
|
338
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
339
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
340
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
341
|
+
*
|
|
342
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
343
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
344
|
+
* property named twice is rejected.
|
|
345
|
+
*/
|
|
346
|
+
overrides?: Array<Flow.Override>;
|
|
334
347
|
/**
|
|
335
348
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
336
349
|
*/
|
|
@@ -372,6 +385,13 @@ export declare namespace SimulationRunParams {
|
|
|
372
385
|
[key: string]: string;
|
|
373
386
|
};
|
|
374
387
|
}
|
|
388
|
+
/**
|
|
389
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
390
|
+
*/
|
|
391
|
+
interface Override {
|
|
392
|
+
property: 'ACCENT' | 'AGE' | 'BACKGROUND_NOISE' | 'BACKGROUND_NOISE_VOLUME' | 'BASE_EMOTION' | 'CONFIRMATION_STYLE' | 'GENDER' | 'INTENT_CLARITY' | 'LANGUAGE' | 'MEMORY_RELIABILITY' | 'RESPONSE_TIMING' | 'SPEECH_CLARITY' | 'SPEECH_PACE';
|
|
393
|
+
value: string;
|
|
394
|
+
}
|
|
375
395
|
}
|
|
376
396
|
interface Persona {
|
|
377
397
|
id: string;
|
|
@@ -505,6 +525,28 @@ export declare namespace SimulationRunParams {
|
|
|
505
525
|
* The template to run, as listed by GET /v1/simulation/template.
|
|
506
526
|
*/
|
|
507
527
|
template: string;
|
|
528
|
+
/**
|
|
529
|
+
* The value of the sweep every other value is measured against. Defaults to the
|
|
530
|
+
* template's own baseline, as returned by GET /v1/simulation/template.
|
|
531
|
+
*
|
|
532
|
+
* Send it with `comparisonValues` and it must be one of them, or the request is
|
|
533
|
+
* rejected: anchoring every difference to an arm the run never made would measure
|
|
534
|
+
* it against nothing. Leave it out and the template's own baseline is used, and
|
|
535
|
+
* quietly dropped if your narrowing excluded it, since that one you did not
|
|
536
|
+
* choose.
|
|
537
|
+
*/
|
|
538
|
+
comparisonBaseline?: string | null;
|
|
539
|
+
/**
|
|
540
|
+
* Which values of the sweep to run, for a template that sweeps one (GET
|
|
541
|
+
* /v1/simulation/template returns `sweep.property` for those that do). This is
|
|
542
|
+
* what the run costs: the flow is called once per value, so ten values is ten
|
|
543
|
+
* times the calls of one.
|
|
544
|
+
*
|
|
545
|
+
* Omit it to run every value the property has, which for `accent-handling` is more
|
|
546
|
+
* than twenty. Send a subset to narrow it, for example the three accents you
|
|
547
|
+
* actually serve.
|
|
548
|
+
*/
|
|
549
|
+
comparisonValues?: Array<string>;
|
|
508
550
|
/**
|
|
509
551
|
* Phrases that trigger end of call. Empty array disables the feature.
|
|
510
552
|
*/
|
|
@@ -609,6 +651,17 @@ export declare namespace SimulationRunParams {
|
|
|
609
651
|
* Run the flow's happy path. Resolved when the run starts, so it follows the flow.
|
|
610
652
|
*/
|
|
611
653
|
happyPath?: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* Persona and environment properties to change for this attachment only, without
|
|
656
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
657
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
658
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
659
|
+
*
|
|
660
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
661
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
662
|
+
* property named twice is rejected.
|
|
663
|
+
*/
|
|
664
|
+
overrides?: Array<Flow.Override>;
|
|
612
665
|
/**
|
|
613
666
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
614
667
|
*/
|
|
@@ -650,6 +703,13 @@ export declare namespace SimulationRunParams {
|
|
|
650
703
|
[key: string]: string;
|
|
651
704
|
};
|
|
652
705
|
}
|
|
706
|
+
/**
|
|
707
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
708
|
+
*/
|
|
709
|
+
interface Override {
|
|
710
|
+
property: 'ACCENT' | 'AGE' | 'BACKGROUND_NOISE' | 'BACKGROUND_NOISE_VOLUME' | 'BASE_EMOTION' | 'CONFIRMATION_STYLE' | 'GENDER' | 'INTENT_CLARITY' | 'LANGUAGE' | 'MEMORY_RELIABILITY' | 'RESPONSE_TIMING' | 'SPEECH_CLARITY' | 'SPEECH_PACE';
|
|
711
|
+
value: string;
|
|
712
|
+
}
|
|
653
713
|
}
|
|
654
714
|
interface UnionMember1 {
|
|
655
715
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulation.d.mts","sourceRoot":"","sources":["../src/resources/simulation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,GAAG,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAG5F;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,qBAAqB,CAAC,IAAI,CAAC;CAClC;AAED,yBAAiB,qBAAqB,CAAC;IACrC;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,WAAW,EAAE,OAAO,CAAC;QAErB;;WAEG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAE3B;;;WAGG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,sBAAsB,EAAE,MAAM,CAAC;QAE/B;;;WAGG;QACH,MAAM,EACF,SAAS,GACT,QAAQ,GACR,oBAAoB,GACpB,sBAAsB,GACtB,oBAAoB,GACpB,qBAAqB,GACrB,WAAW,GACX,QAAQ,GACR,WAAW,GACX,WAAW,GACX,YAAY,GACZ,oBAAoB,CAAC;KAC1B;CACF;AAED,MAAM,MAAM,mBAAmB,GAC3B,mBAAmB,CAAC,uBAAuB,GAC3C,mBAAmB,CAAC,uBAAuB,GAC3C,mBAAmB,CAAC,yBAAyB,CAAC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AAM,CAAC;YAEf;;eAEG;YACH,SAAS,EAAE;gBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;aAAE,CAAC;YAErC;;eAEG;YACH,UAAU,CAAC,EAAE,MAAM,CAAC;YAEpB;;eAEG;YACH,SAAS,CAAC,EAAE,IAAI,CAAC;SAClB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -210,7 +210,9 @@ export declare namespace SimulationRunParams {
|
|
|
210
210
|
executionMode?: 'PARALLEL' | 'SEQUENTIAL_SAME_RUN_PLAN' | 'SEQUENTIAL_PROJECT';
|
|
211
211
|
/**
|
|
212
212
|
* Customer flows to include in this run plan. The same flow can appear more than
|
|
213
|
-
* once with a different persona override or different
|
|
213
|
+
* once with a different persona override, different variables, or different
|
|
214
|
+
* `overrides`: attaching it once per value of one property is how you compare that
|
|
215
|
+
* property without a template.
|
|
214
216
|
*/
|
|
215
217
|
flows?: Array<Plan.Flow>;
|
|
216
218
|
/**
|
|
@@ -331,6 +333,17 @@ export declare namespace SimulationRunParams {
|
|
|
331
333
|
* Run the flow's happy path. Resolved when the run starts, so it follows the flow.
|
|
332
334
|
*/
|
|
333
335
|
happyPath?: boolean;
|
|
336
|
+
/**
|
|
337
|
+
* Persona and environment properties to change for this attachment only, without
|
|
338
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
339
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
340
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
341
|
+
*
|
|
342
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
343
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
344
|
+
* property named twice is rejected.
|
|
345
|
+
*/
|
|
346
|
+
overrides?: Array<Flow.Override>;
|
|
334
347
|
/**
|
|
335
348
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
336
349
|
*/
|
|
@@ -372,6 +385,13 @@ export declare namespace SimulationRunParams {
|
|
|
372
385
|
[key: string]: string;
|
|
373
386
|
};
|
|
374
387
|
}
|
|
388
|
+
/**
|
|
389
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
390
|
+
*/
|
|
391
|
+
interface Override {
|
|
392
|
+
property: 'ACCENT' | 'AGE' | 'BACKGROUND_NOISE' | 'BACKGROUND_NOISE_VOLUME' | 'BASE_EMOTION' | 'CONFIRMATION_STYLE' | 'GENDER' | 'INTENT_CLARITY' | 'LANGUAGE' | 'MEMORY_RELIABILITY' | 'RESPONSE_TIMING' | 'SPEECH_CLARITY' | 'SPEECH_PACE';
|
|
393
|
+
value: string;
|
|
394
|
+
}
|
|
375
395
|
}
|
|
376
396
|
interface Persona {
|
|
377
397
|
id: string;
|
|
@@ -505,6 +525,28 @@ export declare namespace SimulationRunParams {
|
|
|
505
525
|
* The template to run, as listed by GET /v1/simulation/template.
|
|
506
526
|
*/
|
|
507
527
|
template: string;
|
|
528
|
+
/**
|
|
529
|
+
* The value of the sweep every other value is measured against. Defaults to the
|
|
530
|
+
* template's own baseline, as returned by GET /v1/simulation/template.
|
|
531
|
+
*
|
|
532
|
+
* Send it with `comparisonValues` and it must be one of them, or the request is
|
|
533
|
+
* rejected: anchoring every difference to an arm the run never made would measure
|
|
534
|
+
* it against nothing. Leave it out and the template's own baseline is used, and
|
|
535
|
+
* quietly dropped if your narrowing excluded it, since that one you did not
|
|
536
|
+
* choose.
|
|
537
|
+
*/
|
|
538
|
+
comparisonBaseline?: string | null;
|
|
539
|
+
/**
|
|
540
|
+
* Which values of the sweep to run, for a template that sweeps one (GET
|
|
541
|
+
* /v1/simulation/template returns `sweep.property` for those that do). This is
|
|
542
|
+
* what the run costs: the flow is called once per value, so ten values is ten
|
|
543
|
+
* times the calls of one.
|
|
544
|
+
*
|
|
545
|
+
* Omit it to run every value the property has, which for `accent-handling` is more
|
|
546
|
+
* than twenty. Send a subset to narrow it, for example the three accents you
|
|
547
|
+
* actually serve.
|
|
548
|
+
*/
|
|
549
|
+
comparisonValues?: Array<string>;
|
|
508
550
|
/**
|
|
509
551
|
* Phrases that trigger end of call. Empty array disables the feature.
|
|
510
552
|
*/
|
|
@@ -609,6 +651,17 @@ export declare namespace SimulationRunParams {
|
|
|
609
651
|
* Run the flow's happy path. Resolved when the run starts, so it follows the flow.
|
|
610
652
|
*/
|
|
611
653
|
happyPath?: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* Persona and environment properties to change for this attachment only, without
|
|
656
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
657
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
658
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
659
|
+
*
|
|
660
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
661
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
662
|
+
* property named twice is rejected.
|
|
663
|
+
*/
|
|
664
|
+
overrides?: Array<Flow.Override>;
|
|
612
665
|
/**
|
|
613
666
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
614
667
|
*/
|
|
@@ -650,6 +703,13 @@ export declare namespace SimulationRunParams {
|
|
|
650
703
|
[key: string]: string;
|
|
651
704
|
};
|
|
652
705
|
}
|
|
706
|
+
/**
|
|
707
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
708
|
+
*/
|
|
709
|
+
interface Override {
|
|
710
|
+
property: 'ACCENT' | 'AGE' | 'BACKGROUND_NOISE' | 'BACKGROUND_NOISE_VOLUME' | 'BASE_EMOTION' | 'CONFIRMATION_STYLE' | 'GENDER' | 'INTENT_CLARITY' | 'LANGUAGE' | 'MEMORY_RELIABILITY' | 'RESPONSE_TIMING' | 'SPEECH_CLARITY' | 'SPEECH_PACE';
|
|
711
|
+
value: string;
|
|
712
|
+
}
|
|
653
713
|
}
|
|
654
714
|
interface UnionMember1 {
|
|
655
715
|
/**
|
|
@@ -1 +1 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eAEG;YACH,SAAS,CAAC,EAAE,IAAI,CAAC;SAClB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -317,6 +317,18 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
317
317
|
*/
|
|
318
318
|
happyPath?: boolean;
|
|
319
319
|
|
|
320
|
+
/**
|
|
321
|
+
* Persona and environment properties to change for this attachment only, without
|
|
322
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
323
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
324
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
325
|
+
*
|
|
326
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
327
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
328
|
+
* property named twice is rejected.
|
|
329
|
+
*/
|
|
330
|
+
overrides?: Array<Flow.Override>;
|
|
331
|
+
|
|
320
332
|
/**
|
|
321
333
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
322
334
|
*/
|
|
@@ -360,6 +372,28 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
360
372
|
*/
|
|
361
373
|
variables?: { [key: string]: string };
|
|
362
374
|
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
378
|
+
*/
|
|
379
|
+
export interface Override {
|
|
380
|
+
property:
|
|
381
|
+
| 'ACCENT'
|
|
382
|
+
| 'AGE'
|
|
383
|
+
| 'BACKGROUND_NOISE'
|
|
384
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
385
|
+
| 'BASE_EMOTION'
|
|
386
|
+
| 'CONFIRMATION_STYLE'
|
|
387
|
+
| 'GENDER'
|
|
388
|
+
| 'INTENT_CLARITY'
|
|
389
|
+
| 'LANGUAGE'
|
|
390
|
+
| 'MEMORY_RELIABILITY'
|
|
391
|
+
| 'RESPONSE_TIMING'
|
|
392
|
+
| 'SPEECH_CLARITY'
|
|
393
|
+
| 'SPEECH_PACE';
|
|
394
|
+
|
|
395
|
+
value: string;
|
|
396
|
+
}
|
|
363
397
|
}
|
|
364
398
|
|
|
365
399
|
export interface Metric {
|
|
@@ -633,6 +667,18 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
633
667
|
*/
|
|
634
668
|
happyPath?: boolean;
|
|
635
669
|
|
|
670
|
+
/**
|
|
671
|
+
* Persona and environment properties to change for this attachment only, without
|
|
672
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
673
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
674
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
675
|
+
*
|
|
676
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
677
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
678
|
+
* property named twice is rejected.
|
|
679
|
+
*/
|
|
680
|
+
overrides?: Array<Flow.Override>;
|
|
681
|
+
|
|
636
682
|
/**
|
|
637
683
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
638
684
|
*/
|
|
@@ -676,6 +722,28 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
676
722
|
*/
|
|
677
723
|
variables?: { [key: string]: string };
|
|
678
724
|
}
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
728
|
+
*/
|
|
729
|
+
export interface Override {
|
|
730
|
+
property:
|
|
731
|
+
| 'ACCENT'
|
|
732
|
+
| 'AGE'
|
|
733
|
+
| 'BACKGROUND_NOISE'
|
|
734
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
735
|
+
| 'BASE_EMOTION'
|
|
736
|
+
| 'CONFIRMATION_STYLE'
|
|
737
|
+
| 'GENDER'
|
|
738
|
+
| 'INTENT_CLARITY'
|
|
739
|
+
| 'LANGUAGE'
|
|
740
|
+
| 'MEMORY_RELIABILITY'
|
|
741
|
+
| 'RESPONSE_TIMING'
|
|
742
|
+
| 'SPEECH_CLARITY'
|
|
743
|
+
| 'SPEECH_PACE';
|
|
744
|
+
|
|
745
|
+
value: string;
|
|
746
|
+
}
|
|
679
747
|
}
|
|
680
748
|
|
|
681
749
|
export interface Metric {
|
|
@@ -913,6 +981,18 @@ export namespace SimulationRunPlanListResponse {
|
|
|
913
981
|
*/
|
|
914
982
|
happyPath?: boolean;
|
|
915
983
|
|
|
984
|
+
/**
|
|
985
|
+
* Persona and environment properties to change for this attachment only, without
|
|
986
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
987
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
988
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
989
|
+
*
|
|
990
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
991
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
992
|
+
* property named twice is rejected.
|
|
993
|
+
*/
|
|
994
|
+
overrides?: Array<Flow.Override>;
|
|
995
|
+
|
|
916
996
|
/**
|
|
917
997
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
918
998
|
*/
|
|
@@ -956,6 +1036,28 @@ export namespace SimulationRunPlanListResponse {
|
|
|
956
1036
|
*/
|
|
957
1037
|
variables?: { [key: string]: string };
|
|
958
1038
|
}
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
1042
|
+
*/
|
|
1043
|
+
export interface Override {
|
|
1044
|
+
property:
|
|
1045
|
+
| 'ACCENT'
|
|
1046
|
+
| 'AGE'
|
|
1047
|
+
| 'BACKGROUND_NOISE'
|
|
1048
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
1049
|
+
| 'BASE_EMOTION'
|
|
1050
|
+
| 'CONFIRMATION_STYLE'
|
|
1051
|
+
| 'GENDER'
|
|
1052
|
+
| 'INTENT_CLARITY'
|
|
1053
|
+
| 'LANGUAGE'
|
|
1054
|
+
| 'MEMORY_RELIABILITY'
|
|
1055
|
+
| 'RESPONSE_TIMING'
|
|
1056
|
+
| 'SPEECH_CLARITY'
|
|
1057
|
+
| 'SPEECH_PACE';
|
|
1058
|
+
|
|
1059
|
+
value: string;
|
|
1060
|
+
}
|
|
959
1061
|
}
|
|
960
1062
|
|
|
961
1063
|
export interface Metric {
|
|
@@ -1221,6 +1323,18 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
1221
1323
|
*/
|
|
1222
1324
|
happyPath?: boolean;
|
|
1223
1325
|
|
|
1326
|
+
/**
|
|
1327
|
+
* Persona and environment properties to change for this attachment only, without
|
|
1328
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
1329
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
1330
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
1331
|
+
*
|
|
1332
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
1333
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
1334
|
+
* property named twice is rejected.
|
|
1335
|
+
*/
|
|
1336
|
+
overrides?: Array<Flow.Override>;
|
|
1337
|
+
|
|
1224
1338
|
/**
|
|
1225
1339
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
1226
1340
|
*/
|
|
@@ -1264,6 +1378,28 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
1264
1378
|
*/
|
|
1265
1379
|
variables?: { [key: string]: string };
|
|
1266
1380
|
}
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
1384
|
+
*/
|
|
1385
|
+
export interface Override {
|
|
1386
|
+
property:
|
|
1387
|
+
| 'ACCENT'
|
|
1388
|
+
| 'AGE'
|
|
1389
|
+
| 'BACKGROUND_NOISE'
|
|
1390
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
1391
|
+
| 'BASE_EMOTION'
|
|
1392
|
+
| 'CONFIRMATION_STYLE'
|
|
1393
|
+
| 'GENDER'
|
|
1394
|
+
| 'INTENT_CLARITY'
|
|
1395
|
+
| 'LANGUAGE'
|
|
1396
|
+
| 'MEMORY_RELIABILITY'
|
|
1397
|
+
| 'RESPONSE_TIMING'
|
|
1398
|
+
| 'SPEECH_CLARITY'
|
|
1399
|
+
| 'SPEECH_PACE';
|
|
1400
|
+
|
|
1401
|
+
value: string;
|
|
1402
|
+
}
|
|
1267
1403
|
}
|
|
1268
1404
|
|
|
1269
1405
|
export interface Metric {
|
|
@@ -1425,7 +1561,9 @@ export interface SimulationRunPlanCreateParams {
|
|
|
1425
1561
|
|
|
1426
1562
|
/**
|
|
1427
1563
|
* Customer flows to include in this run plan. The same flow can appear more than
|
|
1428
|
-
* once with a different persona override or different
|
|
1564
|
+
* once with a different persona override, different variables, or different
|
|
1565
|
+
* `overrides`: attaching it once per value of one property is how you compare that
|
|
1566
|
+
* property without a template.
|
|
1429
1567
|
*/
|
|
1430
1568
|
flows?: Array<SimulationRunPlanCreateParams.Flow>;
|
|
1431
1569
|
|
|
@@ -1558,6 +1696,18 @@ export namespace SimulationRunPlanCreateParams {
|
|
|
1558
1696
|
*/
|
|
1559
1697
|
happyPath?: boolean;
|
|
1560
1698
|
|
|
1699
|
+
/**
|
|
1700
|
+
* Persona and environment properties to change for this attachment only, without
|
|
1701
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
1702
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
1703
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
1704
|
+
*
|
|
1705
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
1706
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
1707
|
+
* property named twice is rejected.
|
|
1708
|
+
*/
|
|
1709
|
+
overrides?: Array<Flow.Override>;
|
|
1710
|
+
|
|
1561
1711
|
/**
|
|
1562
1712
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
1563
1713
|
*/
|
|
@@ -1601,6 +1751,28 @@ export namespace SimulationRunPlanCreateParams {
|
|
|
1601
1751
|
*/
|
|
1602
1752
|
variables?: { [key: string]: string };
|
|
1603
1753
|
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
1757
|
+
*/
|
|
1758
|
+
export interface Override {
|
|
1759
|
+
property:
|
|
1760
|
+
| 'ACCENT'
|
|
1761
|
+
| 'AGE'
|
|
1762
|
+
| 'BACKGROUND_NOISE'
|
|
1763
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
1764
|
+
| 'BASE_EMOTION'
|
|
1765
|
+
| 'CONFIRMATION_STYLE'
|
|
1766
|
+
| 'GENDER'
|
|
1767
|
+
| 'INTENT_CLARITY'
|
|
1768
|
+
| 'LANGUAGE'
|
|
1769
|
+
| 'MEMORY_RELIABILITY'
|
|
1770
|
+
| 'RESPONSE_TIMING'
|
|
1771
|
+
| 'SPEECH_CLARITY'
|
|
1772
|
+
| 'SPEECH_PACE';
|
|
1773
|
+
|
|
1774
|
+
value: string;
|
|
1775
|
+
}
|
|
1604
1776
|
}
|
|
1605
1777
|
|
|
1606
1778
|
export interface Persona {
|
|
@@ -1809,6 +1981,18 @@ export namespace SimulationRunPlanUpdateParams {
|
|
|
1809
1981
|
*/
|
|
1810
1982
|
happyPath?: boolean;
|
|
1811
1983
|
|
|
1984
|
+
/**
|
|
1985
|
+
* Persona and environment properties to change for this attachment only, without
|
|
1986
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
1987
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
1988
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
1989
|
+
*
|
|
1990
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
1991
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
1992
|
+
* property named twice is rejected.
|
|
1993
|
+
*/
|
|
1994
|
+
overrides?: Array<Flow.Override>;
|
|
1995
|
+
|
|
1812
1996
|
/**
|
|
1813
1997
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
1814
1998
|
*/
|
|
@@ -1852,6 +2036,28 @@ export namespace SimulationRunPlanUpdateParams {
|
|
|
1852
2036
|
*/
|
|
1853
2037
|
variables?: { [key: string]: string };
|
|
1854
2038
|
}
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
2042
|
+
*/
|
|
2043
|
+
export interface Override {
|
|
2044
|
+
property:
|
|
2045
|
+
| 'ACCENT'
|
|
2046
|
+
| 'AGE'
|
|
2047
|
+
| 'BACKGROUND_NOISE'
|
|
2048
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
2049
|
+
| 'BASE_EMOTION'
|
|
2050
|
+
| 'CONFIRMATION_STYLE'
|
|
2051
|
+
| 'GENDER'
|
|
2052
|
+
| 'INTENT_CLARITY'
|
|
2053
|
+
| 'LANGUAGE'
|
|
2054
|
+
| 'MEMORY_RELIABILITY'
|
|
2055
|
+
| 'RESPONSE_TIMING'
|
|
2056
|
+
| 'SPEECH_CLARITY'
|
|
2057
|
+
| 'SPEECH_PACE';
|
|
2058
|
+
|
|
2059
|
+
value: string;
|
|
2060
|
+
}
|
|
1855
2061
|
}
|
|
1856
2062
|
|
|
1857
2063
|
export interface Metric {
|