Personal + company DocumentWorkspace model clarity for RAG #46

Open
opened 2026-08-01 13:05:32 -07:00 by westfarn · 0 comments
Owner

Parent: #42

Summary

Ensure personal workspace path for entitled users and company workspace for Business shared KB. Fail closed on multi-workspace .get() risks in chat_tenant_scope.

Acceptance

  • Clear personal vs company workspace resolution
  • No MultipleObjectsReturned on workspace lookup
  • Tests for scope resolution
Parent: [#42](https://git.aimloperations.com/ai_ml_operations/chat_backend/issues/42) ## Summary Ensure personal workspace path for entitled users and company workspace for Business shared KB. Fail closed on multi-workspace `.get()` risks in `chat_tenant_scope`. ## Acceptance - [ ] Clear personal vs company workspace resolution - [ ] No MultipleObjectsReturned on workspace lookup - [ ] Tests for scope resolution
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/chat_backend#46