Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
fix: create custom config parent dir on save, not the default dir
dex0shubhamacea2fb0e404
diff --git a/hyperextract/cli/config.py b/hyperextract/cli/config.pyindex 09d2c2d..d7bc66a 100644--- a/hyperextract/cli/config.py+++ b/hyperextract/cli/config.py@@ -135,7 +135,9 @@ class ConfigManager:def _save(self) -> None:"""Save configuration to file."""- DEFAULT_CONFIG_DIR.mkdir(parents=True, exist_ok=True)+ # Create the parent of the actual target path, not the default dir —+ # a custom config_path may live elsewhere and would otherwise 404.+ self.config_path.parent.mkdir(parents=True, exist_ok=True)data = {"llm": self.llm.to_dict(),