mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-08 18:17:14 -05:00
[PR #14411] [CLOSED] feat Postgres JSONB Support #23466
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/14411
Author: @PVBLIC-F
Created: 5/27/2025
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (10+)
bea7b2cUpdate chats.pyc0a4aeeUpdate chats.pyeb42cceUpdate chats.py9d4dbf5Update chats.py4d915a9Update chats.py600614cUpdate chats.py6456e83Update chats.pyc95a6faUpdate chats.pya323ff9Update chats.py62711dbUpdate retrieval.py📊 Changes
2 files changed (+830 additions, -202 deletions)
View changed files
📝
backend/open_webui/models/chats.py(+586 -161)📝
backend/open_webui/routers/retrieval.py(+244 -41)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
-DatabaseAdapter System
The DatabaseAdapter pattern remains fully functional, providing:
Automatic database type detection with intelligent caching
Template-based query generation for cross-database compatibility
Graceful degradation for unsupported database features
Enterprise-Grade Features
All features continue to work seamlessly:
Multi-tag filtering with AND/OR logic
Content search across chat messages
Untagged chat identification
Pagination and sorting capabilities
Index optimization for large datasets
Quality Assessment
Clean separation of concerns between database adaptation and business logic
Comprehensive type safety and error handling
Sophisticated abstraction layers that hide database complexity
Performance optimizations without sacrificing code clarity
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.