MCPcopy
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

1from langchain_core.output_parsers import StrOutputParser
2from langchain_core.prompts import ChatPromptTemplate
3from langchain_core.runnables import RunnableBranch
4

Callers

nothing calls this directly

Calls 3

StrOutputParserClass · 0.90
RunnableBranchClass · 0.90
from_templateMethod · 0.45

Tested by

no test coverage detected