Add allows_rag plan entitlement + seed + plan_to_dict #43

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

Parent: #42

Summary

Add allows_rag on SubscriptionPlan. Seed True for founders / backer / pro / business; False for standard. Extend allows_feature("rag") and expose via plan_to_dict / serializers / admin.

Acceptance

  • Migration + model field
  • PLAN_SEED updated
  • allows_feature recognizes rag / document_rag
  • API plan payload includes features.rag
  • Tests for seed + feature matrix
Parent: [#42](https://git.aimloperations.com/ai_ml_operations/chat_backend/issues/42) ## Summary Add `allows_rag` on `SubscriptionPlan`. Seed **True** for founders / backer / pro / business; **False** for standard. Extend `allows_feature("rag")` and expose via `plan_to_dict` / serializers / admin. ## Acceptance - [ ] Migration + model field - [ ] PLAN_SEED updated - [ ] `allows_feature` recognizes `rag` / `document_rag` - [ ] API plan payload includes `features.rag` - [ ] Tests for seed + feature matrix
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#43