Basic vanilla HTML and JavaScript implementation of the ChatGPT API.
Production implementation here: fredeaker.com/chattypatty/
- Include an option to select output type: plaintext or Markdown. See
Formatting re-enabled
mentioned here and see this guidance on how to add additional instructions to the prompt. - Change debug section to a Boostrap Modal, Toast, or Tooltip