You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(knowledge): check the window on the request, rerank with any key, and start a refined search at its first page
- the filters schema stays a plain object so the Assistant's search input can still extend it; the window's order is checked on the request body
- the dashboard asks for reranking outright, and the use case reranks only when the workspace or the platform holds a key
- a refinement of the filters starts over at the first page after the reader asked for more
- a custom window's days are the reader's local days
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/knowledge-search-results/knowledge-search-results.test.tsx
+32-2Lines changed: 32 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -196,6 +196,35 @@ describe('result paging and the custom window', () => {
196
196
expect(more()).toBeUndefined()
197
197
})
198
198
199
+
it('starts a refined search over at the first page after the reader asked for more',async()=>{
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/knowledge-search-results/knowledge-search-results.tsx
0 commit comments