fleet-memory/hindsight-api/hindsight_api/engine
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
..
retain fix: misc perf improvements (#133) 2026-01-08 22:49:04 +01:00
search feat: support for multilingual content (#124) 2026-01-08 12:14:41 +01:00
__init__.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
cross_encoder.py feat: support cohere as embeddings and reranker (#122) 2026-01-08 11:41:15 +01:00
db_utils.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
embeddings.py feat: support cohere as embeddings and reranker (#122) 2026-01-08 11:41:15 +01:00
entity_resolver.py fix: misc perf improvements (#133) 2026-01-08 22:49:04 +01:00
interface.py fix: ui shows only 1000 memories (#121) 2026-01-08 11:22:10 +01:00
llm_wrapper.py fix: misc perf improvements (#133) 2026-01-08 22:49:04 +01:00
memory_engine.py feat: add configs for database connection (#128) 2026-01-08 16:37:08 +01:00
query_analyzer.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
response_models.py feat: Add per-request LLM token usage metrics (#117) 2026-01-08 10:36:58 +01:00
task_backend.py fix: misc perf improvements (#133) 2026-01-08 22:49:04 +01:00
utils.py feat: Add per-request LLM token usage metrics (#117) 2026-01-08 10:36:58 +01:00