Skip to content

Commit

Permalink
docs: update numbering of items in method docs (langchain-ai#25093)
Browse files Browse the repository at this point in the history
Some methods' doc strings have a wrong numbering of items. The numbers
were adjusted accordingly
  • Loading branch information
orkhank authored and olgamurraft committed Aug 16, 2024
1 parent 3687b57 commit a653507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/core/langchain_core/prompts/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ def __init__(
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
Expand Down
2 changes: 1 addition & 1 deletion libs/core/langchain_core/prompts/structured.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class OutputSchema(BaseModel):
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.
Expand Down

0 comments on commit a653507

Please sign in to comment.