Commit Graph

14 Commits

Author SHA1 Message Date
07af68eb11 Refactor chat memory context generation: Simplify deduplication logic, remove minimum score filtering, and introduce explicit context loading modes. 2026-06-16 19:49:57 +02:00
78de35b2cb Refactor chat memory utilities: Update token limits, simplify score calculation, and remove deprecated expansion logic. 2026-06-16 19:49:35 +02:00
57a73d4597 Remove unused stopwords, conversation regex, and query expansions from chat memory module 2026-06-16 19:49:13 +02:00
64089af5c3 Refactor chat memory loading to use idiomatic SQLAlchemy ORM queries 2026-06-15 22:58:50 +02:00
9ea61d5e4f Refactor chat memory retrieval to load context from multiple recent sessions using ORM queries; adds option to skip memory-only turns. 2026-06-15 22:58:28 +02:00
964b75d4b7 Refactor chat memory logic to use sources_json for source validation and candidate loading 2026-06-15 22:57:37 +02:00
b5f90331e7 Enhance chat turn processing to correctly handle memory-only responses 2026-06-15 22:56:28 +02:00
ebfa50bf03 Refactor chat memory context loading and implement previous session history retrieval 2026-06-15 22:55:07 +02:00
a5ad7ab261 Improve hit deduplication by enforcing a minimum score threshold 2026-06-15 22:55:07 +02:00
4b0ed88176 Enhance chat memory scoring and token handling by adding expanded query tokens and refining ranking weights. 2026-06-15 22:54:25 +02:00
ebbc19c01d Enhance chat memory NLP by updating stopwords, improving last conversation detection regex, and adding query expansions. 2026-06-15 22:54:10 +02:00
1097ca46d8 Ensure chat memory schema exists before running core sync functions 2026-06-15 22:37:19 +02:00
d9e963ef74 auto-git:
[change] backend/chat_memory.py
2026-06-15 22:33:41 +02:00
d3e7ec56ee auto-git:
[add] backend/chat_memory.py
2026-06-15 22:33:41 +02:00