forge
Explore
Log in

Don't you dare go Hollow

hezarfen_rag

Clone
★ 0

0 watching0 forksPython2.4 MiB184b84dAhmet Kaan Gümüş2 months ago189 commits

__init__.py9 lines, 441 bytesHistoryRawDownload
1"""Chunking (Faz 1.1) — CanonicalDoc birimlerinden çok-temsilli chunk.
2
3çocuk (150-300 tok, normal QA) + üst (700-1500 tok, bağlam genişletme). Her chunk
4kaynak birimlerin **span-id**'lerini taşır (atıf/provenance korunur). Atomik önerme
5temsili LLM gerektirir → Faz 1 sonrası (API gelince). Bkz. mimari §2.
6"""
7from .chunker import Chunk, chunk_document, approx_tokens
8
9__all__ = ["Chunk", "chunk_document", "approx_tokens"]