Update Docs for TFIDFRetriever Import Path (#17322)

This PR updates the `TF-IDF.ipynb` documentation to reflect the new
import path for TFIDFRetriever in the langchain-community package. The
previous path, `from langchain.retrievers import TFIDFRetriever`, has
been updated to `from langchain_community.retrievers import
TFIDFRetriever` to align with the latest changes in the langchain
library.
This commit is contained in:
ByeongUk Choi
2024-02-12 14:26:08 +09:00
committed by GitHub
parent 1c902ce3d1
commit ac970c9497

View File

@@ -33,7 +33,7 @@
},
"outputs": [],
"source": [
"from langchain.retrievers import TFIDFRetriever"
"from langchain_community.retrievers import TFIDFRetriever"
]
},
{