run-llama / llama_index

LlamaIndex is a data framework for your LLM applications
https://docs.llamaindex.ai
MIT License
33.3k stars 4.66k forks source link

[Feature Request]: I want to use Langchain agents with llamaindex's index #13731

Open bhuvanweb3 opened 1 month ago

bhuvanweb3 commented 1 month ago

Feature Description

I want make hybrid model where, i want use llamaindex indexing and retrival and use langchain agents.

Reason

Llamaindex doesn't have as many tools and support as langchain have. That is why, I want to use with langchain

Value of Feature

If this feature is made. It will be the best rag system in AI. Llamaindex is good at indexing and retrieval and its data connectors are huge on the flipside. currently, llamaindex agents are not as good as Langchain. So, I want to use llamaindex as a query engine for langchain.

logan-markewich commented 1 month ago

Curious what our agents are missing that langchain has

In any case, langchain provides tons of utilities to make custom tools. You can wrap any function into a tool in langchain, just like llamaindex can do. I suggest you use those utilities to wrap an index into a tool (or set of tools)

ryann-sportsbet commented 1 week ago

@logan-markewich Jira toolkits is something that LlamaIndex is missing https://python.langchain.com/v0.2/docs/integrations/toolkits/jira/

How can we use this toolkit in LlamaIndex?