diff --git a/embedchain/apps/app.py b/embedchain/apps/app.py index 38cfdd86..03dd3027 100644 --- a/embedchain/apps/app.py +++ b/embedchain/apps/app.py @@ -134,6 +134,9 @@ class App(EmbedChain): :return: An instance of the App class. :rtype: App """ + # Setup user directory if it doesn't exist already + Client.setup_dir() + with open(yaml_path, "r") as file: config_data = yaml.safe_load(file) diff --git a/embedchain/pipeline.py b/embedchain/pipeline.py index 0aacb323..91faf83c 100644 --- a/embedchain/pipeline.py +++ b/embedchain/pipeline.py @@ -357,6 +357,9 @@ class Pipeline(EmbedChain): :return: An instance of the Pipeline class. :rtype: Pipeline """ + # Setup user directory if it doesn't exist already + Client.setup_dir() + with open(yaml_path, "r") as file: config_data = yaml.safe_load(file) diff --git a/pyproject.toml b/pyproject.toml index 36e2cc05..81d62dab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "embedchain" -version = "0.1.8" +version = "0.1.9" description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data" authors = [ "Taranjeet Singh ",