langchain[patch]: update deprecation message for MapReduceChain (#28304)

Link migration guide first.
This commit is contained in:
ccurme 2024-11-22 19:47:52 -05:00 committed by GitHub
parent 242e9fc865
commit 25a636c597
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,10 +28,10 @@ from langchain.chains.llm import LLMChain
since="0.2.13", since="0.2.13",
removal="1.0", removal="1.0",
message=( message=(
"Refer here for a recommended map-reduce implementation using langgraph: " "Refer to migration guide here for a recommended implementation using "
"https://langchain-ai.github.io/langgraph/how-tos/map-reduce/. See also " "LangGraph: https://python.langchain.com/docs/versions/migrating_chains/map_reduce_chain/" # noqa: E501
"migration guide: " ". See also LangGraph guides for map-reduce: "
"https://python.langchain.com/docs/versions/migrating_chains/map_reduce_chain/" # noqa: E501 "https://langchain-ai.github.io/langgraph/how-tos/map-reduce/."
), ),
) )
class MapReduceChain(Chain): class MapReduceChain(Chain):