Description
As part of Auth0 for AI Agents, leverage Auth0 FGA and to implement fine-grained authorization for Retrieval Augmented Generation (RAG). When a user prompts an AI agent for for information, the AI agent uses the RAG pipeline to generate a response. But what if the response has sensitive data? Using FGA, you can ensure the user has authorization to receive the data in the response before the response is rendered.
This lab uses adapted sample code from Auth0 documentation on how to set up Authorization for RAG using Auth0 FGA.
Duration
30 minutes
Before you start
- Create a GitHub account with Codespaces access. You can create a free GitHub account if you don't already have one.
- Create a new Auth0 account so that you have a fresh tenant for the labs.
How to complete this lab
- Access the GitHub repository for this lab.
- Select the Code button and select the Codespaces tab if not already selected.
- Select the + button to create a Codespace on this branch. It will take a minute or two to set up the Codespace.
- Follow the CODETOUR lab steps within the Codespace.
Need help?
Visit the Auth0 Training Labs FAQ or email educationondemand@okta.com.