This AI Agent with RAG Manages MY LIFE

Sdílet
Vložit
  • čas přidán 9. 09. 2024
  • Artificial Intelligence is no doubt the future of not just software development but the whole world. And I'm on a mission to master it - focusing first on mastering AI Agents.
    In this video I show how to implement an AI Agent with RAG that can search through your meeting notes and create tasks in your favorite task management software based on action items in the notes! Along with that, it does all the task management you would ever need. I personally use this myself to save a ton of time and help keep me organized!
    All code for this RAG AI Agent can be found here:
    github.com/col...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If you are curious about using other types of LangChain document loaders to chat with other types of documents, check out:
    python.langcha...
    If you are curious about using other Vector databases besides Chroma with LangChain, check out:
    python.langcha...
    Take this documentation and run with it! LangChain gives you everything you need to create super robust and production ready RAG applications.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Join me as I push the limits of what is possible with AI. I'll be uploading videos twice a week - Sundays and Wednesdays at 7:00 PM CDT!

Komentáře • 37

  • @sirishkumar-m5z
    @sirishkumar-m5z Před měsícem +5

    Incredible! Seeing an AI agent manage daily life tasks is engaging. AI agents are truly changing the way we live and work.

  • @j0hnc0nn0r-sec
    @j0hnc0nn0r-sec Před 26 dny +1

    I appreciate you skimming the environment setup and getting to the meat. Seems like most tutorials are 90% are “install this”, “pip install that” with 10% code explanations. Good work

    • @ColeMedin
      @ColeMedin  Před 26 dny

      @@j0hnc0nn0r-sec Haha I agree and that's what I'm shooting to avoid. Thank you!!

  • @JaredVBrown
    @JaredVBrown Před měsícem +4

    Quality Information. Relevant to my interests. Liked + Subscribed! Looking forward to the Cloud Tutorial!
    Thank you for sharing knowledge!

    • @ColeMedin
      @ColeMedin  Před měsícem

      Thank you very much Jared - I appreciate it a lot!

  • @yupickmyusername
    @yupickmyusername Před měsícem +2

    Great content! you deserve more subscriber!.

    • @ColeMedin
      @ColeMedin  Před měsícem

      @@yupickmyusername Thank you - that means a lot!

  • @JonathanLyon
    @JonathanLyon Před měsícem +2

    Awesome work Cole. Just out of interest, what are your thoughts on Graph RAG and also semantic search vs similarity search? Maybe a combination of all three might be relevant in some use cases. It would be cool to have the Agentic workflow figure out the optimum approach 🙂, maybe it'll throw in a fine-tuning request too!

    • @ColeMedin
      @ColeMedin  Před měsícem +1

      Thank you, Jonathan!! I wanted to keep things nice and simple for this guide, but I definitely have a lot more content coming on RAG in the future where I'll dive into things like graph RAG and semantic search to improve results. I absolutely love your idea of having an agent figure out the best kind of RAG to use based on a prompt!

  • @j.d.4697
    @j.d.4697 Před měsícem +1

    "My AI ate my homework."

  • @vitalis
    @vitalis Před měsícem +1

    Awesome can you one for Todoist?

    • @ColeMedin
      @ColeMedin  Před měsícem

      I'll definitely consider it! Is that something you use over Asana for task management?

  • @kyborq
    @kyborq Před měsícem +1

    Yeah, but can you use local llm, like ollama?

    • @ColeMedin
      @ColeMedin  Před měsícem +3

      @@kyborq You sure can! I'll be making more videos soon using local models for RAG agents from Ollama and HuggingFace!

  • @themax2go
    @themax2go Před měsícem +1

    nice! just wondering re embedding, why not use triplex so that you can do global context-type searches?

    • @ColeMedin
      @ColeMedin  Před měsícem +2

      Thanks and great question! I wanted to start with something super basic for the embeddings, but using Triplex is definitely a great idea! Honestly, I could make a whole video just on embeddings, and using specific tech like Triplex to improve results would be a huge part of that.

    • @themax2go
      @themax2go Před měsícem +2

      @@ColeMedin yes, why not make (a) vid(s) about embedding(s)? it's a critical part to get relevant info back. question is, is triplex the one-for-all, or should the data to be ingested be evaluated and then nomic used for those that don't have a global context, vs triplex for those that do, what about ms' graphrag, is it still relevant? also, is it possible to "stack" embedding models? imo making a "rag router" makes more sense, where "use nomic if not global context within the data to be ingested, otherwise use triplex"... what do you think? imo a vid w/ test would be awesome!

    • @ColeMedin
      @ColeMedin  Před měsícem +2

      @@themax2go I absolutely love your thoughts here - thank you!
      I agree embeddings are critical - I will definitely be making a video on RAG focusing on embeddings in the near future.
      Your idea of a "RAG router" was actually suggested by someone else to me recently - I'm starting to see a trend emerge haha
      And I love it! A video to test this out with Triplex/Graph RAG/Semantic search/etc. is definitely in order 😉

  • @ArgiSanchez
    @ArgiSanchez Před 29 dny +1

    you are rigth, the IA agents it's the key ...

  • @ArielLothlorien
    @ArielLothlorien Před měsícem

    Are you using that eyes always at the camera AI? Your eyes never leave the camera dead on even when you close your eyes and then open them.

    • @ColeMedin
      @ColeMedin  Před měsícem

      I'm not actually! I've just practiced keeping eye contact with the camera because I've found it looks strange if I glance away.
      I have tried using the "eye contact" AI tech before, but it glitched a decent amount so it ended up looking pretty strange haha

    • @calmhorizons
      @calmhorizons Před 28 dny +2

      Little life hack, I put a tiny pair of cartoon sticker eyes around my Webcam lens. Find it much easier to look at the camera as though it is the person when I do that.

    • @ColeMedin
      @ColeMedin  Před 28 dny

      @@calmhorizons That's a great idea, thanks for sharing!

  • @JuankM1050
    @JuankM1050 Před měsícem

    would this work with notion or with local versions like obsidian ?

    • @ColeMedin
      @ColeMedin  Před měsícem

      @@JuankM1050 Yes this could be modified to work with really any software including Notion or Obsidian! You would just have to swap out the Asana API calls for Notion API calls. The tools and their descriptions could be kept very similar.

  • @strange_man
    @strange_man Před měsícem

    what is your desk? can you give some info about the desk?

    • @ColeMedin
      @ColeMedin  Před měsícem

      I wish I could give you a good answer, but this is a virtual background haha so I'm not sure where to get this desk! One thing I will say though is I HIGHLY recommend getting a standing desk. Mine is a Vivo standing desk which has worked perfect for me for over a year.

    • @StormBurnX
      @StormBurnX Před 17 dny

      The desk image is AI of course but it looks like a fun design to custom-build from scratch!

  • @datasciencetoday7127
    @datasciencetoday7127 Před 26 dny

    bro you look like AI

    • @ColeMedin
      @ColeMedin  Před 26 dny

      @@datasciencetoday7127 haha lmk what makes you think that so I can change it 😂

  • @user-ev4ov6wr1d
    @user-ev4ov6wr1d Před 21 dnem

    They already invented this years ago, it's called a calendar, and guess what? It doesn't hallucinate! How great is that?

    • @ColeMedin
      @ColeMedin  Před 21 dnem +1

      The calendar might not hallucinate, but Jim does when he books over another meeting on my calendar for the third freaking time in the same week 😂

  • @botyironcastle
    @botyironcastle Před měsícem

    i do hate capitalism too

  • @sausage4mash
    @sausage4mash Před měsícem +2

    i could not get the chromadb library to work with the latest python 3.12 something about wheels ? no idea :( atm im just loading stuff into the prompt , not very clever way of doing it ie: "from {list} give me the closest match to {input}" kind of thing, obviously limits me to llama's context window size too

    • @ColeMedin
      @ColeMedin  Před měsícem +2

      Sorry to hear ChromaDB isn't working for you! Mind sharing the full error? Your method definitely works but you're right that you'll quickly hit a context limit (and it could create a "needle in the haystack" problem where the LLM fails to pick out the relevant information). I'd love to help you get Chroma working!

    • @sausage4mash
      @sausage4mash Před měsícem

      @@ColeMedin thats good of you , i think ive just got it working now, i needed this select the C++ build tools, ensure the latest versions of MSVC and the Windows SDK are checked.

    • @tubaguy0
      @tubaguy0 Před měsícem

      @sausage4mash there’s a way to make sure that you can start fresh: look on CZcams for a video about installing and using Anaconda for your platform of choice. It’s not too hard to learn, and it lets you set up clean new environments for any development or scripting projects of your choice. Then you look up ChromDB and its preferred Python environment, and create a new conda environment with that version of python (also and make sure VSCode is using that environment when you kick off your script).