#How to make a text reply give a multiline bullet list, instead of all one line?
1 messages · Page 1 of 1 (latest)
Short answer: there’s no ElevenLabs API switch that “forces” multiline bullets. Agent replies are plain text; list formatting comes from your prompt and from how your client renders the agent_response text.
Do this:
- In your agent’s System Prompt, explicitly request a bullet list with one item per line (e.g., “Format answers as a markdown bullet list: each item starts with ‘- ’ on its own line”). The official prompting guide recommends using bulleted lists and notes that whitespace/line breaks matter. (elevenlabs.io)
- Make sure your UI renders the agent’s text as-is with newlines. In Chat Mode you receive the reply in agent_response; display that text (preserving line breaks). (elevenlabs.io)
- If you copied a prompt that disables bullets (the docs agent example explicitly tells the model “Do not format your text response with bullet points”), remove that constraint. (elevenlabs.io)
Note: If you’re speaking the reply (not chat), bullets won’t “display”; use SSML pauses instead by enabling SSML parsing on TTS and inserting breaks in the text. (elevenlabs.io)
Sources:
Conversational AI voice agent prompting guide | ElevenLabs Documentation
Chat Mode | ElevenLabs Documentation
Building an effective Voice Agent for our own docs | ElevenLabs
Multi-Context WebSocket | ElevenLabs Documentation
my prompt is already this:
Formatting rules for building lists:
• Present results as a bulleted list (one building per line).
• Preserve building names exactly as returned by the tool.
• Keep numbers as digits (e.g., 501 South Cherry Street, not “five hundred one”).
• Keep abbreviations, commas, and suite numbers exactly as provided.
• Do not combine building names into a single run-on sentence.
• After the list, ask one short follow-up question only (e.g., “Would you like details on one of these?”).
• Present results as a bulleted list, with each building on its own line.
• Use "\n" before each item so they render on new lines.
📌 EXAMPLE (do not reuse in actual replies — for illustration only):
Here are five office spaces in Orlando, Florida:
Regus Orlando
Metrowest Boulevard
HQ Orlando
Regus Orlando
Hotel Orlando
Would you like details on one of these?