feat: enhance hybrid search functionality and configuration#89
Draft
u11d-maciej-lopalewski wants to merge 1 commit into
Draft
feat: enhance hybrid search functionality and configuration#89u11d-maciej-lopalewski wants to merge 1 commit into
u11d-maciej-lopalewski wants to merge 1 commit into
Conversation
- Added `pnpm-workspace.yaml` to allow builds for specific packages. - Updated `CmsConfigModule` to export `CmsRedisService`. - Introduced `HYBRID_SEARCH_PATH` configuration in `configuration.ts` with a default value. - Extended `searchQuerySchema` to include `query_path` for hybrid search path selection. - Enhanced `HybridSearchService` to support dynamic search paths and improved scoring logic. - Implemented `expandWithSeeAlso` method to enrich search results with related codes. - Updated search utilities to include additional taxonomy fields in queries. - Modified search controller to accept `query_path` as a query parameter. - Adjusted sorting logic to prioritize pinned results in search responses. - Updated retrieval result interface to include `bm25Total` for better metadata handling.
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.
pnpm-workspace.yamlto allow builds for specific packages.CmsConfigModuleto exportCmsRedisService.HYBRID_SEARCH_PATHconfiguration inconfiguration.tswith a default value.searchQuerySchemato includequery_pathfor hybrid search path selection.HybridSearchServiceto support dynamic search paths and improved scoring logic.expandWithSeeAlsomethod to enrich search results with related codes.query_pathas a query parameter.bm25Totalfor better metadata handling.