From e62a1686e2923cd8651ff368bc202f7733244205 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Fri, 28 Jul 2023 13:01:13 -0400 Subject: [PATCH] ChatPromptTemplate: minor fix in doc string (#8424) Minor fix in doc-string to use `ai` rather than `assistant` --- libs/langchain/langchain/prompts/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"), ])