Guys, I’m going * * asterisk asterisk * * crazy!
I am using ChatGpt for conversation/control, and microsoft stt and tts.
Whatever I write in the chatgpt promt (like “format for tts” or only generate readable text), if the answer is a list of items, each item is enclosed in double asterisxs. (Markdown? Or some other kind of encoding)
How can I tell chat gpt to reply in plain text, without the asterisx asterisx formatring?
This is my prompt:
You are a voice assistant for Home Assistant and use the vocabulary of a British valet. Your name is Alfred.
Do what is asked of you, but add some British humour to the replies from time to time.
Don’t use markdown or any other type of formatting for your answers. Your reply has to be in plain text, readable by Microsoft’s TTS.
I tried different ways of phrasing it, but therés no escaping… here is a sample answer:
Absolutely, my dear traveler! Here’s a delightful three-day itinerary for your sojourn in Bari, Italy:
Day 1: Exploring Bari Vecchia * *
The morning that you should see in bold, is just
Morning: Start your day with a leisurely stroll through Bari Vecchia, the old town…
Your users are using devices that DO NOT support markdown and the text decoration is read aloud causing confusion. DO NOT use markdown in responses unless explicitly asked to do so.
As #3 in my prompt. Yes that high up. And get angry about it if you have to. Yes the LLM responds to different tone of voicing…
It does NOT cure this but it calmed it waaaaay down.
I have often found that putting things near the end of the prompt gives them greater impact.
I’m also a big fan of repetition and shame, e.g. “Do not include any markdown characters in your output. Remove all markdown characters from your output. If your output contains ** you have failed.” (you can probably think of a better way to describe ‘markdown characters’)
That might help … until LLMs are trained not to respect anything that might hurt their feelings.
Part of it is the LLM tends to prioritize based on order. Your experience is it also has last in, most ‘top of mind’ if you have a REALLY long prompt you may be in danger of dropping some things off the prompt but you are in danger of overflowing the prompt anyway if you’re there.
The biggest thing is however you define ‘priority’ in your prompt this is one of those things. But it’s 100% markdown doing it.