Spaces:
Running
Running
Commit History
-
Add role-based knowledge base access and multi-source chat attachment
Admin-assignable department roles gate which knowledge bases a user can see and query, enforced independently at the listing, attach, and chat endpoints. Knowledge bases can now be attached to a chat session server-side (any number at once, alongside personal uploads/connectors), surviving a page refresh and no longer silently cleared by a direct-in-chat upload. Retrieval merges results across all attached sources via RRF + rerank, extended to simple, advanced/graph, and Thinking (ReAct) modes, with citations tagged by origin. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>51fdbf2