[Bugfix] Fix issue of "unable to open database file" (#945)

This commit is contained in:
Deshraj Yadav
2023-11-13 12:37:00 -08:00
committed by GitHub
parent b144c7dccc
commit 1d31b8f7e4
3 changed files with 7 additions and 1 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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 <taranjeet@embedchain.ai>",