ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Prompt Engineering 101 - Crash Course & Tips

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ส.ค. 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...
    Colab: colab.research...
    Resources:
    - amatriain.net/...
    - humanloop.com/...
    - github.com/Sud...
    - docs.cohere.co...
    - www.mihaileric...
    - github.com/f/a...
    - github.com/pro...
    - • Prompt Engineering 101...
    - docs.anthropic...
    - www.assemblyai...
    ▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬
    🖥️ Website: www.assemblyai...
    🐦 Twitter: / assemblyai
    🦾 Discord: / discord
    ▶️ Subscribe: www.youtube.co...
    🔥 We're hiring! Check our open roles: www.assemblyai...
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    #MachineLearning #DeepLearning #promptengineering #chatgpt

ความคิดเห็น • 46

  • @christerjohanzzon
    @christerjohanzzon 9 หลายเดือนก่อน +5

    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.

  • @manishpanchasara5732
    @manishpanchasara5732 ปีที่แล้ว +13

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

  • @mickelodiansurname9578
    @mickelodiansurname9578 11 หลายเดือนก่อน +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}}

  • @oluwanifemikim1996
    @oluwanifemikim1996 6 หลายเดือนก่อน +3

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

    • @kuddybeef777
      @kuddybeef777 4 หลายเดือนก่อน +1

      Praise God. Good to hear 🙏🏻

  • @user-pu3fo8dm6s
    @user-pu3fo8dm6s 6 หลายเดือนก่อน

    🎯 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

  • @grapestechno
    @grapestechno 4 หลายเดือนก่อน

    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.

  • @monggalabdul7263
    @monggalabdul7263 5 หลายเดือนก่อน

    thanks AssemblyAI for the tips. loud and clear explanation

  • @LanaDominkovic
    @LanaDominkovic ปีที่แล้ว +5

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

    • @AssemblyAI
      @AssemblyAI  ปีที่แล้ว

      Thanks Lana! Great to hear!

  • @relaxwithnature7430
    @relaxwithnature7430 11 หลายเดือนก่อน +1

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

  • @Beloved_Digital
    @Beloved_Digital ปีที่แล้ว +3

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

    • @AssemblyAI
      @AssemblyAI  ปีที่แล้ว

      Thanks! Yeah maybe there will be a 102 :)

  • @AniruddhaBhattacharyya1983
    @AniruddhaBhattacharyya1983 ปีที่แล้ว +3

    This is like teaching someone how to use Google search.

  • @laddcraner4170
    @laddcraner4170 9 หลายเดือนก่อน

    Thanks so much for your content.

  • @larryarrington9395
    @larryarrington9395 7 หลายเดือนก่อน

    Tks - great job! ❤

  • @briantran3791
    @briantran3791 9 หลายเดือนก่อน

    This is awesome! Thank you.

  • @AG-du1vd
    @AG-du1vd 8 หลายเดือนก่อน

    Very good mate

  • @carlpeterson8279
    @carlpeterson8279 ปีที่แล้ว +2

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

    • @JudeChiy
      @JudeChiy 6 หลายเดือนก่อน

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

  • @ali050786
    @ali050786 11 หลายเดือนก่อน

    Thanks for sharing this knowledge

  • @Nilsschneiderxyz
    @Nilsschneiderxyz 10 หลายเดือนก่อน

    great video, thanks!

  • @chrisodhiambo7095
    @chrisodhiambo7095 ปีที่แล้ว +1

    This is informative. Thanks

  • @rajeshmisra1030
    @rajeshmisra1030 ปีที่แล้ว +1

    Thanks lot sir. Very useful video.

  • @ehza
    @ehza 11 หลายเดือนก่อน

    Thanks, this is helpful!

  • @ibrahimtijjani8331
    @ibrahimtijjani8331 11 หลายเดือนก่อน

    Very educative

  • @rexzhang15
    @rexzhang15 ปีที่แล้ว +2

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

  • @orfansalman272
    @orfansalman272 ปีที่แล้ว

    It was a good short vedio

  • @faezehmozneb5455
    @faezehmozneb5455 ปีที่แล้ว

    For good translation what should i do?

  • @ForibaloFacts
    @ForibaloFacts ปีที่แล้ว

    Finally i can cheat on my school essays 😮 thanks

    • @chrisodhiambo7095
      @chrisodhiambo7095 ปีที่แล้ว

      😂😂😂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.

  • @arturoortiz969
    @arturoortiz969 5 หลายเดือนก่อน

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

    • @brianondieki1901
      @brianondieki1901 5 หลายเดือนก่อน +1

      Crossover

    • @arturoortiz969
      @arturoortiz969 5 หลายเดือนก่อน

      @@brianondieki1901 thank-you sir

  • @ricardocnn
    @ricardocnn ปีที่แล้ว

    Awesome!

  • @song1749
    @song1749 ปีที่แล้ว

    Thanks

  • @yashnipane1224
    @yashnipane1224 ปีที่แล้ว

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

  • @javeserr9498
    @javeserr9498 ปีที่แล้ว +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 ปีที่แล้ว

      agreed, prompt injection on the other hand...