mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-23 15:19:33 +00:00
Fix link to deprecation alternative for ConversationChain in docs (#31299)
**Description:** ConversationChain has been deprecated, and the documentation says to use RunnableWithMessageHistory in its place, but the link at the top of the page to RunnableWithMessageHistory is broken (it's rendering as "html()"). See here at the top of the page: https://python.langchain.com/api_reference/langchain/chains/langchain.chains.conversation.base.ConversationChain.html. This PR fixes the link. **Issue**: N/A **Dependencies**: N/A **Twitter handle:**: If you're on Bluesky, I'm @vikramsaraph.com
This commit is contained in:
parent
7b45d46210
commit
53d6286539
@ -13,10 +13,7 @@ from langchain.memory.buffer import ConversationBufferMemory
|
||||
|
||||
@deprecated(
|
||||
since="0.2.7",
|
||||
alternative=(
|
||||
"RunnableWithMessageHistory: "
|
||||
"https://python.langchain.com/v0.2/api_reference/core/runnables/langchain_core.runnables.history.RunnableWithMessageHistory.html" # noqa: E501
|
||||
),
|
||||
alternative="langchain_core.runnables.history.RunnableWithMessageHistory",
|
||||
removal="1.0",
|
||||
)
|
||||
class ConversationChain(LLMChain):
|
||||
|
Loading…
Reference in New Issue
Block a user