MCPcopy Create free account
hub / github.com/Forethought-Technologies/AutoChain / load_memory

Method load_memory

autochain/memory/base.py:21–24  ·  view source on GitHub ↗

Return key-value pairs given the text input to the chain.

(
        self, key: Union[str, None] = None, default: Optional[Any] = None, **kwargs: Any
    )

Source from the content-addressed store, hash-verified

19
20 @abstractmethod
21 def load_memory(
22 self, key: Union[str, None] = None, default: Optional[Any] = None, **kwargs: Any
23 ) -> Any:
24 """Return key-value pairs given the text input to the chain."""
25
26 @abstractmethod
27 def load_conversation(self, **kwargs) -> ChatMessageHistory:

Callers 2

take_next_stepMethod · 0.45
prep_inputsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected