public final class CodeChunker
extends Object
Server-facing source-code chunking facade.
The facade delegates to the canonical intelligence extractor and core
chunker so declarative and server callers share symbol boundaries, limits,
identifiers, and provenance.
Method Summary
All Methods Static Methods Concrete Methods
static List <com.tnsai.knowledge.Document>
Splits one source file into bounded retrieval documents.
Derives the canonical language key from a file name.
Method Details
chunk
public static List <com.tnsai.knowledge.Document> chunk (Path filePath,
String content,
String language)
Splits one source file into bounded retrieval documents.
detectLanguage
Derives the canonical language key from a file name.