Python AI Agent Tutorial - Build a Coding Assistant w/ RAG & LangChain

preview_player
Показать описание
In this video, I'll be showing you how to build your own custom AI agent within Python using Retrieval Augmented Generation (RAG) and LangChain. Even if you're an intermediate Python user, this tutorial will be easy to follow as I demonstrate how to query information and then make an AI agent that acts as a coding or Github assistant in less than an hour.

🎞 Video Resources 🎞

⏳ Timestamps ⏳
00:00 | Overview
00:32 | Demo
03:04 | Installation/Setup
06:13 | API Keys/Tokens
08:37 | Astra DB Database Setup
11:50 | OpenAI API Key
12:52 | Fetching GitHub Issues
22:43 | Connecting to a Vector Store Database (RAG)
29:15 | Adding Documents to The Vector Store
36:25 | Writing the Agent
43:06 | Creating a Note Tool
45:41 | Running The Agent

Hashtags
#techwithtim #pythonai #langchain #github #codingtutorial
Рекомендации по теме
Комментарии
Автор

Yes!!! You listened to your audience request for this use case.

Keep doing this with own private data with structured and unstructured data. Like I’m wondering if I can write summary totals in the agent on the transactions for the day type of thing or look for a specific value on a given date in my chat agent.

mredmister
Автор

Just finished your tutorial from April 28 on building a local ai agent and it was great! The one thing I was looking for in it, and was hoping might be in this one, is using a local vector store database and not having to use a cloud solution. In the previous tutorial you had to parse and vectorize the file every time, which is not efficient. Would love to see a local solution from you. Thank you for posting these.

mikeulator
Автор

Another great video tutorial. I think we can improve the tutorials my adding streamlit integration so that the tutorials end up creating a web app

norminemralino
Автор

Hey tim, i really liked your series about rust, could you continue the series doing some rest API tutorial?

heco
Автор

Hi Tim, thanks for another great video. I have a question: what will be the benefit of coding with LangChain over no-code tools like Langflow?

adisaksukul
Автор

Thanks Tim.

Sorry if I sound pedantic.

agent object already tools. agent is passed to AgentExecutor alongside tools as second kwarg which the agent already contains. Is this how the AgentExecutor API is designed? :)

ganeshlakshmanan
Автор

Are we able to use any public GitHub repo for issues? Or does I need to be our own?

BobsNumber
Автор

What is the python version should I use, since I'm trying to run this it on python 3.11.1, getting langchain_astradb, and create_tool_calling_agent not able to find those 2 modules spent couple of hours trying to resolve but no luck so far, and appreciate your response

rajapinja
Автор

Hello great video I had a question, is the agent capable of accessing the information we store on the metadata, . Like if we store the author of the issues can I ask the agent which tickets has Jon Doe worked on?

FranciscoHernandez-vhbv
Автор

Superb content as always. Do you believe Yim theta AI future is associated with AI Agents?

gurudaki
Автор

Not sure, getting this error not able to resolve, module not found error for langchain_astradb, though I have installed that package

rajapinja
Автор

another thing, langchain_agents - create_tool_calling_agent never found this import on the list of imports
??

rajapinja
Автор

hey tim
how are you today?
please help me

I'm trying to run telegram bot and a apschedluer script, does anyone knows how to run both of them in one script

Al_Miqdad_
Автор

I’m on MacBook and Pygame is installed but when I run my code it said no module named pygame. Why does that happen and how can you fix it? Day 1 of asking

TheMusicvideoguy-lxmo
Автор

Does anyone get this error: raise APIRequestError(raw_response, payload=json_data)
{"errors":[{"message":"No \"createCollection\" command found as \"GeneralCommand\"", "errorCode":"NO_COMMAND_MATCHED"}]}

haraGADygyl
Автор

I have a question..
why in my case the api enpoint leads to 404 error page not found
and hence i am unable to work with the here..
if anyones knows please share how do i fix it..

llxddyf
Автор

Hello, I have little knowledge about API's, and Im an intermediate python programmer. No idea about langchain, databases etc. Can i follow along with the video.

sreechandra
Автор

Can you do more django web development with python?

mintz
Автор

Small question, I don’t have any previous experience with langchain but I think I am an intermediate python programmer like you said in the video will that be enough for following along with the video

extras
Автор

Thanks for this wonderful video Tim. I am a Data Scientist working from India with 12+ years of exp. and would like to shift to Dubai. Is it ok to get a job search visa and then search jobs from there. Please share ur thoughts and experience

saravanannatarajan
join shbcf.ru