fix: convert graphrag input path to str (#237) #none
I noticed type cast error in pycharm debug (it intercept forking programs). Anyway, this change obeys types. Although, this conversions happens implicitly. Co-authored-by: Tadashi <tadashi@cinnamon.is>
This commit is contained in:
parent
aac6233412
commit
2e3c17b256
|
@ -135,7 +135,7 @@ class GraphRAGIndexingPipeline(IndexDocumentPipeline):
|
||||||
graph_id = self.store_file_id_with_graph_id(file_ids)
|
graph_id = self.store_file_id_with_graph_id(file_ids)
|
||||||
# call GraphRAG index with docs and graph_id
|
# call GraphRAG index with docs and graph_id
|
||||||
graph_index_path = self.write_docs_to_files(graph_id, all_docs)
|
graph_index_path = self.write_docs_to_files(graph_id, all_docs)
|
||||||
yield from self.call_graphrag_index(graph_index_path)
|
yield from self.call_graphrag_index(str(graph_index_path.absolute()))
|
||||||
|
|
||||||
return file_ids, errors, all_docs
|
return file_ids, errors, all_docs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user