@alicloud/agentloop20260520 2.5.2 → 2.6.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.
Files changed (73) hide show
  1. package/dist/client.d.ts +56 -2
  2. package/dist/client.js +168 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetExperimentPlanResponseBody.d.ts +3 -0
  5. package/dist/models/GetExperimentPlanResponseBody.js.map +1 -1
  6. package/dist/models/ListEvaluationTasksRequest.d.ts +6 -6
  7. package/dist/models/ListEvaluationTasksResponseBody.d.ts +10 -10
  8. package/dist/models/ListTagResourcesRequest.d.ts +72 -0
  9. package/dist/models/ListTagResourcesRequest.js +91 -0
  10. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  11. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  12. package/dist/models/ListTagResourcesResponse.js +69 -0
  13. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  14. package/dist/models/ListTagResourcesResponseBody.d.ts +86 -0
  15. package/dist/models/ListTagResourcesResponseBody.js +90 -0
  16. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  17. package/dist/models/ListTagResourcesShrinkRequest.d.ts +44 -0
  18. package/dist/models/ListTagResourcesShrinkRequest.js +64 -0
  19. package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
  20. package/dist/models/RunStrategies.d.ts +9 -0
  21. package/dist/models/RunStrategies.js +6 -0
  22. package/dist/models/RunStrategies.js.map +1 -1
  23. package/dist/models/SearchContextRequest.d.ts +10 -10
  24. package/dist/models/SearchContextResponseBody.d.ts +32 -6
  25. package/dist/models/SearchContextResponseBody.js.map +1 -1
  26. package/dist/models/SelectedDataStrategy.d.ts +39 -0
  27. package/dist/models/SelectedDataStrategy.js +65 -0
  28. package/dist/models/SelectedDataStrategy.js.map +1 -0
  29. package/dist/models/TagResourcesRequest.d.ts +79 -0
  30. package/dist/models/TagResourcesRequest.js +89 -0
  31. package/dist/models/TagResourcesRequest.js.map +1 -0
  32. package/dist/models/TagResourcesResponse.d.ts +19 -0
  33. package/dist/models/TagResourcesResponse.js +69 -0
  34. package/dist/models/TagResourcesResponse.js.map +1 -0
  35. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  36. package/dist/models/TagResourcesResponseBody.js +58 -0
  37. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  38. package/dist/models/UntagResourcesRequest.d.ts +49 -0
  39. package/dist/models/UntagResourcesRequest.js +70 -0
  40. package/dist/models/UntagResourcesRequest.js.map +1 -0
  41. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  42. package/dist/models/UntagResourcesResponse.js +69 -0
  43. package/dist/models/UntagResourcesResponse.js.map +1 -0
  44. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  45. package/dist/models/UntagResourcesResponseBody.js +58 -0
  46. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  47. package/dist/models/UntagResourcesShrinkRequest.d.ts +49 -0
  48. package/dist/models/UntagResourcesShrinkRequest.js +64 -0
  49. package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
  50. package/dist/models/model.d.ts +15 -0
  51. package/dist/models/model.js +38 -7
  52. package/dist/models/model.js.map +1 -1
  53. package/package.json +1 -1
  54. package/src/client.ts +189 -2
  55. package/src/models/GetExperimentPlanResponseBody.ts +3 -0
  56. package/src/models/ListEvaluationTasksRequest.ts +6 -6
  57. package/src/models/ListEvaluationTasksResponseBody.ts +10 -10
  58. package/src/models/ListTagResourcesRequest.ts +109 -0
  59. package/src/models/ListTagResourcesResponse.ts +40 -0
  60. package/src/models/ListTagResourcesResponseBody.ts +122 -0
  61. package/src/models/ListTagResourcesShrinkRequest.ts +63 -0
  62. package/src/models/RunStrategies.ts +14 -0
  63. package/src/models/SearchContextRequest.ts +10 -10
  64. package/src/models/SearchContextResponseBody.ts +32 -6
  65. package/src/models/SelectedDataStrategy.ts +59 -0
  66. package/src/models/TagResourcesRequest.ts +114 -0
  67. package/src/models/TagResourcesResponse.ts +40 -0
  68. package/src/models/TagResourcesResponseBody.ts +34 -0
  69. package/src/models/UntagResourcesRequest.ts +74 -0
  70. package/src/models/UntagResourcesResponse.ts +40 -0
  71. package/src/models/UntagResourcesResponseBody.ts +34 -0
  72. package/src/models/UntagResourcesShrinkRequest.ts +68 -0
  73. package/src/models/model.ts +15 -0
@@ -0,0 +1,109 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListTagResourcesRequestTag extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag key.
9
+ *
10
+ * @example
11
+ * key1
12
+ */
13
+ key?: string;
14
+ /**
15
+ * @remarks
16
+ * The tag value.
17
+ *
18
+ * @example
19
+ * value1
20
+ */
21
+ value?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ key: 'key',
25
+ value: 'value',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ key: 'string',
32
+ value: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class ListTagResourcesRequest extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The pagination token. An empty value indicates that no additional pages exist.
49
+ *
50
+ * @example
51
+ * eyJuZXh0IjoiNDAifQ==
52
+ */
53
+ nextToken?: string;
54
+ /**
55
+ * @remarks
56
+ * The list of resource IDs.
57
+ *
58
+ * @example
59
+ * ["space-a","space-b"]
60
+ */
61
+ resourceId?: string[];
62
+ /**
63
+ * @remarks
64
+ * The resource type. Set the value to agentspace.
65
+ *
66
+ * This parameter is required.
67
+ *
68
+ * @example
69
+ * agentspace
70
+ */
71
+ resourceType?: string;
72
+ /**
73
+ * @remarks
74
+ * The tag filter conditions. Multiple conditions are combined with the AND operator. At least one of resourceId and tag must be specified.
75
+ */
76
+ tag?: ListTagResourcesRequestTag[];
77
+ static names(): { [key: string]: string } {
78
+ return {
79
+ nextToken: 'nextToken',
80
+ resourceId: 'resourceId',
81
+ resourceType: 'resourceType',
82
+ tag: 'tag',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ nextToken: 'string',
89
+ resourceId: { 'type': 'array', 'itemType': 'string' },
90
+ resourceType: 'string',
91
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
92
+ };
93
+ }
94
+
95
+ validate() {
96
+ if(Array.isArray(this.resourceId)) {
97
+ $dara.Model.validateArray(this.resourceId);
98
+ }
99
+ if(Array.isArray(this.tag)) {
100
+ $dara.Model.validateArray(this.tag);
101
+ }
102
+ super.validate();
103
+ }
104
+
105
+ constructor(map?: { [key: string]: any }) {
106
+ super(map);
107
+ }
108
+ }
109
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListTagResourcesResponseBody } from "./ListTagResourcesResponseBody";
4
+
5
+
6
+ export class ListTagResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListTagResourcesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListTagResourcesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,122 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListTagResourcesResponseBodyTagResources extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The resource ID.
9
+ *
10
+ * @example
11
+ * space-a
12
+ */
13
+ resourceId?: string;
14
+ /**
15
+ * @remarks
16
+ * The resource type. Set the value to agentspace.
17
+ *
18
+ * @example
19
+ * agentspace
20
+ */
21
+ resourceType?: string;
22
+ /**
23
+ * @remarks
24
+ * The tag key.
25
+ *
26
+ * @example
27
+ * key1
28
+ */
29
+ tagKey?: string;
30
+ /**
31
+ * @remarks
32
+ * The tag value.
33
+ *
34
+ * @example
35
+ * value1
36
+ */
37
+ tagValue?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ resourceId: 'resourceId',
41
+ resourceType: 'resourceType',
42
+ tagKey: 'tagKey',
43
+ tagValue: 'tagValue',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ resourceId: 'string',
50
+ resourceType: 'string',
51
+ tagKey: 'string',
52
+ tagValue: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class ListTagResourcesResponseBody extends $dara.Model {
66
+ /**
67
+ * @remarks
68
+ * The pagination token. An empty value indicates that no additional pages exist.
69
+ *
70
+ * @example
71
+ * eyJsYXN0SWQiOjEyMH0=
72
+ */
73
+ nextToken?: string;
74
+ /**
75
+ * @remarks
76
+ * The request ID.
77
+ *
78
+ * @example
79
+ * EB27D183-8F6C-5C5A-A6A3-E0508AF54F78
80
+ */
81
+ requestId?: string;
82
+ /**
83
+ * @remarks
84
+ * The list of tag information.
85
+ *
86
+ * @example
87
+ * [{
88
+ * "resourceType": "agentspace",
89
+ * "resourceId": "space-a",
90
+ * "tagKey": "key1",
91
+ * "tagValue": "value1"
92
+ * }]
93
+ */
94
+ tagResources?: ListTagResourcesResponseBodyTagResources[];
95
+ static names(): { [key: string]: string } {
96
+ return {
97
+ nextToken: 'nextToken',
98
+ requestId: 'requestId',
99
+ tagResources: 'tagResources',
100
+ };
101
+ }
102
+
103
+ static types(): { [key: string]: any } {
104
+ return {
105
+ nextToken: 'string',
106
+ requestId: 'string',
107
+ tagResources: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResources },
108
+ };
109
+ }
110
+
111
+ validate() {
112
+ if(Array.isArray(this.tagResources)) {
113
+ $dara.Model.validateArray(this.tagResources);
114
+ }
115
+ super.validate();
116
+ }
117
+
118
+ constructor(map?: { [key: string]: any }) {
119
+ super(map);
120
+ }
121
+ }
122
+
@@ -0,0 +1,63 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListTagResourcesShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The pagination token. An empty value indicates that no additional pages exist.
9
+ *
10
+ * @example
11
+ * eyJuZXh0IjoiNDAifQ==
12
+ */
13
+ nextToken?: string;
14
+ /**
15
+ * @remarks
16
+ * The list of resource IDs.
17
+ *
18
+ * @example
19
+ * ["space-a","space-b"]
20
+ */
21
+ resourceIdShrink?: string;
22
+ /**
23
+ * @remarks
24
+ * The resource type. Set the value to agentspace.
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * agentspace
30
+ */
31
+ resourceType?: string;
32
+ /**
33
+ * @remarks
34
+ * The tag filter conditions. Multiple conditions are combined with the AND operator. At least one of resourceId and tag must be specified.
35
+ */
36
+ tagShrink?: string;
37
+ static names(): { [key: string]: string } {
38
+ return {
39
+ nextToken: 'nextToken',
40
+ resourceIdShrink: 'resourceId',
41
+ resourceType: 'resourceType',
42
+ tagShrink: 'tag',
43
+ };
44
+ }
45
+
46
+ static types(): { [key: string]: any } {
47
+ return {
48
+ nextToken: 'string',
49
+ resourceIdShrink: 'string',
50
+ resourceType: 'string',
51
+ tagShrink: 'string',
52
+ };
53
+ }
54
+
55
+ validate() {
56
+ super.validate();
57
+ }
58
+
59
+ constructor(map?: { [key: string]: any }) {
60
+ super(map);
61
+ }
62
+ }
63
+
@@ -2,6 +2,7 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
  import { BackfillStrategy } from "./BackfillStrategy";
4
4
  import { ContinuousStrategy } from "./ContinuousStrategy";
5
+ import { SelectedDataStrategy } from "./SelectedDataStrategy";
5
6
 
6
7
 
7
8
  export class RunStrategies extends $dara.Model {
@@ -21,10 +22,19 @@ export class RunStrategies extends $dara.Model {
21
22
  * {"enabled":true,"intervalUnit":"HOUR","intervalValue":1,"dataDelayMinutes":5}
22
23
  */
23
24
  continuous?: ContinuousStrategy;
25
+ /**
26
+ * @remarks
27
+ * The selection of specified objects for evaluation.
28
+ *
29
+ * @example
30
+ * {"startTime":1794542191,"endTime":1795146991,"evalIds":["2646a9380bba3c86371f55a0226322941794983634"]}
31
+ */
32
+ selectedData?: SelectedDataStrategy;
24
33
  static names(): { [key: string]: string } {
25
34
  return {
26
35
  backfill: 'backfill',
27
36
  continuous: 'continuous',
37
+ selectedData: 'selectedData',
28
38
  };
29
39
  }
30
40
 
@@ -32,6 +42,7 @@ export class RunStrategies extends $dara.Model {
32
42
  return {
33
43
  backfill: BackfillStrategy,
34
44
  continuous: ContinuousStrategy,
45
+ selectedData: SelectedDataStrategy,
35
46
  };
36
47
  }
37
48
 
@@ -42,6 +53,9 @@ export class RunStrategies extends $dara.Model {
42
53
  if(this.continuous && typeof (this.continuous as any).validate === 'function') {
43
54
  (this.continuous as any).validate();
44
55
  }
56
+ if(this.selectedData && typeof (this.selectedData as any).validate === 'function') {
57
+ (this.selectedData as any).validate();
58
+ }
45
59
  super.validate();
46
60
  }
47
61
 
@@ -65,10 +65,10 @@ export class SearchContextRequestScope extends $dara.Model {
65
65
  export class SearchContextRequest extends $dara.Model {
66
66
  /**
67
67
  * @remarks
68
- * The structured filter conditions. The key is the field name, and the value is the expected match value.
68
+ * The structured filter conditions. The experience store supports scene. When __agentloopControl.mode is set to direct, hybrid, or agentic, multi-strategy recall with auditing is used, and you can pass source, callId, application, fields, channels, and budget simultaneously. The management plane can additionally pass contentStatus=all, active, candidate, gray, or deprecated to perform content retrieval, which includes disabled or unreviewed content and is not affected by store-level runtime switches. The API key runtime entry prohibits contentStatus and retains the original governance thresholds. The maximum value of timeoutMs is 60000. If mode is not passed, the existing semantics of fields, channels, minQualityScore, expansion, and debug are retained. When query is *, you can use includeCandidates, cursor, and offset to browse experiences (management plane only).
69
69
  *
70
70
  * @example
71
- * {"userId":"alice"}
71
+ * {"scene":"incident-recovery","__agentloopControl":{"fields":["when_to_use","summary"],"channels":["vector","fulltext"],"minQualityScore":0.6,"expansion":false,"debug":true}}
72
72
  */
73
73
  filter?: { [key: string]: any };
74
74
  /**
@@ -81,7 +81,7 @@ export class SearchContextRequest extends $dara.Model {
81
81
  formatted?: boolean;
82
82
  /**
83
83
  * @remarks
84
- * Specifies whether to include memories with sourceState=inactive. Default value: false.
84
+ * Specifies whether to include memories with sourceState set to inactive. Default value: false.
85
85
  *
86
86
  * @example
87
87
  * false
@@ -89,7 +89,7 @@ export class SearchContextRequest extends $dara.Model {
89
89
  includeInactive?: boolean;
90
90
  /**
91
91
  * @remarks
92
- * The maximum number of returned results based on the top-N similarity.
92
+ * The maximum number of returned results (Top-N similarity).
93
93
  *
94
94
  * @example
95
95
  * 10
@@ -102,25 +102,25 @@ export class SearchContextRequest extends $dara.Model {
102
102
  * This parameter is required.
103
103
  *
104
104
  * @example
105
- * Recent user preferences
105
+ * Recent user preference settings
106
106
  */
107
107
  query?: string;
108
108
  /**
109
109
  * @remarks
110
- * The retrieval options used to control the retrieval strategy.
110
+ * The retrieval options. The experience store supports normal and reranker (deterministic reranking). The memory store uses its own retrieval strategy. For real-time recall in the experience store, the limit ranges from 1 to 20.
111
111
  *
112
112
  * @example
113
- * semantic
113
+ * normal
114
114
  */
115
115
  retrievalOption?: string;
116
116
  /**
117
117
  * @remarks
118
- * The recall scope. If a field with the same name exists in the filter, a 400 ScopeFilterConflict error is returned.
118
+ * The recall scope. If this field conflicts with a field of the same name in filter, a 400 ScopeFilterConflict error is returned.
119
119
  */
120
120
  scope?: SearchContextRequestScope;
121
121
  /**
122
122
  * @remarks
123
- * Filters results by extraction strategy IDs. Multiple IDs in the list are evaluated with an OR logic. If this parameter is not specified, all strategies are recalled. An empty list returns a 400 error. Valid IDs with no matches return empty results. Historical removed strategy IDs are supported.
123
+ * Filters results by extraction strategy IDs. The conditions in the list are combined by using the OR operator. If this parameter is not passed, all strategies are recalled. An empty list returns a 400 error. If the format is valid but no matching IDs are found, an empty result is returned. Historical removed strategy IDs are supported.
124
124
  *
125
125
  * @example
126
126
  * ["preferences","profile"]
@@ -128,7 +128,7 @@ export class SearchContextRequest extends $dara.Model {
128
128
  strategyIds?: string[];
129
129
  /**
130
130
  * @remarks
131
- * The similarity threshold. Results with a similarity score below this value are filtered out. Valid values: 0 to 1.
131
+ * The similarity threshold. Results with a score lower than this value are filtered out. Valid values: 0 to 1.
132
132
  *
133
133
  * @example
134
134
  * 0.5
@@ -13,7 +13,7 @@ export class SearchContextResponseBody extends $dara.Model {
13
13
  auditStatus?: string;
14
14
  /**
15
15
  * @remarks
16
- * The call ID for the multi-strategy recall of the experience store.
16
+ * The call ID for multi-strategy recall in the experience store.
17
17
  *
18
18
  * @example
19
19
  * 550e8400-e29b-41d4-a716-446655440000
@@ -22,11 +22,22 @@ export class SearchContextResponseBody extends $dara.Model {
22
22
  /**
23
23
  * @remarks
24
24
  * The diagnostics information for the current experience recall, including duration, model call volume, and filtering. The actual diagnostics items are determined by the running mode.
25
+ *
26
+ * @example
27
+ * {
28
+ * "durationMs": 386.5,
29
+ * "modelCalls": 2,
30
+ * "relevanceValidation": "semantic",
31
+ * "candidateCount": 1,
32
+ * "filtering": {
33
+ * "model_not_relevant": 0
34
+ * }
35
+ * }
25
36
  */
26
37
  diagnostics?: { [key: string]: any };
27
38
  /**
28
39
  * @remarks
29
- * The actual experience recall mode used for the current request. Valid values: direct, agentic, and hybrid.
40
+ * The experience recall mode actually used for the current request. Valid values: direct, agentic, and hybrid.
30
41
  *
31
42
  * @example
32
43
  * agentic
@@ -34,7 +45,7 @@ export class SearchContextResponseBody extends $dara.Model {
34
45
  mode?: string;
35
46
  /**
36
47
  * @remarks
37
- * The ID of the recall event. You can use this ID to call the GetContextStoreRecall operation to view audit details.
48
+ * The ID of the recall event. You can use this ID to call GetContextStoreRecall to view audit details.
38
49
  *
39
50
  * @example
40
51
  * 0190f1c2-7d3e-7a1b-9c4d-2e5f6a7b8c9d
@@ -43,11 +54,20 @@ export class SearchContextResponseBody extends $dara.Model {
43
54
  /**
44
55
  * @remarks
45
56
  * The list of relevance judgment results for candidate experiences.
57
+ *
58
+ * @example
59
+ * [
60
+ * {
61
+ * "contextId": "a:1",
62
+ * "judgment": "relevant",
63
+ * "reason": "This experience explains how to skip tasks with unchanged inputs, which is relevant to the search query."
64
+ * }
65
+ * ]
46
66
  */
47
67
  relevance?: { [key: string]: any }[];
48
68
  /**
49
69
  * @remarks
50
- * The ID of the request. You can use this ID to locate the request for troubleshooting.
70
+ * The ID of the request. You can use this ID to locate the request when troubleshooting issues.
51
71
  *
52
72
  * @example
53
73
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -55,12 +75,18 @@ export class SearchContextResponseBody extends $dara.Model {
55
75
  requestId?: string;
56
76
  /**
57
77
  * @remarks
58
- * The list of retrieval results, sorted by similarity in descending order.
78
+ * The list of retrieval results, sorted by similarity in descending order. Each item contains contextId, context, metadata, score, rank, revision, strategyVersion, and strategyId.
79
+ *
80
+ * @example
81
+ * [{"contextId":"01a1cf08-c368-7c83******","strategyId":"default","context":"The assistant recommends steamed seafood because it is fresh and not spicy, which aligns with the user\\"s preference for seafood and constraint against spicy food.","metadata":{"contextType":"memory","memoryType":"long","userId":"test_user_002","agentId":"95273000000000","appId":"mm_480d961******","runId":"jr-80ded1d6******","strategyId":"default","category":"recommendation","kind":"state","sourceKind":"api","sourceId":"addctx:75395808-cb81-54cd******","revision":1,"reviewStatus":"unreviewed","sourceState":"active","factKey":"assistant:recommendation:dish******","sessionId":"test_session_001"},"score":0.6617179,"rank":1,"revision":1,"strategyVersion":1}]
59
82
  */
60
83
  results?: { [key: string]: any }[];
61
84
  /**
62
85
  * @remarks
63
86
  * The list of rewritten queries generated based on the original retrieval query. The original query is not included.
87
+ *
88
+ * @example
89
+ * ["How to avoid repeatedly executing unchanged inputs"]
64
90
  */
65
91
  rewrittenQueries?: string[];
66
92
  /**
@@ -73,7 +99,7 @@ export class SearchContextResponseBody extends $dara.Model {
73
99
  status?: string;
74
100
  /**
75
101
  * @remarks
76
- * The strategy implementation version used for the current experience recall. This is used for auditing and result tracing.
102
+ * The implementation version of the strategy used for the current experience recall. This is used for auditing and result tracing.
77
103
  *
78
104
  * @example
79
105
  * experience-recall-20261031-v5
@@ -0,0 +1,59 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SelectedDataStrategy extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The end time of the statistical window in UNIX seconds.
9
+ *
10
+ * @example
11
+ * 1735660800
12
+ */
13
+ endTime?: number;
14
+ /**
15
+ * @remarks
16
+ * The list of evaluation IDs.
17
+ *
18
+ * @example
19
+ * ["2646a9380bba3c86371f55a0226322941794983634"]
20
+ */
21
+ evalIds?: string[];
22
+ /**
23
+ * @remarks
24
+ * The estimated start time in milliseconds.
25
+ *
26
+ * > You can modify this parameter only when the course is in the preview state.
27
+ *
28
+ * @example
29
+ * 1735574400
30
+ */
31
+ startTime?: number;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ endTime: 'endTime',
35
+ evalIds: 'evalIds',
36
+ startTime: 'startTime',
37
+ };
38
+ }
39
+
40
+ static types(): { [key: string]: any } {
41
+ return {
42
+ endTime: 'number',
43
+ evalIds: { 'type': 'array', 'itemType': 'string' },
44
+ startTime: 'number',
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ if(Array.isArray(this.evalIds)) {
50
+ $dara.Model.validateArray(this.evalIds);
51
+ }
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+