wikit-ai / olaf

6 stars 1 forks source link

Fix: JSONCorpusLoader not working with directory #118

Closed ba-talibe closed 6 months ago

ba-talibe commented 6 months ago

Error : TypeError: string indices must be integers With : corpus_loader = JsonCorpusLoader(corpus_path="../data/teams_doc_250/", json_field="description")