MCPcopy
hub / github.com/langchain-ai/langchain / chain.py

File chain.py

templates/rag-conversation/rag_conversation/chain.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os
2from operator import itemgetter
3from typing import List, Tuple
4

Callers

nothing calls this directly

Calls 15

OpenAIEmbeddingsClass · 0.90
MessagesPlaceholderClass · 0.90
RunnableBranchClass · 0.90
RunnableLambdaClass · 0.90
ChatOpenAIClass · 0.90
StrOutputParserClass · 0.90
RunnableParallelClass · 0.90
_format_chat_historyFunction · 0.70
getMethod · 0.45
from_existing_indexMethod · 0.45
as_retrieverMethod · 0.45
from_templateMethod · 0.45

Tested by

no test coverage detected