diff --git a/embedchain/telemetry/posthog.py b/embedchain/telemetry/posthog.py index b042431f..37c63ea6 100644 --- a/embedchain/telemetry/posthog.py +++ b/embedchain/telemetry/posthog.py @@ -2,15 +2,11 @@ import json import logging import os import uuid -from pathlib import Path from posthog import Posthog import embedchain - -HOME_DIR = str(Path.home()) -CONFIG_DIR = os.path.join(HOME_DIR, ".embedchain") -CONFIG_FILE = os.path.join(CONFIG_DIR, "config.json") +from embedchain.constants import CONFIG_DIR, CONFIG_FILE class AnonymousTelemetry: diff --git a/pyproject.toml b/pyproject.toml index bc8d4296..38fe0c06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "embedchain" -version = "0.1.101" +version = "0.1.102" description = "Simplest open source retrieval (RAG) framework" authors = [ "Taranjeet Singh ",