File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 12
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-51498a77be155823007306ade088caca08102547dec1860625b8c111bf5a19b3 .yml
3
- openapi_spec_hash : 2a18759ac9605976ae0555be3735d711
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-be07470b9ac183653e025d87493d1fa66e1099c281d78c11b4822c56b81f3ce3 .yml
3
+ openapi_spec_hash : ab48eeb62ea3b68bec83da9b3e246680
4
4
config_hash : 7de501e35fac51548f27b070f899efa4
Original file line number Diff line number Diff line change @@ -112,6 +112,12 @@ export interface SearchExecuteParams {
112
112
*/
113
113
chunkThreshold ?: number ;
114
114
115
+ /**
116
+ * Optional tags this search should be containerized by. This can be an ID for your
117
+ * user, a project ID, or any other identifier you wish to use to filter memories.
118
+ */
119
+ containerTags ?: Array < string > ;
120
+
115
121
/**
116
122
* Optional document ID to search within. You can use this to find chunks in a very
117
123
* large document.
@@ -159,12 +165,6 @@ export interface SearchExecuteParams {
159
165
* the latency by about 400ms
160
166
*/
161
167
rewriteQuery ?: boolean ;
162
-
163
- /**
164
- * End user ID this search is associated with. NOTE: This also acts as a filter for
165
- * the search.
166
- */
167
- userId ?: string ;
168
168
}
169
169
170
170
export namespace SearchExecuteParams {
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ describe('resource search', () => {
26
26
q : 'machine learning concepts' ,
27
27
categoriesFilter : [ 'technology' , 'science' ] ,
28
28
chunkThreshold : 0.5 ,
29
+ containerTags : [ 'user_123' , 'project_123' ] ,
29
30
docId : 'doc_xyz789' ,
30
31
documentThreshold : 0.5 ,
31
32
filters : {
@@ -46,7 +47,6 @@ describe('resource search', () => {
46
47
onlyMatchingChunks : false ,
47
48
rerank : false ,
48
49
rewriteQuery : false ,
49
- userId : 'user_123' ,
50
50
} ) ;
51
51
} ) ;
52
52
} ) ;
You can’t perform that action at this time.
0 commit comments