isJSONLPath reports whether path names a JSONL corpus file.
(path string)
| 55 | |
| 56 | // isJSONLPath reports whether path names a JSONL corpus file. |
| 57 | func isJSONLPath(path string) bool { |
| 58 | return strings.EqualFold(filepath.Ext(path), ".jsonl") |
| 59 | } |
| 60 | |
| 61 | // ingestKnowledgeJSONL parses a docs-flatten JSONL file into per-chunk |
| 62 | // FileInfo entries. Each chunk becomes one virtual file whose Path is the |
no outgoing calls