Skip to content

The agent engineering platform.

ChatPromptTemplate: minor fix in doc string (#8424)

Eugene Yurtseve62a1686e292
diff --git a/libs/langchain/langchain/prompts/chat.py b/libs/langchain/langchain/prompts/chat.py
index 465e698516..f71ac34135 100644
--- a/libs/langchain/langchain/prompts/chat.py
+++ b/libs/langchain/langchain/prompts/chat.py
@@ -274,7 +274,7 @@ class ChatPromptTemplate(BaseChatPromptTemplate, ABC):
template = ChatPromptTemplate.from_messages([
("system", "You are a helpful AI bot. Your name is {name}."),
("human", "Hello, how are you doing?"),
- ("assistant", "I'm doing well, thanks!"),
+ ("ai", "I'm doing well, thanks!"),
("human", "{user_input}"),
])