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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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