You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the base_dir key of input as well as storage are relative to the root_dir arg given to the build_index() function of graphrag.api. While for input it seems correct, for storage the files are created into a folder relative to my main script and not to the self defined root_dir.
Steps to reproduce
No response
Expected Behavior
Ouput should be created relative to the root_dir
GraphRAG Config Used
{#..."input":{"type":"file","file_type":"text","base_dir":"input", # not problem"file_encoding":"utf-8","file_pattern":".*\\.txt$"},"storage":{"type":"file","base_dir":"output" # problem},#...}
Logs and screenshots
No response
Additional Information
GraphRAG Version: graphrag 1.2.0
Operating System: Ubuntu/ Windows WSL
Python Version: 3.12
Related Issues: -
The text was updated successfully, but these errors were encountered:
Do you need to file an issue?
Describe the bug
According to the documentation of the config yaml: https://microsoft.github.io/graphrag/config/yaml/,
the
base_dir
key ofinput
as well asstorage
are relative to theroot_dir
arg given to thebuild_index()
function ofgraphrag.api
. While forinput
it seems correct, forstorage
the files are created into a folder relative to my main script and not to the self definedroot_dir
.Steps to reproduce
No response
Expected Behavior
Ouput should be created relative to the root_dir
GraphRAG Config Used
Logs and screenshots
No response
Additional Information
The text was updated successfully, but these errors were encountered: