contextfit 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
contextfit/__init__.py ADDED
@@ -0,0 +1,37 @@
1
+ """
2
+ ContextFit: Token-native knowledge base for LLM scale.
3
+
4
+ Everything stays in token space until final generation.
5
+ """
6
+
7
+ __version__ = "0.1.0"
8
+
9
+ from contextfit.core.chunk import Chunk, ChunkStore
10
+ from contextfit.core.tokenizer import Tokenizer
11
+ from contextfit.graph.community import CommunityDetector
12
+ from contextfit.graph.similarity import LSHIndex, MinHasher
13
+ from contextfit.hierarchy.levels import HierarchyBuilder
14
+ from contextfit.index.bm25 import BM25Scorer
15
+ from contextfit.index.inverted import InvertedIndex
16
+ from contextfit.retrieval.engine import RetrievalEngine
17
+ from contextfit.sid.generator import SIDGenerator, SIDPrediction
18
+ from contextfit.sid.learned import LearnedSIDGenerator
19
+ from contextfit.sid.semantic import SemanticID, SemanticIDIndex
20
+
21
+ __all__ = [
22
+ "Chunk",
23
+ "ChunkStore",
24
+ "Tokenizer",
25
+ "LearnedSIDGenerator",
26
+ "InvertedIndex",
27
+ "BM25Scorer",
28
+ "MinHasher",
29
+ "LSHIndex",
30
+ "CommunityDetector",
31
+ "HierarchyBuilder",
32
+ "RetrievalEngine",
33
+ "SIDGenerator",
34
+ "SIDPrediction",
35
+ "SemanticID",
36
+ "SemanticIDIndex",
37
+ ]