feat(ebook): implement phrase matching functionality and UI enhancements

This commit is contained in:
Richie committed 2026-07-24 11:38:50 -04:00
1 parent a12e7461c5
commit 70bf8627a2
9 files changed
+151 -13

No files matched your search

+1
View File
@@ -89,6 +89,7 @@ class EbookSearchConfig(BaseSettings):
protected_phrase_max_candidates_per_book: int = 5000
protected_phrase_llm_candidates_per_book: int = 500
protected_phrase_confidence_threshold: float = 0.80
phrase_matching_enabled: bool = True
phrase_hit_boost: float = 0.25
phrase_min_tokens: int = 2
phrase_max_tokens: int = 5