Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/langchain-ai/langchain
/ router.py
File
router.py
templates/cohere-librarian/cohere_librarian/router.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
langchain_core.output_parsers
import
StrOutputParser
2
from
langchain_core.prompts
import
ChatPromptTemplate
3
from
langchain_core.runnables
import
RunnableBranch
4
Callers
nothing calls this directly
Calls
3
StrOutputParser
Class · 0.90
RunnableBranch
Class · 0.90
from_template
Method · 0.45
Tested by
no test coverage detected