Step-by-Step Guide to Build RAG App using LlamaIndex | Ollama | Llama-2 | Python

preview_player
Показать описание
Hi, My name is Sunny Solanki, and in this video, I provide a step-by-step guide to creating a RAG LLM App using the Python framework "llamaindex". To build our LLM app, we have used open-source LLM "llama-2" with 7B parameters. To access LLMs, we use a tool named "Ollama". The tutorial is a good starting point for someone new to LlamaIndex and who wants to learn how to create LLM Apps. It's a good introduction to the RAG concept.

============================================
==============================================
=============================================
============================================
=======================================================
=======================================================
=======================================================
=======================================================
=======================================================
=======================================================

Important Chapters:

0:00 - Build RAG LLM App using LlamaIndex
1:07 - RAG App Workflow
2:24 - Download Ollama & "llama-2 (TB)" Model
3:22 - Bring up Ollama Server
4:19 - Code Explanation
5:11 - Load llama-2 (7B) Model
6:27 - Load External Documents
8:15 - Create Vector Store Index
10:40 - Complete LlamaIndex Retrieval Chain (RAG Pipeline)

#python #datascience #datasciencetutorial #python #pythonprogramming #pythoncode #pythontutorial #llama2 #ollama #rag-llm-tutorial #building-a-rag-application #rag-llm-explained #retrieval-augmented-generation-rag #rag-implementation #rag-llamaindex #how-does-rag-work #llm-rag-example #llamaindex-rag-tutorial #llamaindex-chains #llamaindex-llama-tutorial #llamaindex #llamaindex-llm-app #llamaindex-llama-2 #rag-application-using-llamaindex #rag-application-using-ollama
Рекомендации по теме
Комментарии
Автор

Do check out my other videos of building the RAG app using Ollama.


CoderzColumn
Автор

There is a lot of content around on this topic but this is one of the useful ones.

ramankhurana
Автор

Thank you for posting such a great video! You have a done an excellent job explaining the steps necessary to build a RAG with LlamaIndex.

I do have one question. When I set the top_k to a large number to retrieve more files, the retriever retrieves duplicate files. retriever =

For example, if I only fetch 1 link, the retriever stores 7 docs... all of the docs are identical. Would you have any suggestions for removing fetcher duplicates?

Thank you!

motothedog
Автор

Hi...I am getting connectiontimeout error at the last line when I ask question using query_engine.query()..
Can you help me with this?

lqsxqwt