Prompt Engineering 101 - Crash Course & Tips

Поделиться
HTML-код
  • Опубликовано: 27 май 2024
  • Learn all about Prompt Engineering in this Beginner Crash Course. In this video you will learn all the basics of prompt engineering so you can get the best results when working with Large Language Models.
    This is not a list with the best ChatGPT prompts. Instead, we compiled the best resources we found into one straightforward guide that teaches you basic concepts and the fundamentals of prompt engineering.
    Get your Free Token for AssemblyAI👇
    www.assemblyai.com/?...
    Colab: colab.research.google.com/dri...
    Resources:
    - amatriain.net/blog/PromptEngi...
    - humanloop.com/blog/prompt-eng...
    - github.com/SudalaiRajkumar/Ta...
    - docs.cohere.com/docs/prompt-e...
    - www.mihaileric.com/posts/a-co...
    - github.com/f/awesome-chatgpt-...
    - github.com/promptslab/Awesome...
    - • Prompt Engineering 101...
    - docs.anthropic.com/claude/doc...
    - www.assemblyai.com/docs/Guide...
    ▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬
    🖥️ Website: www.assemblyai.com
    🐦 Twitter: / assemblyai
    🦾 Discord: / discord
    ▶️ Subscribe: ruclips.net/user/AssemblyAI?...
    🔥 We're hiring! Check our open roles: www.assemblyai.com/careers
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    #MachineLearning #DeepLearning #promptengineering #chatgpt

Комментарии • 55

  • @manishpanchasara5732
    @manishpanchasara5732 9 месяцев назад +11

    This is the way a concept should be explained. Excellent!!!!

  • @monggalabdul7263
    @monggalabdul7263 3 месяца назад

    thanks AssemblyAI for the tips. loud and clear explanation

  • @briantran3791
    @briantran3791 6 месяцев назад

    This is awesome! Thank you.

  • @christerjohanzzon
    @christerjohanzzon 6 месяцев назад +3

    I usually put a custom instruction (for ChatGPT) that requests the AI to include its level of confidence, sources and date of answer, and also instruct the AI to specifically tell me if the answer is speculative. And make it a markdown table at the end of every answer. This way, it's quite easy and reliable to see if the AI is speculating or is not 100% sure about its answer.

  • @rajeshmisra1030
    @rajeshmisra1030 9 месяцев назад +1

    Thanks lot sir. Very useful video.

  • @chrisodhiambo7095
    @chrisodhiambo7095 10 месяцев назад +1

    This is informative. Thanks

  • @LanaDominkovic
    @LanaDominkovic 11 месяцев назад +5

    thanks Patrick & AssemblyAI team, this is quite useful and helpful in getting expected results from LLM's :)

    • @AssemblyAI
      @AssemblyAI  11 месяцев назад

      Thanks Lana! Great to hear!

  • @Nilsschneiderxyz
    @Nilsschneiderxyz 7 месяцев назад

    great video, thanks!

  • @ali050786
    @ali050786 9 месяцев назад

    Thanks for sharing this knowledge

  • @ehza
    @ehza 9 месяцев назад

    Thanks, this is helpful!

  • @laddcraner4170
    @laddcraner4170 7 месяцев назад

    Thanks so much for your content.

  • @larryarrington9395
    @larryarrington9395 4 месяца назад

    Tks - great job! ❤

  • @grapestechno
    @grapestechno 2 месяца назад

    Could you please create a video on the prompt engineer's role and responsibilities? What does a prompt engineering job look like? Thanks for the video. This video makes it clear how efficiently we need to use any language model. It's not clear to me how prompt engineering works for people who are seeking jobs.

  • @ibrahimtijjani8331
    @ibrahimtijjani8331 9 месяцев назад

    Very educative

  • @KeneDigital
    @KeneDigital 11 месяцев назад +3

    Thank you for this video hope to see 102.. soon

    • @AssemblyAI
      @AssemblyAI  11 месяцев назад

      Thanks! Yeah maybe there will be a 102 :)

  • @AG-du1vd
    @AG-du1vd 5 месяцев назад

    Very good mate

  • @mickelodiansurname9578
    @mickelodiansurname9578 8 месяцев назад +4

    There is also a much more accurate output in terms of prompting for a 'tree of thought' process.
    A tree of thought unlike the step by step or one shot approach enables the model to test an answer, decide if it makes sense and if not revert back to its possible selections of ideas and take the next branch and so on. This process however demand more planning and forethought than straightforward prompts and may be excessive for simpler queries. But it is excellent for creating code snippets and functions and classes etc. Its not a perfect system prompt. But it does seem to work better but I am always open to others suggestions.
    Example of one prompt ToT:
    System: You are 'Tot' an advanced AI that uses a 'Tree of Thought' methodology and chooses the best solution to output. To save tokens as a 'Tree of Thought' AI you ensure you only provide your final choice without detailing all of your considerations or approaches.
    To create your output:-
    1. Formulate several ways to approach answering the prompt.
    2. You will now have several ideas. Decide which of these musing you had internally, is the best way to create a solution for the user {{PROMPT}}.
    3. You now present in output ONLY your final choice and discard other ideas.
    4. To save resources, tokens and costs only outline the choice you made and not all ideas.
    Example:
    User: I want to design a python script to scrape or collect todays news from the internet.
    [Assistant thinks of several ways including Web Scraping Library, RSS Feeds and API Integration. It does not output all three ideas instead it chooses one. ]
    Assistant: I recommend using the RSS Feeds. Here is how you can write a Python script to scrape your news using RSS Feeds. {{CODE FROM AI FOR RSS FEED IDEA}}

  • @user-pu3fo8dm6s
    @user-pu3fo8dm6s 4 месяца назад

    🎯 Key Takeaways for quick navigation:
    00:00 Basics *of prompt engineering for large language models discussed by Patrick from Assembly AI.*
    00:41 Elements *of a prompt include input/context, instructions, examples, and desired output format; at least one instruction or question is crucial.*
    03:11 Use *cases for prompts include summarization, classification, translation, text generation, question answering, coaching, and image generation.*
    04:51 Tips *for effective prompts: clarity, conciseness, providing context, giving examples, specifying output format, encouraging factual responses, aligning instructions with tasks, using different personas.*
    06:50 Specific *prompting techniques: length control, tone control, style control, audience control, context control, scenario-based guiding, and Chain of Thought prompting for complex questions.*
    09:37 Avoid *hallucination by explicitly instructing the model not to make things up or to use relevant quotations to support claims.*
    10:04 Hacks *to improve output: let the model say "I don't know" to prevent hallucinations, give the model room to think, break down complex tasks, and check the model's comprehension.*
    13:17 Iterating *tips include trying different prompts, combining few-shot learning with direct instructions, experimenting with personas, and adjusting the conciseness of direct instructions.*
    Made with HARPA AI

  • @rexzhang15
    @rexzhang15 10 месяцев назад +2

    Is it for several rounds of chat or just put all of them into one prompt?

  • @orfansalman272
    @orfansalman272 9 месяцев назад

    It was a good short vedio

  • @relaxwithnature7430
    @relaxwithnature7430 8 месяцев назад +1

    You get two remote jobs as a prompt engineer and you are free for life.

  • @faezehmozneb5455
    @faezehmozneb5455 9 месяцев назад

    For good translation what should i do?

  • @AniruddhaBhattacharyya1983
    @AniruddhaBhattacharyya1983 10 месяцев назад +3

    This is like teaching someone how to use Google search.

  • @djpaulhannon
    @djpaulhannon 11 месяцев назад +27

    Any examples of companies that are actually looking for Prompt Engineers??

    • @djpaulhannon
      @djpaulhannon 11 месяцев назад +11

      I’m guessing none(?).

    • @minhdohoa
      @minhdohoa 11 месяцев назад +2

      I think they'll need in the future

    • @baazarkibaatein
      @baazarkibaatein 10 месяцев назад +7

      No one, buzzword

    • @AldoA
      @AldoA 9 месяцев назад +8

      I don't think companies will specifically look to hire prompt engineers, instead, it will be more common to see people in existing roles (like accountants, support reps, financial analysts, etc) get upskilled to use prompt engineering.

    • @djpaulhannon
      @djpaulhannon 9 месяцев назад +3

      @@AldoA exactly

  • @ricardocnn
    @ricardocnn 11 месяцев назад

    Awesome!

  • @song1749
    @song1749 11 месяцев назад

    Thanks

  • @carlpeterson8279
    @carlpeterson8279 10 месяцев назад +2

    Tell the AI not to hallucinate, otherwise it will make s*** up. Sounds super reliable.

    • @JudeChiy
      @JudeChiy 3 месяца назад

      Does it actually prevent hallucination if you tell it not to hallucinate?

  • @yashnipane1224
    @yashnipane1224 11 месяцев назад

    👋I am from vfx background .can I learn prompt engineering how and where

  • @arturoortiz969
    @arturoortiz969 2 месяца назад

    Hello everyone , is there any platform i can use to work on projects company s hire prompt engineers for>?

  • @ForibaloFacts
    @ForibaloFacts 10 месяцев назад

    Finally i can cheat on my school essays 😮 thanks

    • @chrisodhiambo7095
      @chrisodhiambo7095 10 месяцев назад

      😂😂😂You don't have to ai gives out a very generic answers.You need to humanise your output.
      I can help you with essay.Let,s engage.

  • @oluwanifemikim1996
    @oluwanifemikim1996 3 месяца назад +2

    Thank Almighty God I got a 93❤.
    Jesus is good ❤🎉

    • @kuddybeef777
      @kuddybeef777 Месяц назад

      Praise God. Good to hear 🙏🏻

  • @javeserr9498
    @javeserr9498 10 месяцев назад +3

    That’s it ….I mean really this is nothing special … as AI evolves and gets better you won’t need to be doing all this, “prompt engineer BS”

    • @m0zzar353
      @m0zzar353 10 месяцев назад

      agreed, prompt injection on the other hand...