Skip to content

Commit b865449

Browse files
update image and link
1 parent b2e8428 commit b865449

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

assets/role-based-rag.png

38.8 KB
Loading

python-recipes/RAG/07_user_role_based_rag.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"2. Knowledge base **Documents** in Redis are tagged with the official roles that can access them (`allowed_roles`).\n",
1616
"3. A unified **query flow** ensures a user only sees documents that match at least one of their roles.\n",
1717
"\n",
18-
"![image-3.png](../../assets/role-based-rag.png)"
18+
"![Role Based RAG](https://raw.githubusercontent.com/redis-developer/redis-ai-resources/main/assets/role-based-rag.png)"
1919
]
2020
},
2121
{
@@ -76,6 +76,7 @@
7676
"1. **User Creation & Role Management**\n",
7777
" - A user is stored at `user:{user_id}` in Redis with a JSON structure containing the user’s roles.\n",
7878
" - We can create, update, or delete users as needed.\n",
79+
" - **This serves as a simple look up layer and should NOT replace your production-ready auth API flow**\n",
7980
"\n",
8081
"2. **Document Storage**\n",
8182
" - Documents chunks are stored at `doc:{doc_id}:{chunk_id}` in Redis as JSON.\n",

0 commit comments

Comments
 (0)