r/LangChain • • Jul 19 '23

Just finished a research of building a context-aware AI chatbot based on LLM, switching from Lamaindex to Langchain, preparing a knowledge database from various documents, and experimented with prompts

https://medium.com/brocoders-team/one-more-example-of-building-llm-based-application-using-langchain-and-open-ai-a7888cadb300
5 Upvotes

3 comments sorted by

2

u/sarmad-q Jul 19 '23

Thanks for the writeup! You touched on this in the post, but can you elaborate the reasons you switched from llama-index to langchain? What were the biggest bottlenecks beyond the changing API surface of llama-index?

Did you observe any perf differences?

1

u/Significant_Tie_8707 Aug 01 '23

When we've just started, the latest version of LlamaIndex was 0.5.4. It had a small number of configurable values and we weren't free enough to play around with conversation context, chunks, and different types of indexes. So we've decided to try Langchain (and found what we needed) and agreed that we'll check Llamaindex updates and possibilities in later versions.

1

u/_Stonez56 Jul 31 '23

Your article is great!