ADVANCED Python AI Agent Tutorial - Using RAG

preview_player
Показать описание
In this video, I will be showing you how to create an artificial intelligence agent that will be able to use all of the tools that we provide it with. That's right, we will create and AI agent & give it various tools for it to use selectively based on the task at hand.

Note: This video refers to llamaindex version 0.9. On Feb 12th, 2024 llamaindex version 0.10 was released which is mostly the same but has some added functionality :)

🎞 Video Resources 🎞

⏳ Timestamps ⏳
00:00 | Overview
00:27 | Project Demos
03:54 | Understanding Agents & RAG
06:29 | Installation/Setup
09:00 | Data Sources
13:18 | Querying Pandas Data
19:17 | Building Agent Capabilities
29:18 | Querying Unstructured Data
39:38 | Next Steps

Hashtags
#PythonAI
#TechWithTim
#AICoding
Рекомендации по теме
Комментарии
Автор

Just a tip for whoever is following along.The code, from llama_index.query_engine needs to be

loggerboy
Автор

Guys!
The llama-index package format has changed, try importing this way and it should work:
from llama_index.core.query_engine import ...
Like so everyone can see!

PeacefulHarmonyMusicHealing
Автор

Detailed, no-nonense, topical. One of the best coding channels on youtube. Always looking forward to a new video.

sadiqkhawaja
Автор

This channel is a Godsend, which instilled the fundamentals of Python within me, which helped me to obtain a certification in robotics. You never cease to amaze me. 😊

ReDoG
Автор

If you are running this blindly without using Tim's requirements file, please note that due to security `from llama_index.query_engine import PandasQueryEngine` is no longer the right import, try pip installing `llama-index-experimental` and then using the PandasQueryEngine class from `from import PandasQueryEngine`.

This is for py3.10. Finally, the PromptTemplate class is now at `from llama_index.core import PromptTemplate`. The documentation will really help though.

Thanks Tim.

hypocal
Автор

5 mins into the video and I am already excited about the future!

josephabuo
Автор

This is the gold standard for this kind of coding tutorials.💯 I hope more Youtubers would be like him. Please keep up the good work.

myanghua
Автор

thank you very much for your feedback ❤❤❤❤

Al_Miqdad_
Автор

Excellent tutorial. Its clear enough to follow and implement. Keep up your good work.

bilalmohammed
Автор

Amazing video, tim ...i always wanted a fast an ld easy way to understand llamaindex...now I can build my own project fast ... Thanks a million brother

mushinart
Автор

Tim we need more content like this or a course... and as always awesome work ❤

ayanjawaid
Автор

one of the best videos on internet regarding AI agents

amanaggarwal
Автор

Tim you saved my day, you are awesome. I will write in details later how, but for now thanks for the brilliant working code

myslates
Автор

This looks like a helpful tutorial, hope I can learn something!

inocentesantiago
Автор

awesome great explanation i spended days to read the docs i know the efforts you in to generate this content, thanks

suryapratap
Автор

To add context in order to refer to previous response like "save the response to my notes", you can add
context = " ".join([f"role: {exchange['role']} content: {exchange['content']}" for exchange in st.session_state.messages])
response = agent.query(context + "\n" + prompt)

philippechassany
Автор

Thank you for the video. It is interesting and clear

IIINIIIKNH
Автор

I second that, the RAG toolkit is amazing.

LeonardoGomez-lkei
Автор

This is great wow ...🎉i can think of a lot of ideas now for this ...but please guys play safe on this... like wiring your complex project to the net..dev opps are very important regarding that...😅otherwise this is great...❤❤great content Tim..

kwphczq
Автор

Very cool. More tutorial on llama usage. This tool will help researchers to manage knowledge. If it can also store image and generate image as answer based on the query's context then it will be more useful. It can be used to build personal library and digital librarian

adds