[Feature] Add support for NVIDIA AI LLMs and embedding models (#1293)
This commit is contained in:
@@ -12,8 +12,6 @@ HOME_DIR = str(Path.home())
|
||||
CONFIG_DIR = os.path.join(HOME_DIR, ".embedchain")
|
||||
CONFIG_FILE = os.path.join(CONFIG_DIR, "config.json")
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AnonymousTelemetry:
|
||||
def __init__(self, host="https://app.posthog.com", enabled=True):
|
||||
@@ -63,4 +61,4 @@ class AnonymousTelemetry:
|
||||
try:
|
||||
self.posthog.capture(self.user_id, event_name, properties)
|
||||
except Exception:
|
||||
logger.exception(f"Failed to send telemetry {event_name=}")
|
||||
logging.exception(f"Failed to send telemetry {event_name=}")
|
||||
|
||||
Reference in New Issue
Block a user