We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5deb4 commit d2fa6dfCopy full SHA for d2fa6df
src/oss/langchain/models.mdx
@@ -152,7 +152,7 @@ A list of messages can be provided to a model to represent conversation history.
152
153
:::python
154
```python Conversation history
155
-from langchain.messages import HumanMessage, AIMessage, SystemMessage
+from langchain_core.messages import HumanMessage, AIMessage, SystemMessage
156
157
conversation = [
158
SystemMessage("You are a helpful assistant that translates English to French."),
0 commit comments