mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
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:
parent
6eb42c657e
commit
111c7df117
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user