<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> - Refactored `brute_force_triplet_search`, extracting memory projection. - Built **TripletSearchContextProvider** (extends **BaseContextProvider**) to create a single memory projection and perform a triplet search for each entity. - Refactored `entity_completion` into **EntityCompletionRetriever** (extends **BaseRetriever**). - Added **SummarizedTripletSearchContextProvider** (extends **TripletSearchContextProvider**) for an alternative summarized output format. - Developed and tested an example showcasing both context providers, comparing raw triplets, summaries, and standard search results. ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced text summarization now delivers clearer, more concise overviews of search results. - Improved search performance with optimized context retrieval and memory reuse for faster, more reliable results. - Introduced advanced entity-based completion for generating more relevant, context-aware responses. - **Refactor** - Streamlined internal workflows and error handling to ensure a smoother overall experience. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Boris <boris@topoteretes.com> |
||
|---|---|---|
| .. | ||
| data | ||
| node | ||
| python | ||