mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-01 19:03:25 +00:00
ChatPromptTemplate: minor fix in doc string (#8424)
Minor fix in doc-string to use `ai` rather than `assistant`
This commit is contained in:
parent
760c278fe0
commit
e62a1686e2
@ -274,7 +274,7 @@ class ChatPromptTemplate(BaseChatPromptTemplate, ABC):
|
|||||||
template = ChatPromptTemplate.from_messages([
|
template = ChatPromptTemplate.from_messages([
|
||||||
("system", "You are a helpful AI bot. Your name is {name}."),
|
("system", "You are a helpful AI bot. Your name is {name}."),
|
||||||
("human", "Hello, how are you doing?"),
|
("human", "Hello, how are you doing?"),
|
||||||
("assistant", "I'm doing well, thanks!"),
|
("ai", "I'm doing well, thanks!"),
|
||||||
("human", "{user_input}"),
|
("human", "{user_input}"),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user