WeKnora/internal/application/service/retriever
Claude 0dc32cb0c4 feat(retriever): exponential backoff + safety truncation for embeddings
batchEmbedWithBackoff replaces the previous fixed 100ms × 5 retry loop
with proper exponential backoff (200/400/800/1600/3200 ms) and respects
context cancellation between attempts. sanitizeForEmbedding caps any
single embedding input at 20k runes — well above realistic chunk
budgets, so it only triggers on pathologically large inputs and logs
a warning when it does.

https://claude.ai/code/session_01XADhx6mtu2ZYW3DE9Lun6k
2026-05-06 17:17:07 +08:00
..
composite.go feat: 批量更新tag时更新索引字段 2025-12-30 19:44:53 +08:00
keywords_vector_hybrid_indexer.go feat(retriever): exponential backoff + safety truncation for embeddings 2026-05-06 17:17:07 +08:00
registry.go feat: add registry dual-map and engine factory for VectorStore 2026-04-17 00:15:37 +08:00
registry_test.go feat: add registry dual-map and engine factory for VectorStore 2026-04-17 00:15:37 +08:00