Skip to content

Commit

Permalink
Update �Docs for TFIDFRetriever Import Path (#17322)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ByeongUkChoi authored Feb 12, 2024
1 parent 1c902ce commit ac970c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/integrations/retrievers/tf_idf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"outputs": [],
"source": [
"from langchain.retrievers import TFIDFRetriever"
"from langchain_community.retrievers import TFIDFRetriever"
]
},
{
Expand Down

0 comments on commit ac970c9

Please sign in to comment.