ChatPromptTemplate: minor fix in doc string (#8424)

Minor fix in doc-string to use `ai` rather than `assistant`
pull/8426/head
Eugene Yurtsev 1 year ago committed by GitHub
parent 760c278fe0
commit e62a1686e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save