Questions tagged [prompt-design]
11 questions
24
votes
1 answer
Meaning of roles in the API of GPT-4/ChatGPT (system/user/assistant)
In the API of GPT-4 and ChatGPT, the prompt for a chat conversation is a list of messages, each marked as one of three roles: system, user or assistant.*
I understand which information this represents - but what does the model with that…

Volker Siegel
- 589
- 1
- 4
- 17
4
votes
1 answer
Who invented DAN?
DAN was a prompt that went through many, many iterations during the initial months of ChatGPT’s release to the public. DAN is an acronym which stood for “Do Anything Now”, and was a prompt specifically designed to circumvent the grid lines OpenAI…

hmltn
- 103
- 9
3
votes
2 answers
How to Formulate a realiable ChatGPT Prompt for Sentiment Analysis of a Text, and show that it is reliable?
I have a dataset which consists of like.. 400000 sentences and I want give each sentence to ChatGPT so it classifies each sentence as positive or negative. My question is, where can I find a reliable / trusted prompt to do that? and provide evidence…

cnmesr
- 131
- 3
1
vote
2 answers
Does Negative Prompting Exist?
All the prompt engineering techniques I've seen seem to focus on telling the model what to do e.g. Few-Shot Prompting.
Is there any value in giving the model examples of what not to do? Can you link me to any papers/techniques on the…

codeananda
- 111
- 2
1
vote
0 answers
Using Stable Diffusion, how do I generate an image of a fictional location from a movie or tv show?
So today's Michael J Fox's birthday, and I thought I could pay homage to him on my Facebook timeline by posting an image of him and Christopher LLoyd from the 2015 version of Hill Valley as depicted in the movie "Back To the Future 2" that I hand…

Q The First Timelord
- 11
- 2
1
vote
1 answer
What researched-backed findings is there for prompting LLM’s / GPT-4 to give specific information or actionable plans?
I have learned a bit recently about prompt strategies. For example, there was a paper about how just by saying “Let’s think step by step” can increase answer quality by like 40%. I have also come to appreciate that models like GPT4 sometimes…

hmltn
- 103
- 9
0
votes
1 answer
GPT beam search length (number of tokens)
Background: I'm currently trying to use GPT to give me numerical scores, and looking for tips on prompt design, see my previous StackExchange post.
To craft good prompts it seems important to have a good understanding of how the generative model…

just another mathmo
- 13
- 4
0
votes
1 answer
what is the best way to feed GPT a scientific paper with a lot of formulas
I often wish to ask GPT to read a scientific paper with a lot of formulas but I run into a difficulty. Usually a scientific paper is in pdf format and there are a lot of formulas. If those formulas are in latex form, GPT can indeed understand them…

aystack
- 111
- 3
0
votes
0 answers
ChatGPT request/prompt structure: Put Persona into the "system" field. Add or replace?
On playground.openapi.com
we see a more advanced view of the chat window that chat.openai.com offers (that's the more well-known GUI shown in countlerss screenshots and tutorial videos).
On the Playground GUI, there is a textbox "system" and the…

knb
- 143
- 1
- 6
0
votes
1 answer
How to guide the interaction between two ChatGPT conversational agents?
I wrote a code for a conversation between 2 ChatGPTs (which I call them agent 1 and agent 2) using poe.com and its reversed engineered API:
import poe
agent_1 = {"token":""}
print("Agent 1: ON")
agent_2 = {"token":""}
print("Agent 2: ON")
client_1…

Amirhossein Rezaei
- 101
- 3
-1
votes
0 answers
AI Company Idea - Using AI avatars to inspire creativity
Can someone tell me if these ideas are valid/possible with current tech or if similar ideas are being had in the community ?
My main question is to ask how this idea sounds: using ai avatars (or just written version on open ai which I have already…

Will Longo
- 1
- 2