Skip to content

Commit 1f1a5bd

Browse files
authored
Merge pull request #310 from UiPath/docs/update-langchain-retriever
docs: update create_retriever_tool import
2 parents 15fbaae + 6addea2 commit 1f1a5bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/context_grounding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You can easily integrate the retriever with LangChain's tool system:
3131

3232
```python
3333
from langchain.agents import create_agent
34-
from langchain.tools.retriever import create_retriever_tool
34+
from langchain_core.tools.retriever import create_retriever_tool
3535
from uipath_langchain.retrievers import ContextGroundingRetriever
3636

3737
retriever = ContextGroundingRetriever(index_name = "Company Policy Context")

0 commit comments

Comments
 (0)