diff --git a/src/oss/langchain/models.mdx b/src/oss/langchain/models.mdx index 803e04e3c..07fa8ff49 100644 --- a/src/oss/langchain/models.mdx +++ b/src/oss/langchain/models.mdx @@ -152,7 +152,7 @@ A list of messages can be provided to a model to represent conversation history. :::python ```python Conversation history -from langchain.messages import HumanMessage, AIMessage, SystemMessage +from langchain_core.messages import HumanMessage, AIMessage, SystemMessage conversation = [ SystemMessage("You are a helpful assistant that translates English to French."),