Files
langgraph/examples/Untitled.ipynb
T
2024-01-06 12:43:15 -08:00

3.1 KiB

In [1]:
from langchain.hub import pull
In [2]:
pull('homanp/superagent')
<frame at 0x1057c46c0, file '/Users/nuno/dev/permchain/.venv/lib/python3.11/site-packages/langchain/hub.py', line 81, code pull> <module 'langchain.hub' from '/Users/nuno/dev/permchain/.venv/lib/python3.11/site-packages/langchain/hub.py'>
In [3]:
from langchain.load import loads
In [4]:
loads('{}')
Out [4]:
/Users/nuno/dev/langchain/libs/core/langchain_core/_api/beta_decorator.py:162: LangChainBetaWarning: The function `loads` is in beta. It is actively being worked on, so the API may change.
  warn_beta(
{}
In [5]:
from langchain_core.beta.runnables.context import ContextGet
In [6]:
ContextGet(key='hello')
Out [6]:
/Users/nuno/dev/langchain/libs/core/langchain_core/_api/beta_decorator.py:162: LangChainBetaWarning: The class `ContextGet` is in beta. It is actively being worked on, so the API may change.
  warn_beta(
ContextGet(key='hello')
In [ ]: