Update 'langchain.docstore' to 'langchain_core.documents' and 'langchain.text_splitter' to 'langchain_text_splitters'

#133
by PriyankSevak - opened

I am unable to contribute to 'unit2/smolagents/retrieval_agents.ipynb' since it comes up as 'not editable and can only be renamed'

image

The Knowledge base tool code should be updated to use langchain_core.documentson line 1 and langchain_text_splitters on line 2 to work correctly as mentioned on https://github.com/langchain-ai/langchain/pull/15113

image

Sign up or log in to comment