Add S3 storage client and API routes for document management: - Implement s3_routes.py with file upload, download, delete endpoints - Enhance s3_client.py with improved error handling and operations - Add S3 browser UI component with file viewing and management - Implement FileViewer and PDFViewer components for storage preview - Add Resizable and Sheet UI components for layout control Update backend infrastructure: - Add bulk operations and parameterized queries to postgres_impl.py - Enhance document routes with improved type hints - Update API server registration for new S3 routes - Refine upload routes and utility functions Modernize web UI: - Integrate S3 browser into main application layout - Update localization files for storage UI strings - Add storage settings to application configuration - Sync package dependencies and lock files Remove obsolete reproduction script: - Delete reproduce_citation.py (replaced by test suite) Update configuration: - Enhance pyrightconfig.json for stricter type checking
21 lines
566 B
Python
21 lines
566 B
Python
"""
|
|
This module contains all the routers for the LightRAG API.
|
|
"""
|
|
|
|
from .document_routes import router as document_router
|
|
from .graph_routes import router as graph_router
|
|
from .ollama_api import OllamaAPI
|
|
from .query_routes import router as query_router
|
|
from .s3_routes import create_s3_routes
|
|
from .search_routes import create_search_routes
|
|
from .upload_routes import create_upload_routes
|
|
|
|
__all__ = [
|
|
'OllamaAPI',
|
|
'document_router',
|
|
'graph_router',
|
|
'query_router',
|
|
'create_s3_routes',
|
|
'create_search_routes',
|
|
'create_upload_routes',
|
|
]
|