Add tier-gated RAG and Drive document sources (#42)
Ship allows_rag entitlement (founders/backer/pro/business), enforce it on document APIs and RAG chat, harden ingest/delete/active lifecycle, and add Google/Microsoft Drive connect + sync for personal and company knowledge bases. Closes #43 #44 #45 #46 #47 #48 #49 #50 #51 #52 #53 Parent epic: #42 Related: #11
This commit is contained in:
@@ -82,5 +82,6 @@ class SubscriptionPlanSerializer(serializers.ModelSerializer):
|
||||
return {
|
||||
"text_generation": obj.allows_feature("text_generation"),
|
||||
"image_generation": obj.allows_feature("image_generation"),
|
||||
"rag": obj.allows_feature("rag"),
|
||||
"all_future_features": obj.allows_all_future_features,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user