mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 20:34:28 +00:00
feat(search): add semantic search with embeddings and search mode toggle
This commit is contained in:
@@ -59,7 +59,7 @@ describe('AuthzService', () => {
|
||||
projectId: project.id,
|
||||
filter: {
|
||||
sourceFolderId: 'root',
|
||||
searchFilter: { conditions: [], operator: 'AND', recursively: true },
|
||||
searchFilter: { conditions: [], operator: 'AND', recursively: true, searchMode: 'name' },
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -263,7 +263,7 @@ describe('AuthzService', () => {
|
||||
projectId: project.id,
|
||||
filter: {
|
||||
sourceFolderId: 'root',
|
||||
searchFilter: { conditions: [], operator: 'AND', recursively: true },
|
||||
searchFilter: { conditions: [], operator: 'AND', recursively: true, searchMode: 'name' },
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user