🔀 chore(base.py): add 'SQLiteEntityStore' to 'from_method_nodes' dictionary

The 'from_method_nodes' dictionary in the 'MemoryCreator' class in 'base.py' has been updated to include the 'SQLiteEntityStore' class and its '__init__' method. This change allows the 'SQLiteEntityStore' class to be used as a memory node in the LangFlow application.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-29 18:38:08 -03:00
commit 4761eda9a0

View file

@ -13,7 +13,10 @@ from langflow.custom.customs import get_custom_nodes
class MemoryCreator(LangChainTypeCreator):
type_name: str = "memories"
from_method_nodes = {"ZepChatMessageHistory": "__init__"}
from_method_nodes = {
"ZepChatMessageHistory": "__init__",
"SQLiteEntityStore": "__init__",
}
@property
def frontend_node_class(self) -> Type[FrontendNode]: