docs: update numbering of items in docstring (#25267)

A problem similar to #25093 .

Co-authored-by: ccurme <chester.curme@gmail.com>
This commit is contained in:
gbaian10 2024-08-12 04:50:24 +08:00 committed by GitHub
parent a82c0533f2
commit aa2722cbe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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".