In Need an Official Prompting Learning Guide

Hello everyone. This is probably common knowledge, but it continues to evade me. I need an official source (or the closest thing to it) that gives instruction on how to use prompts . ex. If for whatever reason I was looking for a chatbot that would take a users prompt aas input and shade the response as such ; 1. you are a 40 year old male, 2. you love Star Wars, how would the code look?

messages: [{
role: ‘system’,
content: ‘you are a 40 year old male’
}, {
role: ‘assistant’,
content: prompt
}, {
role: ‘user’,
content: ‘you love Star Wars’
}]

Any help with pointing me to a source that would assist me with understanding the basics and beyond of this issue is truly appreciated.

Welcome to the community!

Have you seen this? https://platform.openai.com/docs/guides/prompt-engineering

Also, the prompt is typically put into a message with the “user” role, because it comes from the user. :slight_smile:

3 Likes

Forgive me but as I understand it, you don’t need code. Just tell it what you want it to be or do, and it will adopt the personality.

I have a basic Prompt Engineering course on Udemy I can send you for free. I’m NOT looking to sell anything so worry not.

Let me know. And enjoy…

Best wishes,

Zac

1 Like

Thank you for the link Diet. I appreciated it!

1 Like

Hello zacjan. Yes please send post a link to your udemy prompting course. Thank you for the assistance.