@roarkanalytics/sdk 4.10.0 → 4.11.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/customer-flow-edge-case.d.mts +21 -4
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +21 -4
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +36 -3
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +36 -3
- package/resources/customer-flow.d.ts.map +1 -1
- package/src/resources/customer-flow-edge-case.ts +23 -4
- package/src/resources/customer-flow.ts +40 -3
- 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
|
@@ -4028,10 +4028,11 @@ export interface CustomerFlowEdgeCaseUpdateParams {
|
|
|
4028
4028
|
flowId: string;
|
|
4029
4029
|
|
|
4030
4030
|
/**
|
|
4031
|
-
* Body param:
|
|
4032
|
-
*
|
|
4033
|
-
*
|
|
4034
|
-
*
|
|
4031
|
+
* Body param: The expectations graded on this variant only, on top of the flow's
|
|
4032
|
+
* own. Sent as the complete set: it replaces whatever the variant had, so omit it
|
|
4033
|
+
* to leave the set alone and send [] to clear it. Improv flows only: a scripted
|
|
4034
|
+
* variant's expectations come from the agent turns on its path and are rewritten
|
|
4035
|
+
* on every graph edit.
|
|
4035
4036
|
*/
|
|
4036
4037
|
additionalExpectations?: Array<CustomerFlowEdgeCaseUpdateParams.AdditionalExpectation>;
|
|
4037
4038
|
|
|
@@ -4079,6 +4080,15 @@ export namespace CustomerFlowEdgeCaseUpdateParams {
|
|
|
4079
4080
|
export interface CustomerFlowEdgeCaseAddParams {
|
|
4080
4081
|
title: string;
|
|
4081
4082
|
|
|
4083
|
+
/**
|
|
4084
|
+
* The expectations graded on this variant only, on top of the flow's own. Sent as
|
|
4085
|
+
* the complete set: it replaces whatever the variant had, so omit it to leave the
|
|
4086
|
+
* set alone and send [] to clear it. Improv flows only: a scripted variant's
|
|
4087
|
+
* expectations come from the agent turns on its path and are rewritten on every
|
|
4088
|
+
* graph edit.
|
|
4089
|
+
*/
|
|
4090
|
+
additionalExpectations?: Array<CustomerFlowEdgeCaseAddParams.AdditionalExpectation>;
|
|
4091
|
+
|
|
4082
4092
|
environmentId?: string | null;
|
|
4083
4093
|
|
|
4084
4094
|
/**
|
|
@@ -4093,6 +4103,15 @@ export interface CustomerFlowEdgeCaseAddParams {
|
|
|
4093
4103
|
prompt?: string | null;
|
|
4094
4104
|
}
|
|
4095
4105
|
|
|
4106
|
+
export namespace CustomerFlowEdgeCaseAddParams {
|
|
4107
|
+
export interface AdditionalExpectation {
|
|
4108
|
+
/**
|
|
4109
|
+
* What the agent under test is graded against.
|
|
4110
|
+
*/
|
|
4111
|
+
prompt: string;
|
|
4112
|
+
}
|
|
4113
|
+
}
|
|
4114
|
+
|
|
4096
4115
|
export interface CustomerFlowEdgeCasePromoteParams {
|
|
4097
4116
|
flowId: string;
|
|
4098
4117
|
}
|
|
@@ -17936,6 +17936,15 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
17936
17936
|
|
|
17937
17937
|
title: string;
|
|
17938
17938
|
|
|
17939
|
+
/**
|
|
17940
|
+
* The expectations graded on this variant only, on top of the flow's own. Sent as
|
|
17941
|
+
* the complete set: it replaces whatever the variant had, so omit it to leave the
|
|
17942
|
+
* set alone and send [] to clear it. Improv flows only: a scripted variant's
|
|
17943
|
+
* expectations come from the agent turns on its path and are rewritten on every
|
|
17944
|
+
* graph edit.
|
|
17945
|
+
*/
|
|
17946
|
+
additionalExpectations?: Array<HappyPath.AdditionalExpectation>;
|
|
17947
|
+
|
|
17939
17948
|
precededByCustomerFlowId?: string | null;
|
|
17940
17949
|
|
|
17941
17950
|
precededByCustomerFlowVariantId?: string | null;
|
|
@@ -17943,6 +17952,15 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
17943
17952
|
prompt?: string | null;
|
|
17944
17953
|
}
|
|
17945
17954
|
|
|
17955
|
+
export namespace HappyPath {
|
|
17956
|
+
export interface AdditionalExpectation {
|
|
17957
|
+
/**
|
|
17958
|
+
* What the agent under test is graded against.
|
|
17959
|
+
*/
|
|
17960
|
+
prompt: string;
|
|
17961
|
+
}
|
|
17962
|
+
}
|
|
17963
|
+
|
|
17946
17964
|
export interface AgentExpectation {
|
|
17947
17965
|
/**
|
|
17948
17966
|
* What the agent under test is graded against.
|
|
@@ -17953,6 +17971,15 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
17953
17971
|
export interface EdgeCase {
|
|
17954
17972
|
title: string;
|
|
17955
17973
|
|
|
17974
|
+
/**
|
|
17975
|
+
* The expectations graded on this variant only, on top of the flow's own. Sent as
|
|
17976
|
+
* the complete set: it replaces whatever the variant had, so omit it to leave the
|
|
17977
|
+
* set alone and send [] to clear it. Improv flows only: a scripted variant's
|
|
17978
|
+
* expectations come from the agent turns on its path and are rewritten on every
|
|
17979
|
+
* graph edit.
|
|
17980
|
+
*/
|
|
17981
|
+
additionalExpectations?: Array<EdgeCase.AdditionalExpectation>;
|
|
17982
|
+
|
|
17956
17983
|
environmentId?: string | null;
|
|
17957
17984
|
|
|
17958
17985
|
/**
|
|
@@ -17966,6 +17993,15 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
17966
17993
|
|
|
17967
17994
|
prompt?: string | null;
|
|
17968
17995
|
}
|
|
17996
|
+
|
|
17997
|
+
export namespace EdgeCase {
|
|
17998
|
+
export interface AdditionalExpectation {
|
|
17999
|
+
/**
|
|
18000
|
+
* What the agent under test is graded against.
|
|
18001
|
+
*/
|
|
18002
|
+
prompt: string;
|
|
18003
|
+
}
|
|
18004
|
+
}
|
|
17969
18005
|
}
|
|
17970
18006
|
}
|
|
17971
18007
|
|
|
@@ -18096,9 +18132,10 @@ export interface CustomerFlowReplaceGraphParams {
|
|
|
18096
18132
|
|
|
18097
18133
|
export interface CustomerFlowUpdateHappyPathParams {
|
|
18098
18134
|
/**
|
|
18099
|
-
*
|
|
18100
|
-
*
|
|
18101
|
-
*
|
|
18135
|
+
* The expectations graded on this variant only, on top of the flow's own. Sent as
|
|
18136
|
+
* the complete set: it replaces whatever the variant had, so omit it to leave the
|
|
18137
|
+
* set alone and send [] to clear it. Improv flows only: a scripted variant's
|
|
18138
|
+
* expectations come from the agent turns on its path and are rewritten on every
|
|
18102
18139
|
* graph edit.
|
|
18103
18140
|
*/
|
|
18104
18141
|
additionalExpectations?: Array<CustomerFlowUpdateHappyPathParams.AdditionalExpectation>;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.11.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.11.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.11.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.11.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|