7 Prompt Chains for Decision Making, Self Correcting, Reliable AI Agents

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 76

  • @vincentjean6756
    @vincentjean6756 6 місяців тому +41

    Anybody else feeling overwhelmed with excitement? AI coding took over my life.

    • @Lucky9_9
      @Lucky9_9 6 місяців тому +11

      YES!! Is there a support group? Because I would honestly love to talk to people who are as obsessed with coding random AI projects as I am lol

    • @vincentjean6756
      @vincentjean6756 6 місяців тому +4

      @@Lucky9_9 Agentic Coding Anonymous

    • @Lucky9_9
      @Lucky9_9 6 місяців тому +3

      @@vincentjean6756 very sad this isn’t an actual thing lol

    • @TheExodusLost
      @TheExodusLost 6 місяців тому +2

      Were you guys coders before ai came to be useful? What kind of projects do you build and what models/apps do you guys recommend? Happy to be among fellows.

    • @vincentjean6756
      @vincentjean6756 6 місяців тому +6

      @@TheExodusLostWell... I have been surrounded by code all my life. I am an options trader and entrepreneur since I was a teenager. Always built some tools to help my projects with some success. AI coding took my low quality projects to a level where I would actually pay thousands of dollars to a freelancer to do the same work.
      I can now do it myself if a few hours where it would take weeks of back-and-forth to achieve the same work with a human coder.
      People always think that they need some kind of "ideas" to make "new" tools to sell in order to make money with AI.
      What people do not realize yet, is that they are their own customers. They power of AI is in ultra-personal and specific tools for a very niche work for maybe one or two individual (including yourself).
      They are the customer of their own custom tool.

  • @djannias
    @djannias 6 місяців тому +12

    🎯 Key Takeaways for quick navigation:
    00:28 *🌨️ Snowball Prompt Chain gradually develops information over multiple prompts, enhancing context with each iteration, and concluding with a summary or format prompt.*
    03:14 *🛠️ Worker Pattern involves delegating tasks to individual prompts, processing them in parallel, and consolidating results into a final report, ideal for research tasks.*
    07:26 *🔄 Fallback Prompt Chain allows switching between different prompts or models if one fails, ensuring continuous operation and reliability.*
    12:50 *🤔 Decision Maker Prompt Chain enables AI agents to make decisions based on prompt results, guiding subsequent actions or prompt chains.*
    15:07 *📝 Plan and Execute Prompt Chain involves planning tasks first, executing them based on the plan, and concluding the process.*
    16:44 *🔄 Human in the Loop Prompt Chain integrates user feedback into the prompt chain, allowing iterative refinement until desired results are achieved.*
    17:38 *💬 The chat GPT application operates on a prompt-response flow, highlighting the potential for entire products built around this interaction.*
    18:32 *💡 There's an ongoing innovation push beyond chat interfaces, exploring diverse prompt chain applications like talk to your database's call-response format.*
    19:01 *💬 The human-in-the-loop framework, commonly used in chat interfaces, can be expanded creatively by combining different prompt chains for varied user experiences.*
    19:45 *🔁 The self-correction prompt chain involves executing a prompt, checking for correctness, and self-correcting if necessary, proving useful for coding, executing, and reviewing tasks.*
    21:21 *🛠️ Seven prompt chains offer diverse workflows for building powerful AI agents and agentic systems, paving the way for innovative product development beyond conventional chat interfaces.*
    Made with HARPA AI

    • @indydevdan
      @indydevdan  6 місяців тому +1

      Shout out HARPA AI devs.

  • @agenticmark
    @agenticmark 6 місяців тому +6

    having spent years espousing the benefits of functional programming, being able to use that same model for my agents is priceless.
    Great job on this video Dan!

    • @JakeWoken
      @JakeWoken 6 місяців тому +1

      Exactly!!! Me too. Always loved functional programming and applying the same concepts here (just functions branching and piping) is very refreshing.

  • @aaronoquendo
    @aaronoquendo 6 місяців тому +3

    Keep going bro! Love your content. You are a pioneer in this space. No one else that I know on youtube is providing the value that you are providing to the development community.

  • @BossAIBiz
    @BossAIBiz 6 місяців тому +1

    This is super awesome. We built a voice AI software intertwined with ghl on a ton of other AI. Trying to figure out a self-updating method. Can review certain number of transcripts figure out corrections and way to smooth out the bot double triple check that. Then update.

  • @zkiyyeller3525
    @zkiyyeller3525 6 місяців тому +3

    Thank you Dan. Really appreciate the energy you thought you put into this!

  • @mr.daniish
    @mr.daniish 6 місяців тому +7

    Omg Dan! This was pure gold. Thank you.

  • @TheEarlVix
    @TheEarlVix 6 місяців тому +3

    Brilliant. Run the cheaper, faster models first! Good stuff, Dan.

  • @gileneusz
    @gileneusz 6 місяців тому +5

    bro, this video is pure gold

  • @dcmumby
    @dcmumby 6 місяців тому +1

    loving your videos dan , super excited to see your ai development

  • @vroep6529
    @vroep6529 6 місяців тому +1

    subprocess module looking nice lately

  • @implexedone
    @implexedone 5 місяців тому +1

    Great video. Love to hear about your AI assistant.

  • @teriannet7163
    @teriannet7163 6 місяців тому +1

    Very good Video! Thanks for laying this out so well. Its been interesting to see what happens when you start combining system prompts into this as well.

  • @YossiDahan-
    @YossiDahan- 6 місяців тому +2

    An absolute banger, thank you Dan for sharing these incredible insights ❤

  • @DARKSXIDE
    @DARKSXIDE 6 місяців тому +1

    Great job dan u should contribute to big agi they have a beam feature that integrates output from multiple llms and i think ur prompt structure would be a great addition to it

    • @DARKSXIDE
      @DARKSXIDE 6 місяців тому +1

      I will put a link to ur vid in their discord dope work

    • @indydevdan
      @indydevdan  6 місяців тому +1

      big thanks, I have my eyes on big-AGI. Development looks solid.

  • @ModernCentrist
    @ModernCentrist 6 місяців тому +1

    This is such good information! Thanks for making this, I've really been struggling with the design of my agent tasks.

  • @vincentjean6756
    @vincentjean6756 6 місяців тому +4

    Dan... AI MASTER! Thanks for your ideas.

  • @jindrichsirucek
    @jindrichsirucek 5 місяців тому +1

    Definitely interested in the AI assistant🎉❤ I'm building my own too

  • @lakergreat1
    @lakergreat1 6 місяців тому +2

    Yes please, let's see the AI assistant you are building

  • @paraconscious790
    @paraconscious790 6 місяців тому

    As usual great Stuff Dan!!! Please create the further videos in this series like Talk to your DB.

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

    i love your work!

  • @AleemAhmed
    @AleemAhmed 6 місяців тому

    The first 10 seconds, total wisdom 👍

  • @mariusorani
    @mariusorani 6 місяців тому +1

    Great! Keep up the good work. Btw which Theme are you using? The transparency and colors... love it

  • @xxxxxx89xxxx30
    @xxxxxx89xxxx30 6 місяців тому +1

    Bro... you just gave us patterns!

  • @Mephmt
    @Mephmt 6 місяців тому +2

    Congrats on 10k! I'm extremely interested in a personal AI assistant. I've been eyeballing OpenInterpreter and their 01OS for a bit, but haven't taken the plunge. I'd be interested in seeing what you're ideas for an assistant. OI is using STT/TTS for the 01 project using Arduino. However, I'd rather use a smart phone app as it can be installed on multiple phones easily and the phones already have the necessary, and additional, hardware for this part of the job.

    • @riiis3058
      @riiis3058 6 місяців тому

      I'm also on a quest for a personal AI Assistant. I'll bet there's a way to use the resources on a smartphone, one could easily use Devon or SWE to replace the Arduino code or convert. Connecting to OpenInterpreter could be done over wirelessIP or bluetooth.

    • @indydevdan
      @indydevdan  6 місяців тому +2

      huge thanks - we will 100% cover, design, build and discuss personal AI assistants on the channel. It is one of the most important Agentic applications any of us can build/use.

    • @Mephmt
      @Mephmt 6 місяців тому

      @@indydevdanI totally agree! I can't wait! Really looking forward to it!

    • @zatoichi1
      @zatoichi1 4 місяці тому

      Man, just thinking about all these different solutions makes me realize that all OS as we know it are just near future trash.

  • @wwalsh0351
    @wwalsh0351 2 місяці тому

    Your content is wonderful. Up your audio game soon tho.

  • @mlg4035
    @mlg4035 6 місяців тому +1

    Superb information! Thank you!!

  • @christopherhyatt7229
    @christopherhyatt7229 6 місяців тому +1

    Thanks Dan great work man!

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

    Great video.
    I really like your content because there is no sh*tty general hype talk or "pay me to join our unique community" stuff. Anyways the content is solid and concrete

  • @wellbishop
    @wellbishop 6 місяців тому +1

    Really awesome, man! tks 4 sharing

  • @free_thinker4958
    @free_thinker4958 6 місяців тому +1

    Pure quality content ❤💯

  • @malikrumi1206
    @malikrumi1206 4 місяці тому

    "The right sequence of prompts combined with your unique domain knowledge is an entire five six or seven figure product in itself." This powerful and seductive statement may well be true, but, just to make sure neither you nor your audience is hallucinating, **How do you know this? Where is your citation to the source for this statement? How can we verify it?** Academic studies, something from arXiv, Entrepreneur, Inc. Mag, The US Dept of Labor, anything? Thanks.

  • @Dragon_Rider777
    @Dragon_Rider777 2 місяці тому

    Thank you this is gold!!
    Anyone has compared CrewAI to snow ball?

  • @loryo80
    @loryo80 6 місяців тому

    thank you so much, very high quality content as usuel

  • @chrisfish71
    @chrisfish71 6 місяців тому

    You should have called it Design Patterns for AI prompting. You'll be the new gang of 1. Or maybe Gang of 10k+

  • @Lousircus
    @Lousircus 6 місяців тому +1

    Great info. Subbed

  • @dsm1573
    @dsm1573 6 місяців тому

    awesome tutorial! thank you!!

  • @SHIVAMSHARMA-sj2yw
    @SHIVAMSHARMA-sj2yw 5 місяців тому

    if we have to choose between Agentic framework and prompt chaining which should we prefer ?

  • @FranAbenza
    @FranAbenza 6 місяців тому

    When are you gonna try instructor 1.0.0? Game changer with pydantic

    • @indydevdan
      @indydevdan  6 місяців тому +1

      Great call out - it's worth a whole video. Several cons and many pros to a tool like that but overall I agree with you. It's a total game changer with pydantic.

  • @flight5056
    @flight5056 6 місяців тому

    @indydevdan cool stuff, question; any partiicular reason for using Martin's LLM? it is nice but half plugins dont work anymore, it¨s maintained by a singel person, Could LLM be substituted with another package like ollama?

    • @indydevdan
      @indydevdan  6 місяців тому

      100% use any LLM package you prefer. I'm a fan of Simonw and his LLM package so I use it from time to time.

  • @TheVideoMarshall
    @TheVideoMarshall 6 місяців тому

    Been trying to get AG studio to run a workflow but the final stage agent keeps interrupting. Have you successfully got chaining and snowballing working on Autogen Studio?

  • @zoranProCode
    @zoranProCode 6 місяців тому

    very nice

  • @GuidedBreathing
    @GuidedBreathing 6 місяців тому

    Great !

  • @ExSpoonman
    @ExSpoonman 6 місяців тому

    Hey, Dan, did you read what your snowball wrote, bud? You're a smart man, Dan, so I know you've heard about Dead Internet Theory. And yet you thought this video was a responsible decision to create. Are you that hard up for money, Dan? Are you?

  • @rude_people_die_young
    @rude_people_die_young 5 місяців тому +1

    Great work - will have work this out in typescript 🎉

  • @sanjaygupta4
    @sanjaygupta4 6 місяців тому

    gold

  • @re_styles
    @re_styles 6 місяців тому

    "software now is"..., Welcome everyone to my vision into the future. 11 yrs earlier...🤷

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

    I’m not going to subscribe until you Google upspeak.

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

      solid feedback ty. Let's make a deal: Subscribe next video if I ship it with zero upspeak. Deal?

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

      Deal. Sorry for being a jerk. I was grumpy. Want me to remove the comment?

  • @JoSeph-cu2sr
    @JoSeph-cu2sr 6 місяців тому

    i have programing background, started in 94. I cant undertand most of what you say because you removed all natural respiration and ponctuation and smashed all words. its unintellegible. rubbish

  • @iseverynametakenwtf1
    @iseverynametakenwtf1 6 місяців тому +3

    the hand movement is so distracting and the thump thump.