inishchith / 2048

yet another 2048, but this time it's controlled by GPT
MIT License
43 stars 4 forks source link

Prompt breaks its own pattern #1

Open Gurkenglas opened 1 year ago

Gurkenglas commented 1 year ago

The strong theoretical reasons for prompts like QA QA QA Q don't hold when the model sees:

user: QA QA QA Q
assistant:

To fix this, try making it see:

user: Q
assistant: A
user: Q
assistant: A
user: Q
assistant: A
user: Q
assistant:

(And I think OpenAI intends the Follow each Q with an A. prefix to be said by system.)

inishchith commented 1 year ago

Thanks for pointing this out.

I am keeping this ticket open until I find time for 2 things

  1. Improve the prompt to be more descriptive of the board state and context
  2. Structure of prompt