@alicloud/agentloop20260520 2.5.2 → 2.5.3

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.
@@ -46,10 +46,10 @@ export declare class SearchContextRequestScope extends $dara.Model {
46
46
  export declare class SearchContextRequest extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
- * The structured filter conditions. The key is the field name, and the value is the expected match value.
49
+ * 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).
50
50
  *
51
51
  * @example
52
- * {"userId":"alice"}
52
+ * {"scene":"incident-recovery","__agentloopControl":{"fields":["when_to_use","summary"],"channels":["vector","fulltext"],"minQualityScore":0.6,"expansion":false,"debug":true}}
53
53
  */
54
54
  filter?: {
55
55
  [key: string]: any;
@@ -64,7 +64,7 @@ export declare class SearchContextRequest extends $dara.Model {
64
64
  formatted?: boolean;
65
65
  /**
66
66
  * @remarks
67
- * Specifies whether to include memories with sourceState=inactive. Default value: false.
67
+ * Specifies whether to include memories with sourceState set to inactive. Default value: false.
68
68
  *
69
69
  * @example
70
70
  * false
@@ -72,7 +72,7 @@ export declare class SearchContextRequest extends $dara.Model {
72
72
  includeInactive?: boolean;
73
73
  /**
74
74
  * @remarks
75
- * The maximum number of returned results based on the top-N similarity.
75
+ * The maximum number of returned results (Top-N similarity).
76
76
  *
77
77
  * @example
78
78
  * 10
@@ -85,25 +85,25 @@ export declare class SearchContextRequest extends $dara.Model {
85
85
  * This parameter is required.
86
86
  *
87
87
  * @example
88
- * Recent user preferences
88
+ * Recent user preference settings
89
89
  */
90
90
  query?: string;
91
91
  /**
92
92
  * @remarks
93
- * The retrieval options used to control the retrieval strategy.
93
+ * 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.
94
94
  *
95
95
  * @example
96
- * semantic
96
+ * normal
97
97
  */
98
98
  retrievalOption?: string;
99
99
  /**
100
100
  * @remarks
101
- * The recall scope. If a field with the same name exists in the filter, a 400 ScopeFilterConflict error is returned.
101
+ * The recall scope. If this field conflicts with a field of the same name in filter, a 400 ScopeFilterConflict error is returned.
102
102
  */
103
103
  scope?: SearchContextRequestScope;
104
104
  /**
105
105
  * @remarks
106
- * 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.
106
+ * 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.
107
107
  *
108
108
  * @example
109
109
  * ["preferences","profile"]
@@ -111,7 +111,7 @@ export declare class SearchContextRequest extends $dara.Model {
111
111
  strategyIds?: string[];
112
112
  /**
113
113
  * @remarks
114
- * The similarity threshold. Results with a similarity score below this value are filtered out. Valid values: 0 to 1.
114
+ * The similarity threshold. Results with a score lower than this value are filtered out. Valid values: 0 to 1.
115
115
  *
116
116
  * @example
117
117
  * 0.5
@@ -10,7 +10,7 @@ export declare class SearchContextResponseBody extends $dara.Model {
10
10
  auditStatus?: string;
11
11
  /**
12
12
  * @remarks
13
- * The call ID for the multi-strategy recall of the experience store.
13
+ * The call ID for multi-strategy recall in the experience store.
14
14
  *
15
15
  * @example
16
16
  * 550e8400-e29b-41d4-a716-446655440000
@@ -19,13 +19,24 @@ export declare class SearchContextResponseBody extends $dara.Model {
19
19
  /**
20
20
  * @remarks
21
21
  * 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.
22
+ *
23
+ * @example
24
+ * {
25
+ * "durationMs": 386.5,
26
+ * "modelCalls": 2,
27
+ * "relevanceValidation": "semantic",
28
+ * "candidateCount": 1,
29
+ * "filtering": {
30
+ * "model_not_relevant": 0
31
+ * }
32
+ * }
22
33
  */
23
34
  diagnostics?: {
24
35
  [key: string]: any;
25
36
  };
26
37
  /**
27
38
  * @remarks
28
- * The actual experience recall mode used for the current request. Valid values: direct, agentic, and hybrid.
39
+ * The experience recall mode actually used for the current request. Valid values: direct, agentic, and hybrid.
29
40
  *
30
41
  * @example
31
42
  * agentic
@@ -33,7 +44,7 @@ export declare class SearchContextResponseBody extends $dara.Model {
33
44
  mode?: string;
34
45
  /**
35
46
  * @remarks
36
- * The ID of the recall event. You can use this ID to call the GetContextStoreRecall operation to view audit details.
47
+ * The ID of the recall event. You can use this ID to call GetContextStoreRecall to view audit details.
37
48
  *
38
49
  * @example
39
50
  * 0190f1c2-7d3e-7a1b-9c4d-2e5f6a7b8c9d
@@ -42,13 +53,22 @@ export declare class SearchContextResponseBody extends $dara.Model {
42
53
  /**
43
54
  * @remarks
44
55
  * The list of relevance judgment results for candidate experiences.
56
+ *
57
+ * @example
58
+ * [
59
+ * {
60
+ * "contextId": "a:1",
61
+ * "judgment": "relevant",
62
+ * "reason": "This experience explains how to skip tasks with unchanged inputs, which is relevant to the search query."
63
+ * }
64
+ * ]
45
65
  */
46
66
  relevance?: {
47
67
  [key: string]: any;
48
68
  }[];
49
69
  /**
50
70
  * @remarks
51
- * The ID of the request. You can use this ID to locate the request for troubleshooting.
71
+ * The ID of the request. You can use this ID to locate the request when troubleshooting issues.
52
72
  *
53
73
  * @example
54
74
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -56,7 +76,10 @@ export declare class SearchContextResponseBody extends $dara.Model {
56
76
  requestId?: string;
57
77
  /**
58
78
  * @remarks
59
- * The list of retrieval results, sorted by similarity in descending order.
79
+ * The list of retrieval results, sorted by similarity in descending order. Each item contains contextId, context, metadata, score, rank, revision, strategyVersion, and strategyId.
80
+ *
81
+ * @example
82
+ * [{"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}]
60
83
  */
61
84
  results?: {
62
85
  [key: string]: any;
@@ -64,6 +87,9 @@ export declare class SearchContextResponseBody extends $dara.Model {
64
87
  /**
65
88
  * @remarks
66
89
  * The list of rewritten queries generated based on the original retrieval query. The original query is not included.
90
+ *
91
+ * @example
92
+ * ["How to avoid repeatedly executing unchanged inputs"]
67
93
  */
68
94
  rewrittenQueries?: string[];
69
95
  /**
@@ -76,7 +102,7 @@ export declare class SearchContextResponseBody extends $dara.Model {
76
102
  status?: string;
77
103
  /**
78
104
  * @remarks
79
- * The strategy implementation version used for the current experience recall. This is used for auditing and result tracing.
105
+ * The implementation version of the strategy used for the current experience recall. This is used for auditing and result tracing.
80
106
  *
81
107
  * @example
82
108
  * experience-recall-20261031-v5
@@ -1 +1 @@
1
- {"version":3,"file":"SearchContextResponseBody.js","sourceRoot":"","sources":["../../src/models/SearchContextResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IA6ExD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,M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8DA0JC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/agentloop20260520",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -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