User Guide
User Guide for InspectRAG π§βπ»
About this Guide
This guide walks users through the steps to access InspectRAG, upload and query documents, and understand permission-based responses. It includes practical examples of queries and sample matching scenarios to help users understand how their roles and permissions impact their access.
1. Accessing InspectRAG
- Login via OpenID π
- Visit your organizationβs login page.
-
Enter your username and password.
-
Navigating to InspectRAG
- After logging in, you will land on the InspectChat homepage.
- Select the InspectRAG Plugin from the list of available plugins to start querying documents.
2. What You Can Query in InspectRAG
Your access to documents depends on your roles, group memberships, and permissions configured in Active Directory and mapped within InspectRAG.
Allowed Query Examples:
- By Document Title
Example: -
Response: If you have the necessary role (e.g., "Finance Team"), InspectRAG retrieves the report.
-
By Document Type
Example: -
Response: Retrieves relevant documents if you belong to the Meetings group.
-
By Document Creator
Example: - Response: Provides documents created by John if you have permission to access them.
3. Uploading Files via Chat π¬
- Upload a File:
- Click on the Upload button in the chat interface.
-
Select the file you want to upload.
-
Query the Uploaded File: Example:
- Response: InspectRAG extracts the requested information from the uploaded file.
4. SharePoint Integration Queries π
If SharePoint integration is enabled, you can access documents stored in SharePoint based on your permissions.
- Role-Based Query Example:
-
Response: InspectRAG returns only those reports that match your role or group.
-
Check File Updates:
- Response: Retrieves the updated document version with a summary of changes.
5. Permission Matching in Action π
When you submit a query, InspectRAG cross-references your roles, groups, or username with the file permissions and metadata.
Matching Scenarios:
- Successful Match Example
User Query: File Metadata: - file_id: 12345
- creator: Sarah Johnson
- permissions: Finance Team, Managers Group
- roles required: Finance Analyst or Manager
Userβs Roles:
- Finance Analyst
- Group: Finance Team
Response:
- Failed Match Example
User Query: File Metadata: - file_id: 67890
- creator: Legal Department
- permissions: Legal Team, Compliance Officers
- roles required: Compliance Officer
Userβs Roles: - Marketing Team Member
Response:
- For queries specific to restricted files, the AI responds in a neutral, context-less manner. For example:
- If a user asks about a restricted report, the response might be:
"Without specific details, it's challenging to provide an exact answer. Reports vary widely depending on the scope and purpose."
- Or, for a query about a restricted person in context, it might say:
"There are many individuals with that name. Could you clarify further?"
This approach subtly limits responses without disclosing restricted access, keeping interactions seamless yet secure.
6. Tips for Effective Queries
-
Use Specific Keywords:
Example:
-
Filter by Creator or Date:
Example:
-
Role-Based Queries:
Example:
7. Summary of Query Permissions
InspectRAG ensures that only authorized users access documents by matching your roles, group memberships, and username with the file permissions stored in SharePoint or applied during uploads.
This guide helps you understand how to: - Log in and navigate InspectRAG. - Upload files and query documents seamlessly. - Understand permission-based responses with practical examples.
By following the examples and tips in this guide, you can effectively use InspectRAG to retrieve the information you need securely and efficiently.