Unable to use the Runnable #27265
-
Checked other resources
Commit to Help
Example Codefrom langchain.schema import Runnable Descriptionam trying to invoke runnable from langchain using this System Infopython llama_api.py |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The correct import is: You can use the langchain-cli to upgrade your code to the latest imports (https://python.langchain.com/docs/versions/v0_3/) |
Beta Was this translation helpful? Give feedback.
The correct import is:
from langchain_core.runnables import Runnable
You can use the langchain-cli to upgrade your code to the latest imports (https://python.langchain.com/docs/versions/v0_3/)