fleet-memory/hindsight-api/hindsight_api/engine/retain
Nicolò Boschi ba99b4422a
fix: misc perf improvements (#133)
* fix: misc perf improvements

* more tests

* fix test

* fix: update test files for new extract_facts_from_text signature

- Replace test_fact_extraction_token_analysis with test_fact_extraction_basic_analysis
  using inline sample content instead of external file
- Update test_fact_extraction_output_ratio.py to unpack 3 return values
  (facts, chunks, usage) instead of 2

* fix: make temporal tests more flexible for LLM variation

- test_temporal_absolute_conversion: check occurred_start field instead of
  requiring specific text in facts
- test_date_field_calculation_yesterday: make assertions conditional on
  having temporal data, add more content for better extraction
- test_temporal_ordering: reduce minimum required facts from 3 to 2
2026-01-08 22:49:04 +01:00
..
__init__.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
bank_utils.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
chunk_storage.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
deduplication.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
embedding_processing.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
embedding_utils.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
entity_processing.py misc: add mcp integration tests and increase test coverage (#98) 2026-01-05 11:16:55 +01:00
fact_extraction.py fix: misc perf improvements (#133) 2026-01-08 22:49:04 +01:00
fact_storage.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
link_creation.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
link_utils.py fix: misc perf improvements (#133) 2026-01-08 22:49:04 +01:00
observation_regeneration.py feat(config): Add configurable observation thresholds (#83) 2026-01-01 16:22:25 +01:00
orchestrator.py feat: Add per-request LLM token usage metrics (#117) 2026-01-08 10:36:58 +01:00
types.py feat: Add user-provided entities support to retain endpoint (#91) 2026-01-05 10:05:17 +01:00