Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Rename BaseAppConfig to be snake_case (#689)

Kapil Mirchandani84e5932ea533
diff --git a/embedchain/apps/PersonApp.py b/embedchain/apps/PersonApp.py
index 7c478a212..79a8d5c46 100644
--- a/embedchain/apps/PersonApp.py
+++ b/embedchain/apps/PersonApp.py
@@ -3,7 +3,7 @@ from string import Template
from embedchain.apps.App import App
from embedchain.apps.open_source_app import OpenSourceApp
from embedchain.config import BaseLlmConfig
-from embedchain.config.apps.BaseAppConfig import BaseAppConfig
+from embedchain.config.apps.base_app_config import BaseAppConfig
from embedchain.config.llm.base_llm_config import (DEFAULT_PROMPT,
DEFAULT_PROMPT_WITH_HISTORY)
from embedchain.helper.json_serializable import register_deserializable
diff --git a/embedchain/config/apps/OpenSourceAppConfig.py b/embedchain/config/apps/OpenSourceAppConfig.py
index c8c50c15e..f837c0114 100644
--- a/embedchain/config/apps/OpenSourceAppConfig.py
+++ b/embedchain/config/apps/OpenSourceAppConfig.py
@@ -2,7 +2,7 @@ from typing import Optional
from embedchain.helper.json_serializable import register_deserializable
-from .BaseAppConfig import BaseAppConfig
+from .base_app_config import BaseAppConfig
@register_deserializable
diff --git a/embedchain/config/apps/app_config.py b/embedchain/config/apps/app_config.py
index 0833ccdf1..2aee20e5a 100644
--- a/embedchain/config/apps/app_config.py
+++ b/embedchain/config/apps/app_config.py
@@ -2,7 +2,7 @@ from typing import Optional
from embedchain.helper.json_serializable import register_deserializable
-from .BaseAppConfig import BaseAppConfig
+from .base_app_config import BaseAppConfig
@register_deserializable
diff --git a/embedchain/config/apps/BaseAppConfig.py b/embedchain/config/apps/base_app_config.py
similarity index 100%
rename from embedchain/config/apps/BaseAppConfig.py
rename to embedchain/config/apps/base_app_config.py
diff --git a/embedchain/config/apps/custom_app_config.py b/embedchain/config/apps/custom_app_config.py
index 4795dc319..f8bc78f67 100644
--- a/embedchain/config/apps/custom_app_config.py
+++ b/embedchain/config/apps/custom_app_config.py
@@ -5,7 +5,7 @@ from dotenv import load_dotenv
from embedchain.helper.json_serializable import register_deserializable
from embedchain.vectordb.base import BaseVectorDB
-from .BaseAppConfig import BaseAppConfig
+from .base_app_config import BaseAppConfig
load_dotenv()
diff --git a/embedchain/embedchain.py b/embedchain/embedchain.py
index 9374743b1..b59f300a8 100644
--- a/embedchain/embedchain.py
+++ b/embedchain/embedchain.py
@@ -15,7 +15,7 @@ from tenacity import retry, stop_after_attempt, wait_fixed
from embedchain.chunkers.base_chunker import BaseChunker
from embedchain.config import AddConfig, BaseLlmConfig
-from embedchain.config.apps.BaseAppConfig import BaseAppConfig
+from embedchain.config.apps.base_app_config import BaseAppConfig
from embedchain.data_formatter import DataFormatter
from embedchain.embedder.base import BaseEmbedder
from embedchain.helper.json_serializable import JSONSerializable