Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
from
typing
import
List, Tuple
2
3
from
langchain_community.chat_models
import
ChatOpenAI
4
from
langchain_core.messages
import
AIMessage, HumanMessage
Callers
nothing calls this directly
Calls
7
MessagesPlaceholder
Class · 0.90
ChatOpenAI
Class · 0.90
StrOutputParser
Class · 0.90
_format_chat_history
Function · 0.70
from_messages
Method · 0.45
assign
Method · 0.45
with_types
Method · 0.45
Tested by
no test coverage detected