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

File chain.py

templates/pii-protected-chatbot/pii_protected_chatbot/chain.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from typing import List, Tuple
2
3from langchain_community.chat_models import ChatOpenAI
4from langchain_core.messages import AIMessage, HumanMessage

Callers

nothing calls this directly

Calls 7

MessagesPlaceholderClass · 0.90
ChatOpenAIClass · 0.90
StrOutputParserClass · 0.90
_format_chat_historyFunction · 0.70
from_messagesMethod · 0.45
assignMethod · 0.45
with_typesMethod · 0.45

Tested by

no test coverage detected