MCPcopy
hub / github.com/langchain-ai/langchain / get

Method get

libs/langchain/langchain/memory/entity.py:26–28  ·  view source on GitHub ↗

Get entity value from store.

(self, key: str, default: Optional[str] = None)

Source from the content-addressed store, hash-verified

24
25 @abstractmethod
26 def get(self, key: str, default: Optional[str] = None) -> Optional[str]:
27 """Get entity value from store."""
28 pass
29
30 @abstractmethod
31 def set(self, key: str, value: Optional[str]) -> None:

Callers 15

format_messagesFunction · 0.45
evaluate_runMethod · 0.45
format_chat_historyFunction · 0.45
chain.pyFile · 0.45
chain.pyFile · 0.45
metadata_funcFunction · 0.45
chain.pyFile · 0.45
chain.pyFile · 0.45
chain.pyFile · 0.45
agent.pyFile · 0.45
chain.pyFile · 0.45
scrape_textFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_image_inputsMethod · 0.36
test_anthropic_inputsMethod · 0.36
test_socket_disabledFunction · 0.36
similarity_searchMethod · 0.36
similarity_searchMethod · 0.36
similarity_searchMethod · 0.36
test_incremental_deleteFunction · 0.36