docs: update numbering of items in method docs (#25093)

Some methods' doc strings have a wrong numbering of items. The numbers
were adjusted accordingly
This commit is contained in:
orkhank 2024-08-06 13:21:52 +00:00 committed by GitHub
parent 6eb42c657e
commit 111c7df117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -941,7 +941,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".
input_variables: A list of the names of the variables whose values are

View File

@ -79,7 +79,7 @@ class StructuredPrompt(ChatPromptTemplate):
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}"
schema: a dictionary representation of function call, or a Pydantic model.