Files
NexQuant/rdagent
TPTBusiness 2d0584b4cd feat: Intelligent embedding chunking instead of truncation
Change: Instead of truncating texts, now using intelligent chunking:

1. Content ≤ 20,000 characters: Single embedding (complete)
2. Content > 20,000 characters: Split into 20k chunks
   - Each chunk gets its own embedding
   - All embeddings are averaged
   - No information loss!

Benefits:
- No more text truncation
- Full information preserved
- Stays under 8192 token limit (nomic-embed-text)
- Average embedding represents entire text

Affected files:
- rdagent/components/knowledge_management/vector_base.py
2026-04-02 19:22:50 +02:00
..
2026-03-18 14:04:52 +08:00
2026-03-18 14:04:52 +08:00