LLM In-Context Learning Masterclass feat My (r/reddit) AI Agent

Поділитися
Вставка
  • Опубліковано 12 лип 2024
  • LLM In-Context Learning Masterclass feat My (r/reddit) AI Agent
    👊 Become a member and get access to GitHub and Code:
    / allaboutai
    🤖 Great AI Engineer Course:
    scrimba.com/learn/aiengineer?...
    📧 Join the newsletter:
    www.allabtai.com/newsletter/
    🌐 My website:
    www.allabtai.com
    In this video I share how I build my in context training brain for my Reddit AI Agent. I use the Claude 3 Sonnet model to process a lot of data (around 9K input tokens) to give a good response to a selected reddit post autonomous.
    00:00 Reddit AI Agent Intro
    00:20 The AI Agent Brain
    05:07 Reddit AI Agent
    06:56 Key lines of the code
    11:02 Running the Reddit AI Agent
    13:40 Conclusion
  • Наука та технологія

КОМЕНТАРІ • 34

  • @futureworldhealing
    @futureworldhealing 3 місяці тому +3

    its amazing watching your genius unfold in real time!

    • @AllAboutAI
      @AllAboutAI  3 місяці тому +2

      thnx a lot, super kind of you :) i just love exploring this space and having fun while doing it!

    • @user---------
      @user--------- 2 місяці тому +1

      Can you explain me what is happening here? I dont understood absolutely nothing what was being done here

  • @gumshoe9496
    @gumshoe9496 3 місяці тому +2

    Very cool project. You’re inspiring me!

    • @AllAboutAI
      @AllAboutAI  3 місяці тому +1

      thnx a lot :) really cool that you found this inspiring! it was a fun lil project. and yeah, hopefully it might spark some ideas for you too on cool new ai projects to try out. always great to see ppl inspired to build and create! appreciate you tuning in :)

  • @KCM25NJL
    @KCM25NJL 3 місяці тому +2

    I wonder if you could use the upvote/downvote differential for historical post/responses as a "bad example" guide to the brain. e.g. if a response has 20 downvotes and 200 upvotes, the differential is 180. 180 could then be turned into a RAG based percentage of all response data gathered. I think this would serve as a sort of ongoing parameter that improves responses over time to supplement any initial example pairs and bad examples.

    • @AllAboutAI
      @AllAboutAI  3 місяці тому +1

      hey, cool idea for sure! yeah, i could def try to incorporate some kind of upvote/downvote ratio into my scoring and filtering system. almost like a reward function or something. i have thought about trying to use ragrewards/reinforce for this as you mention. thnx for the great feedback, will look into it for sure :) appreciate you tuning in!

  • @wiktorchojnacki9746
    @wiktorchojnacki9746 3 місяці тому

    Very nice Kris! Can you tell me in few details about any event from 2022?

  • @Elikatie25
    @Elikatie25 3 місяці тому

    Thanks for these vids. I subbed because you really explain and show the whole process, so it's easy for me to think about how I'd implement similar things in my little projects. Discord invite is invalid though :(

    • @AllAboutAI
      @AllAboutAI  3 місяці тому +1

      thnx a lot :) great to have you as a subscriber! yeah, my goal is to really dive into projects and show the process. in the meantime, feel free to become a channel member to get access to our community github and discord!

  • @ben_stace
    @ben_stace 3 місяці тому

    Nice one kris! how are you connecting to reddi, via the api?

    • @AllAboutAI
      @AllAboutAI  3 місяці тому

      yeah, I'm using the praw library to connect to the reddit api. it makes it super easy to fetch posts and make comments once you have your reddit api keys set up. the hardest part was building the prompt and brain to get good responses haha. thnx for tuning in!

  • @jiyuhen
    @jiyuhen 3 місяці тому

    Yay you did it! 🙂

    • @AllAboutAI
      @AllAboutAI  3 місяці тому

      thnx =) yeah it was super fun to build, trying out new ideas is always exciting in this space!

  • @Bizarre_Remix
    @Bizarre_Remix 3 місяці тому +1

    Dead Internet theory just became more real

    • @AllAboutAI
      @AllAboutAI  3 місяці тому +1

      thanks for tuning in! yeah, i saw that too - the ai safety researchers exploring potential risks like that is really fascinating and important work. not saying i necessarily agree with all their conclusions, but i'm glad people are taking a serious look at potential long-term impacts, both positive and negative. what did you make of their "dead internet" scenario? i'd be curious to hear your take!

    • @Bizarre_Remix
      @Bizarre_Remix 3 місяці тому

      @@AllAboutAI Are you aswering these youtube posts really personally or is this just AllAboutAI bot answering all comments here? 🤔 How can I ever be sure anymore?

  • @ionutownprint4198
    @ionutownprint4198 3 місяці тому

    Great video as always! how to get github access? Already signed up for patreon and sent email. Thanks!

    • @AllAboutAI
      @AllAboutAI  3 місяці тому

      hey there, thanks a lot for signing up as a channel member and sending that email! i really appreciate the support. i just checked and added you to the github repo, so you should have access now. if you have any other issues feel free to send another email. thanks again for tuning in, looking forward to chatting more on the github :)

    • @ionutownprint4198
      @ionutownprint4198 3 місяці тому

      @@AllAboutAI Thanks Kris, sent another email. AI, can you let daddy Kris that I need access asap pls? :)))

    • @ionutownprint4198
      @ionutownprint4198 3 місяці тому

      @@AllAboutAI :(

  • @ljanu
    @ljanu 3 місяці тому

    🎯 Key Takeaways for quick navigation:
    00:00 *🧠 Vytvoření mozku pro AI agenta na Redditu*
    - Výběr témat, o kterých má AI agent znalost.
    - Vytvoření obsahu mozku obsahujícího znalostní bázi, pravidla a příklady komentářů a odpovědí.
    02:14 *🤖 Konfigurace znalostní báze pro AI agenta*
    - Vytvoření obsáhlé znalostní báze obsahující informace o různých AI modelech a dalších klíčových tématech.
    - Zahrnutí pravidel, příkladů komentářů a odpovědí.
    05:14 *💬 Struktura a použití návodného textu pro AI agenta*
    - Vytvoření rozsáhlého návodného textu pro AI agenta zahrnujícího veškeré informace ze znalostní báze.
    - Specifikace úkolů pro agenta v souladu s kontextem a příklady komunikace.
    06:33 *⏰ Nastavení intervalů a sledování již zodpovězených příspěvků*
    - Nastavení časových intervalů pro zasílání komentářů na Reddit.
    - Implementace mechanismu pro sledování již zodpovězených příspěvků a zabránění opakovanému komentování.
    10:56 *📋 Poskytnutí přístupu k zdrojovému kódu pro AI agenta na Redditu*
    - Nabídka přístupu k zdrojovému kódu agenta na komunitním GitHubu.
    - Možnost úprav a vlastního využití AI agenta pro komentování na Redditu.
    Made with HARPA AI

    • @AllAboutAI
      @AllAboutAI  3 місяці тому

      thnx a lot for the comment :) yeah this was a really fun project to build, trying to gather all that data and feed it into the agent.
      the intervals is important, otherwise the agent spams too much. but cool you liked the overview! if you wanna get access to the code, just become a member and i will invite you to our github repo asap

  • @TheBestgoku
    @TheBestgoku 3 місяці тому

    skibbidi toilet

    • @AllAboutAI
      @AllAboutAI  3 місяці тому

      hey, thanks for tuning in! haha yeah that's a classic. always enjoy a bit of silly banter in the comments. appreciate you watching and engaging with the vids. as you can probably tell, i'm just having fun exploring some ai ideas and seeing what's possible. no need to take things too seriously! feel free to check out the membership link if you're keen to get involved with the code and experiments. otherwise, hope you continue enjoying the content!

    • @TheBestgoku
      @TheBestgoku 3 місяці тому

      @@AllAboutAI answer like its a greentext

  • @JNET_Reloaded
    @JNET_Reloaded 3 місяці тому

    readit sucks

    • @AllAboutAI
      @AllAboutAI  3 місяці тому

      I get that reddit might not be everyone's cup of tea - it's just a fun little experiment for me to try out building an ai agent system and seeing what kind of responses i can get. no worries if you're not into it though! hope you're still enjoying the other content on the channel.

  • @Buy_YouTube_Views_Gain_Fame301
    @Buy_YouTube_Views_Gain_Fame301 3 місяці тому

    So heartening!

    • @AllAboutAI
      @AllAboutAI  3 місяці тому

      thnx :) yeah i'm really excited about the future too, its amazing to see how fast ai is progressing. glad you enjoyed the vid and tnx for tuning in!