@roarkanalytics/sdk 4.9.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.
@@ -10969,10 +10969,26 @@ export declare namespace CustomerFlowCreateParams {
10969
10969
  */
10970
10970
  personaOverrideId: string;
10971
10971
  title: string;
10972
+ /**
10973
+ * The expectations graded on this variant only, on top of the flow's own. Sent as
10974
+ * the complete set: it replaces whatever the variant had, so omit it to leave the
10975
+ * set alone and send [] to clear it. Improv flows only: a scripted variant's
10976
+ * expectations come from the agent turns on its path and are rewritten on every
10977
+ * graph edit.
10978
+ */
10979
+ additionalExpectations?: Array<HappyPath.AdditionalExpectation>;
10972
10980
  precededByCustomerFlowId?: string | null;
10973
10981
  precededByCustomerFlowVariantId?: string | null;
10974
10982
  prompt?: string | null;
10975
10983
  }
10984
+ namespace HappyPath {
10985
+ interface AdditionalExpectation {
10986
+ /**
10987
+ * What the agent under test is graded against.
10988
+ */
10989
+ prompt: string;
10990
+ }
10991
+ }
10976
10992
  interface AgentExpectation {
10977
10993
  /**
10978
10994
  * What the agent under test is graded against.
@@ -10981,6 +10997,14 @@ export declare namespace CustomerFlowCreateParams {
10981
10997
  }
10982
10998
  interface EdgeCase {
10983
10999
  title: string;
11000
+ /**
11001
+ * The expectations graded on this variant only, on top of the flow's own. Sent as
11002
+ * the complete set: it replaces whatever the variant had, so omit it to leave the
11003
+ * set alone and send [] to clear it. Improv flows only: a scripted variant's
11004
+ * expectations come from the agent turns on its path and are rewritten on every
11005
+ * graph edit.
11006
+ */
11007
+ additionalExpectations?: Array<EdgeCase.AdditionalExpectation>;
10984
11008
  environmentId?: string | null;
10985
11009
  /**
10986
11010
  * The persona this runs as. Omit to inherit the happy path's.
@@ -10990,6 +11014,14 @@ export declare namespace CustomerFlowCreateParams {
10990
11014
  precededByCustomerFlowVariantId?: string | null;
10991
11015
  prompt?: string | null;
10992
11016
  }
11017
+ namespace EdgeCase {
11018
+ interface AdditionalExpectation {
11019
+ /**
11020
+ * What the agent under test is graded against.
11021
+ */
11022
+ prompt: string;
11023
+ }
11024
+ }
10993
11025
  }
10994
11026
  }
10995
11027
  export interface CustomerFlowUpdateParams {
@@ -11097,9 +11129,10 @@ export interface CustomerFlowReplaceGraphParams {
11097
11129
  }
11098
11130
  export interface CustomerFlowUpdateHappyPathParams {
11099
11131
  /**
11100
- * Replaces the expectations that apply to this variant on top of the flow's. Omit
11101
- * to leave them alone, send [] to clear. Improv flows only: a scripted variant's
11102
- * expectations come from the agent turns on its path and are rewritten on the next
11132
+ * The expectations graded on this variant only, on top of the flow's own. Sent as
11133
+ * the complete set: it replaces whatever the variant had, so omit it to leave the
11134
+ * set alone and send [] to clear it. Improv flows only: a scripted variant's
11135
+ * expectations come from the agent turns on its path and are rewritten on every
11103
11136
  * graph edit.
11104
11137
  */
11105
11138
  additionalExpectations?: Array<CustomerFlowUpdateHappyPathParams.AdditionalExpectation>;