吴恩达Chatgpt Prompt课程学习(个人学习笔记)

主要参考资料
Deeplearning.ai: https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/
B站《ChatGPT提示工程师|OpenAI官方×AI大神吴恩达|prompt engineering》

Guidelines for prompt

There are X principles.

write clear and specific instructions

Tatics 1 Use delimiters(分隔符)
(1)Triple quotes“““ ”””
(2)Triple backtics ‘’’ ‘’’
(3)Triple dashes — —
(4)Angle bracktes<>
(5)XML tags
Tactic 2: ask for structured output
HTML JSON
Tactic 3: check whether conditions are satisfied
Check assuptions required to do the task
Tactic 4:few-shot prompting
Give successful examples of completing tasks
Then ask model to perform the task

Give the model time to think

Tactics 1 :specify the steps to complete a task
Step1 :
Step2:
……
Step N:
Tactics 2 :instruct the model to work out its own solution before rushing to a conclusion
Model Limitations
Hallucination
Makes statements that sound plausible
But are not true
Reducing hallucinations
First find relevant information
Then answer the question
Based on the relevant information

Model Limitations

Hallucinations
Make statements that sound plausible but are not true.
Reducing hallucinations
First find relevant information, then answer the question based on the relevant information.

Iterative Prompt development

在这里插入图片描述

Text Summarizing

Text Infering

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值