llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

[Question]: Langchain integration demo notebook

Open zohaibdr opened this issue 6 months ago • 3 comments

Question Validation

  • [X] I have searched both the documentation and discord for an answer.

Question

Hi, I am looking to integrate llama-index tool inside a langchain agent. There seems to be only 1 page in the documentation on this. But the link to the demo notebook seems to be broken. https://github.com/run-llama/llama_index/blob/main/examples/langchain_demo/LangchainDemo.ipynb

I also checked the github repo manually. Is this file moved or deleted?

zohaibdr avatar Jan 29 '24 20:01 zohaibdr

🤖

Hey @zohaibdr! Good to see you back. Hope you're coding your way to glory!

Based on the context provided, it appears that the "LangchainDemo.ipynb" file has been renamed to "langchain.ipynb". You can find the renamed file in the "docs/examples/llm/" directory of the LlamaIndex repository. Here is the direct link to the file: langchain.ipynb.

Please let me know if you need further assistance with this or any other aspect of the LlamaIndex integration.

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

dosubot[bot] avatar Jan 29 '24 20:01 dosubot[bot]

Hi, I was able to retrieve the notebook from a random branch (open-ai-key-validation):

https://github.com/run-llama/llama_index/blob/open-ai-key-validation/examples/langchain_demo/LangchainDemo.ipynb

No idea if this is the most recent version or why the notebook was deleted in the first place. :shrug:

lehmus avatar Mar 15 '24 13:03 lehmus

Looks like the notebook was deleted in https://github.com/run-llama/llama_index/pull/9954 due to not referenced in the docs, and not maintained

ryanzlu avatar Apr 22 '24 06:04 ryanzlu