feat(search): add semantic search with embeddings and search mode toggle

This commit is contained in:
yiling
2026-05-28 20:14:11 +08:00
parent a39f793050
commit 2eb6ff6c0e
18 changed files with 384 additions and 44 deletions
+2 -2
View File
@@ -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' },
},
},
})