ChatPromptTemplate: minor fix in doc string (#8424)

Minor fix in doc-string to use `ai` rather than `assistant`
This commit is contained in:
Eugene Yurtsev
2023-07-28 13:01:13 -04:00
committed by GitHub
parent 760c278fe0
commit e62a1686e2

View File

@@ -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}"),
])