Find answers from the community

Updated 3 months ago

hey people! I have a question trying to

hey people! I have a question trying to better understand how a framework like LlamaIndex or LangChain fits in compared to something like ChatGPT plugins or Cohere RAG Connectors? do i need both? Are they competing solutions?
V
k
2 comments
Hi @knajjars !

You can say that LlamaIndex wraps around LangChain.

LangChain is a framework for building arbitrary applications with LLMs, and LlamaIndex is a framework for building RAG applications with LLMs.

The important point is that both LangChain and LlamaIndex are open-source, so if you want to build something private, they are your best choice.

Cohere and OpenAI, on the other hand, are enterprise, hosted solutions. They are alternatives to LangChain + LlamaIndex for building your own LLM applications. If you will only be working with data that you feel comfortable sending to a third party, and that you are OK with other companies changing APIs / EULAs / ... at their will, Cohere and OpenAI can often offer you better LLM quality.

Hope that helps!
great explanation! thank you Vicent
Add a reply
Sign up and join the conversation on Discord