Navigate Select ESC Close

ADVANCED Python AI Agent Tutorial - Using RAG

2024-02-14 Education
182.9k
5.2k
285
Tech With Tim
Tech With Tim
2.0m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

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 🎞 Check out Llama Index: https://www.llamaindex.ai/ Llama Index Docs: https://docs.llamaindex.ai/en/stable/ Population Dataset: https://www.kaggle.com/datasets/joebeachcapital/world-population-by-country-2023 Llama Hub: https://llamahub.ai/ Code in this video: https://github.com/techwithtim/PythonAgentAI/tree/main ⏳ 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

Top Comments (10)

@loggerboy9325 2024-02-14

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

228 25 replies
@sadiqkhawaja7019 2024-02-18

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

27
@rEdDoGbB129 2024-02-20

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. 😊

15
@josephabuo6027 2024-02-14

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

18 1 replies
@yuvrajkukreja1248 2024-02-14

More ai video 😊 awesome working

14 1 replies
@joshuanwokoye 2025-07-12

Hey Tim, just to let you know. Your courses are awesome!!

0
@hypo30cal 2024-05-07

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 llama_index.experimental.query_engine 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.

23 4 replies
@rahultino 2024-09-16

This is so well presented. AI appears very scary to ordinary programmers who don't have the deep knowledge of how AI works. This video shows how a programmer can utilize already built models to produce useful agents. Thanks Tim for the video. Kudos.

0
@amanaggarwal4061 2024-02-21

one of the best videos on internet regarding AI agents

1
@myanghua 2024-02-23

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.

1

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot