esteinmann / chatgpt-convdown

GNU General Public License v3.0
56 stars 7 forks source link

Formatting stripped #41

Open endolith opened 1 year ago

endolith commented 1 year ago

Assistant responded with (exported with Superpower ChatGPT:

main.xc and usb_buffer.xc

  1. Cannot provide details due to the truncation, but likely important changes in the main loop and USB buffering.

.cproject

  1. Appears to be metadata changes for the IDE, can't specify without more context.

The changes seem to be adding new functionalities, refining existing ones, and making certain optional parameters mandatory, which likely improves the robustness of the code.

but this extension strips some formatting and saves it as:

main.xc and usb_buffer.xc

  1. Cannot provide details due to the truncation, but likely important changes in the main loop and USB buffering.

.cproject

  1. Appears to be metadata changes for the IDE, can't specify without more context.

The changes seem to be adding new functionalities, refining existing ones, and making certain optional parameters mandatory, which likely improves the robustness of the code.

esteinmann commented 1 year ago

Thanks for reporting this issue. Yes not all formatting is (properly) converted to markdown.

Would you recommend Superpower ChatGPT? I see it has many features but sadly closed source. I am willing to link to alternative extensions in the README as I haven't done much with this project the last couple of months.

endolith commented 1 year ago

Would you recommend Superpower ChatGPT?

Meh. It does a decent job of exporting all chats in markdown, and has some other useful features, but is very bloated and slow and spammy with their newsletter, so I keep it turned off most of the time.

esteinmann commented 1 year ago

I might have a solution for markdown formatting problems but it requires asking for (even) more permissions (webRequest and webRequestBlocking). The API that is used by chat.openai.com returns a stored chat as JSON, this JSON contains all the messages of the chat with markdown formatting. With that JSON it's much easier to produce a markdown representation of the chat. I wonder if the Markdown from the JSON does include the formatting you request here.

Downsides are of course the extra permissions plus that currently it only works if the chat is saved and you switch back to it from the menu on the left.