mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-23 23:29:21 +00:00
Update doc-string in RunnableWithMessageHistory (#14262)
Update doc-string in RunnableWithMessageHistory
This commit is contained in:
parent
2aaf8e11e0
commit
0dea8cc62d
@ -46,8 +46,9 @@ class RunnableWithMessageHistory(RunnableBindingBase):
|
|||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from langchain_core.chat_models import ChatAnthropic
|
from langchain.chat_models import ChatAnthropic
|
||||||
from langchain_core.memory.chat_message_histories import RedisChatMessageHistory
|
from langchain.memory.chat_message_histories import RedisChatMessageHistory
|
||||||
|
|
||||||
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
||||||
from langchain_core.runnables.history import RunnableWithMessageHistory
|
from langchain_core.runnables.history import RunnableWithMessageHistory
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user