🔀 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:
parent
6fa295b8a8
commit
4761eda9a0
1 changed files with 4 additions and 1 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue