Best answer

Retaining Text Formatting when Appending Text to Word Document from OpenAI Prompts

  • 29 May 2023
  • 2 replies
  • 98 views

Userlevel 1

I am sending prompts to openai and gathering information and then dropping it into a word document. The first ‘drop’ created the doc and the formatting is clean. The second ‘drop’ after ai i prompted to generate the content uses ‘append text to document’ and all of its formatting is stripped out. Any idea how to keep the formatting? It turns it into one large paragraph of text. 

icon

Best answer by christina.d 1 June 2023, 03:23

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 1
Badge +1

Hi,

Before the second drop, you need to get the format. Then, do the second drop, use formatter to append the output.

Note: This work only if the format generated in the first drop is constant each time.

If format is not constant each time, you may need to use Openai again to tell ai to put the second text to the old format.

Userlevel 7
Badge +9

Hey there,  @ScottAAA - thanks for reaching out!

It sounds like you’re running into a known Google Docs bug where appending text removes the previous formatting. I did add you as an impacted user so we’ll be sure to email you once a fix is implemented. There’s also a main thread here we’ll update if a workaround or fix is available 👇🏽:

In an effort to streamline communication, I’ll be closing this thread but if you’d like to receive notifications in community regarding the status you can follow along there. 🙂

Sorry to not have better news here but definitely appreciate you flagging this in community!