pub fn load_local_texts(path: &Path) -> Result<Vec<String>>
Extract text documents from a local .txt, .jsonl, or .jsonl.gz file.
.txt
.jsonl
.jsonl.gz
Returns an error if reading or gzip decoding fails.