Add ParadeDB hybrid RAG support - #639
Open
semhoun wants to merge 3 commits into
Open
Conversation
Contributor
|
You should remove the example from the README. |
Removed section on ParadeDB hybrid retrieval from README.
Author
I remove all modification from README. |
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.
Type of Change
Description
What does this PR do?
Adds first-party ParadeDB support for retrieval-augmented generation:
HybridRetrievalstrategyWhy is this change needed?
ParadeDB provides PostgreSQL-native BM25 search and integrates with pgvector.
Combining both retrieval methods improves results for queries containing exact
identifiers or keywords while preserving semantic matching.
How should this change be used and documented?
Instantiate
ParadeDBVectorStorewith a PDO PostgreSQL connection, initializethe table with
setupTable(), and configureHybridRetrievalexplicitly on theRAG instance. A complete example is included in the README.
Related Issues
Testing
Integration tests were executed against the existing Compose ParadeDB instance
with pg_search 0.25.2 and pgvector 0.8.4.
Results:
Breaking Changes
Documentation
Checklist
Additional Notes
The CI suite now starts ParadeDB and configures the integration tests through
PARADEDB_DSN,PARADEDB_USER, andPARADEDB_PASSWORD.