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.