From aa2722cbe23e54eea66680caeb1877ea7f3004de Mon Sep 17 00:00:00 2001 From: gbaian10 <34255899+gbaian10@users.noreply.github.com> Date: Mon, 12 Aug 2024 04:50:24 +0800 Subject: [PATCH] docs: update numbering of items in docstring (#25267) A problem similar to #25093 . Co-authored-by: ccurme --- libs/core/langchain_core/prompts/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/langchain_core/prompts/chat.py b/libs/core/langchain_core/prompts/chat.py index 2254eb2f01c..a53f1bb251c 100644 --- a/libs/core/langchain_core/prompts/chat.py +++ b/libs/core/langchain_core/prompts/chat.py @@ -1177,7 +1177,7 @@ class ChatPromptTemplate(BaseChatPromptTemplate): A message can be represented using the following formats: (1) BaseMessagePromptTemplate, (2) BaseMessage, (3) 2-tuple of (message type, template); e.g., ("human", "{user_input}"), - (4) 2-tuple of (message class, template), (4) a string which is + (4) 2-tuple of (message class, template), (5) a string which is shorthand for ("human", template); e.g., "{user_input}". template_format: format of the template. Defaults to "f-string".