Skip to content

Commit

Permalink
[Improvement] Make embedchain home dir configurable (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
deshraj committed Apr 18, 2024
1 parent 6c32d28 commit ba9f186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion embedchain/constants.py
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path

ABS_PATH = os.getcwd()
HOME_DIR = str(Path.home())
HOME_DIR = os.environ.get("EMBEDCHAIN_CONFIG_DIR", str(Path.home()))
CONFIG_DIR = os.path.join(HOME_DIR, ".embedchain")
CONFIG_FILE = os.path.join(CONFIG_DIR, "config.json")
SQLITE_PATH = os.path.join(CONFIG_DIR, "embedchain.db")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "embedchain"
version = "0.1.100"
version = "0.1.101"
description = "Simplest open source retrieval (RAG) framework"
authors = [
"Taranjeet Singh <taranjeet@embedchain.ai>",
Expand Down

0 comments on commit ba9f186

Please sign in to comment.