Feature/rag backend#521
Merged
Merged
Conversation
dustins
reviewed
Oct 23, 2025
dustins
reviewed
Oct 23, 2025
dustins
reviewed
Oct 23, 2025
dustins
reviewed
Oct 23, 2025
dustins
reviewed
Oct 23, 2025
dustins
reviewed
Oct 23, 2025
dustins
reviewed
Oct 23, 2025
dustins
reviewed
Oct 23, 2025
f8ac200 to
8fa1d50
Compare
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
dustins
reviewed
Oct 24, 2025
estohlmann
reviewed
Oct 27, 2025
* Move MCP to separate stack
8c1c4f0 to
ebc504b
Compare
bedanley
added a commit
that referenced
this pull request
Oct 30, 2025
* Add collection rag schema * Add collection repo * Add collection service * Add collections CRUD API * Add Collections Table * Update document ingestion using collections * Update delete docs from collections * Add sdk and collection tests * Add RAG Collection API and Tests
bedanley
added a commit
that referenced
this pull request
Nov 11, 2025
* Add collection rag schema * Add collection repo * Add collection service * Add collections CRUD API * Add Collections Table * Update document ingestion using collections * Update delete docs from collections * Add sdk and collection tests * Add RAG Collection API and Tests
bedanley
added a commit
that referenced
this pull request
Nov 12, 2025
* Feature/rag backend (#521) * Add collection rag schema * Add collection repo * Add collection service * Add collections CRUD API * Add Collections Table * Update document ingestion using collections * Update delete docs from collections * Add sdk and collection tests * Add RAG Collection API and Tests * rag collection UI * default collection deletion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrading RAG to support Collections
Overview
This PR introduces a comprehensive collections management system for LISA's RAG functionality, enabling users to organize documents with different chunking strategies, access controls, and metadata without requiring infrastructure changes.
Key Features
1. Collection Management
2. Enhanced Document Ingestion
3. Access Control Framework
4. API Enhancements
Technical Changes
Database Schema
LisaRagCollectionsTablewith GSIs for queryingCollectionIndexGSIcollectionId,repositoryId,chunkingStrategy,metadata, etc.Backend Components
collection_repo.py: DynamoDB operations for collectionscollection_service.py: Business logic and orchestrationcollection_validation.py: Validation rules and constraintscollection_access_control.py: Permission checkingchunking_strategy_factory.py: Extensible chunking strategy systemaccess_control.py: Generic access control frameworkAPI Endpoints
POST /repository/{repositoryId}/collection
GET /repository/{repositoryId}/collection/{collectionId}
PUT /repository/{repositoryId}/collection/{collectionId}
DELETE /repository/{repositoryId}/collection/{collectionId}
GET /repository/{repositoryId}/collections
SDK Updates
lisapy/collection.py: Collection management methodslisapy/rag.py: Collection-aware document operationsTesting
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.