[Improvement] Make embedchain home dir configurable (#1341)

This commit is contained in:
Deshraj Yadav
2024-04-18 11:20:01 -07:00
committed by GitHub
parent 6c32d287b5
commit ba9f186fc5
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import os
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")

View File

@@ -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>",