manateelazycat / mind-wave

Emacs AI plugin based on ChatGPT API
GNU General Public License v3.0
159 stars 26 forks source link

[Proposal] remove ---- xxx ---- markers, user markdown headlines in chat mode #26

Closed thanhvg closed 1 year ago

thanhvg commented 1 year ago

Replace usages of:

Example:

# > User: hello

## > Assistant: Hello! How can I assist you today?

Benefit:

I have a prototype here https://github.com/thanhvg/mind-wave/commit/4995c7f23251139ad891c5640af78a7bd63945d2 if you think it's a good idea I can create a PR.

Thanks.

manateelazycat commented 1 year ago

It's not a good idea.

Sometimes, we want ChatGPT convert Markdown documentation or output as Markdown syntax.

If we use # as headline, mind-wave parser program will confused if ChatGPT anwser include # too.

Anyway, thanks for your kind suggestion.

thanhvg commented 1 year ago

But the proposed markers (## > and # >) are chosen so that the chance they are at the start of the lines are very small. Or we can find better markers. My point is that chat mode should take advantage of markdown headline feature.

manateelazycat commented 1 year ago

you can try send a PR