Created
March 12, 2023 02:51
-
-
Save BLamy/edca5b14af8596d0b40e133322f0aba0 to your computer and use it in GitHub Desktop.
Export prompt from open ai playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...document.querySelectorAll( | |
".text-input[placeholder='You are a helpful assistant.'], .text-input[placeholder='Enter a user message here.'], .text-input[placeholder='Enter an assistant message here.']" | |
)].map(x => ({ | |
role: x.attributes.header ? x.attributes.header.nodeValue : "system", | |
content: x.value | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment