LangChain: Prompt Engineering

Поділитися
Вставка
  • Опубліковано 7 чер 2024
  • Join Richard Walker from Lucidate as we journey into the captivating world of Large Language Models (LLMs) and the crucial role of Prompt Engineering. This video offers a comprehensive understanding of how we interact with AI, highlighting the importance of natural language prompts. We’ll dive into what 'Prompt Engineering' really means and explore the subtle art and science of crafting effective prompts.
    From understanding the interplay between Parametric and Prompt knowledge, to the revealing power of Chain of Thought reasoning, we uncover the mechanisms that make LLMs the versatile tools they are. We look at LangChain's ability to provide non-intrusive support for prompt engineering and give real-world examples that illustrate these concepts.
    Moreover, we spotlight why 'Prompt Engineers' are in high demand, with top-tier tech firms offering attractive salaries. Wrapping up with an exciting glimpse of what's to come in our next video, we set the stage for exploring further prompt techniques and their applications in LangChain.
    If you're intrigued by AI, curious about LLMs, or simply fascinated by the world of tech, this video is for you. Buckle up and join us on this deep dive into the fascinating world of AI and language models.

КОМЕНТАРІ • 27

  • @plumbo624
    @plumbo624 Рік тому +2

    What a refreshing way to teach such concepts. Thank you so much and I'll keep attending to your classes sir.

    • @lucidateAI
      @lucidateAI  Рік тому

      I’m glad you enjoyed the video and found it useful. Keen to hear your thoughts and feedback on other Lucidate material.

  • @MrCamusio
    @MrCamusio Рік тому +2

    You're an amazing teacher. I love the diagrams, examples, and how you break everything down and at the end bring it all together. Thank you!

    • @lucidateAI
      @lucidateAI  Рік тому +1

      Zeke. I'm delighted that you find the materiel useful and accessible. That is why I do it, so reviews like this are always welcome. I hope you've had a chance to look at some of the other videos on the channel and find them useful too. Really happy to get less positive feedback where you feel that there is material missing or poorly explained. This is the feedback that helps me make future and better videos. Also please share the content with friends and colleagues that you feel may benefit. Word of mouth and personal recommendation/endorsement is the number 1 way to grow the channel! Greatly appreciated - Lucidate.

    • @MrCamusio
      @MrCamusio Рік тому +1

      @@lucidateAI I have been and will continue to do so.

    • @lucidateAI
      @lucidateAI  Рік тому

      Greatly appreciated! Have a great day! Lucidate.

  • @raykirchner8913
    @raykirchner8913 11 місяців тому +2

    Thanks!

    • @lucidateAI
      @lucidateAI  11 місяців тому

      You are welcome! Many thanks for your support of the channel, both vocal and financial! Greatly appreciated. Richard.

  • @WeirdoRocks
    @WeirdoRocks Рік тому +1

    Another great video and great overview. Thanks for the effort you put into your videos.

    • @lucidateAI
      @lucidateAI  Рік тому +1

      Wierdo, you are most welcome. Many thanks for taking the time to comment and to leave such a positive review. As ever, greatly appreciated. Lucidate.

  • @BlakeAlexanderGames
    @BlakeAlexanderGames Рік тому +2

    Another one! I have to become a member. I love these LLM videos. Do your member videos cover building one?

    • @lucidateAI
      @lucidateAI  Рік тому

      Yes. I haven’t got to the end of the series yet as we start at the beginning with simple feedforward networks, then CNNs and I’m putting the finishing touches to RNNs, should be out in about a week. Then LSTMs and then on to Transformers. These exclusive members only videos are available at “Managing Director “ and “CEO” levels. Ie not at “Associate “ or “Vice President “. Appreciate the comment and the enquiry! Hope to see you as a member soon! Lucidate.

    • @lucidateAI
      @lucidateAI  10 місяців тому

      Here is a link to all of the members’-only videos on the Lucidate channel. ua-cam.com/play/UUMOlqbtKdqcleUqpH-jcNnc8g.html.

  • @residualramirez
    @residualramirez Рік тому +1

    Will the next video cover Tree-ofThoughts (ToT)? From the paper that was recently released

    • @residualramirez
      @residualramirez Рік тому

      Great video by the way 🙏

    • @lucidateAI
      @lucidateAI  Рік тому +1

      Thanks!! I have a ToT video in the works, and this will be released soon (I don’t have a definitive date, but within a month or so). The next video (already available to Lucidate members at VP, MD or CEO levels) covers LangChain Agents, Self Consistency prompting and ReAct. Comments snd questions greatly appreciated! Lucidate.

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Рік тому +1

    Why doesn’t OpenAI simply imbed the chain of thought into every user query into ChatGPT?

    • @denisblack9897
      @denisblack9897 Рік тому

      cause its been discovered like 2 weeks ago

    • @lucidateAI
      @lucidateAI  Рік тому

      It is true that CoT is indeed a recent discovery. It is equally true that it isn’t always the best strategy. Other prompting techniques such as Tree of Thoughts, Self Consistency & ReAct (also recent discoveries to echo Denis’ observation) might perform better depending on the context. The advantage of a framework like LangChain is that it gives a lot of choice snd control of the prompt engineering strategy. Thank you both for your questions, comments and observations.

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Рік тому +2

    It’s strange how it knows the answer but needs prompting to get it right. How does prompting changes the probability of certain answer.

    • @denisblack9897
      @denisblack9897 Рік тому

      it doesn't know the answer, it doesn't know the question, it provides a detailed hallucination that fits

    • @Icedanon
      @Icedanon Рік тому

      It's essentially the same thing as priming a human, just way more effective. Think of it like this, at its base, it has a world of knowledge it can draw on. This is bad for a super detailed answer. So you can prime it with your prompt to think in a narrower band of knowledge. Asking it to think step by step essentially tells it to prime itself on the previous step before moving to the next step. Providing you with a more detailed answer.

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

      The fundamentals of LLMs and Prompt Engineering in 3 easy steps!
      ua-cam.com/video/BCabX69KbCA/v-deo.html does this answer your question?

  • @abenjamin13
    @abenjamin13 Рік тому +2

    I appreciate this video thank you. Fantastic. ☝️I just completed a blog post about ToT of tree-of-thought promoting

    • @lucidateAI
      @lucidateAI  Рік тому +1

      Thanks for your kind words of support, glad you enjoyed the video. Might you share the link to the blog post?

  • @masonmount699
    @masonmount699 8 місяців тому

    What's Alfred doing here

    • @lucidateAI
      @lucidateAI  8 місяців тому

      Jus’ chillin’ (at least that is what he told me).