The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
ChatPromptTemplate: clean up doc-string (#8473)
Eugene Yurtseve98e2b2b81c8
diff --git a/libs/langchain/langchain/prompts/chat.py b/libs/langchain/langchain/prompts/chat.pyindex 2a24a74523..b724d6b7b5 100644--- a/libs/langchain/langchain/prompts/chat.py+++ b/libs/langchain/langchain/prompts/chat.py@@ -469,7 +469,7 @@ class ChatPromptTemplate(BaseChatPromptTemplate, ABC):Examples:- Instantiation from a list of role strings and templates:+ Instantiation from a list of message templates:.. code-block:: python@@ -488,18 +488,6 @@ class ChatPromptTemplate(BaseChatPromptTemplate, ABC):("human", "Hello, how are you?"),])- Instantiation from a list message templates:--- .. code-block:: python-- template = ChatPromptTemplate.from_messages([- ("human", "Hello, how are you?"),- ("ai", "I'm doing well, thanks!"),- ("human", "That's good to hear."),- ])--Args:messages: sequence of message representations.A message can be represented using the following formats: