مثال پایتون (هوش مصنوعی با پایتون): 👤 You: explain neutralisation
مثال 4 از درس جلسهی 62 آموزش هوش مصنوعی برای نوجوانان با پایتون: پرامپتنویسی پیشرفته ۱
ترفند ۳: نقش + زمینه + قالب + محدودیت. نقش: مدل چه کسی باشد. زمینه: تو کی هستی و چه میدانی (مدل ذهنخوان نیست!). قالب: جواب چه شکلی باشد. محدودیت: چه چیزهایی نباید باشد یا اندازهاش چقدر باشد. هر چهار بخش را جدا و روشن بنویس.
👤 You: explain neutralisation
🤖 AI: Neutralisation is a chemical reaction in which an acid and a base
react quantitatively with each other, typically forming a salt and
water; the enthalpy of neutralisation of strong acids... (400 words)
👤 You: You are a patient chemistry tutor. <- role
I am 15. I understand pH but not neutralisation,
and I have a test tomorrow. <- context
Explain neutralisation in 5 bullet points. <- format
At most 100 words, only use HCl and NaOH as examples,
and end with 2 practice questions without answers. <- constraints
🤖 AI: - An acid (like HCl) and a base (like NaOH) cancel each other out.
- ...
Practice: 1) What do HCl and NaOH make? 2) ...
این کد را همینجا در ویرایشگر پایتون اجرا کن، عددها و متنهایش را عوض کن و دوباره اجرا کن تا ببینی چه تغییری میکند.
بیشتر بخوان: پایتون چیست؟ تاریخچه، کاربردها و راه شروع
← مثال قبلی · برگشت به درس جلسهی 62: پرامپتنویسی پیشرفته ۱ · مثال بعدی → · چالشهای این جلسه