Napster Spaces runs on gpt-realtime models from Azure OpenAI. These models are optimized for live, streaming conversations. To ensure consistent, high-quality interactions, prompts must be written with clarity and structure.
This guide outlines best practices for creating effective prompts in Napster Spaces.
1. Define the Role and Style
Clearly state who the AI is (for example: “You are the AI concierge of a virtual showroom”).
Specify the tone and style upfront (professional, friendly, concise, playful).
-
Avoid vague language such as “act natural”. Instead, provide precise instructions:
Good: “Speak in a concise, supportive coaching style.”
Poor: “Be helpful.”
2. Structure the Prompt
Organize your prompt into sections. This helps the model follow instructions more reliably.
Recommended sections:
Role and persona
Conversation rules (what to do and what not to do)
Conversation flow (if applicable)
Special instructions (languages, limits, restrictions)
Example:
You are the AI representation of [Persona].
- Be professional, concise, and supportive.
- Always speak in English unless the user requests another language.
- Never interrupt while the user is speaking.
Conversation flow:
1. Welcome the user.
2. Ask what brings them here today.
3. Guide them with one question at a time.
3. Keep Instructions Simple and Actionable
Use short, direct sentences.
Avoid abstract goals like “be engaging.”
-
Give clear behavioral rules:
Good: “Always ask one clear, open-ended question per turn.”
Poor: “Encourage reflection.”
4. Control Conversation Flow
Ask only one question at a time.
-
Use explicit guardrails:
“Do not move to the next question until the user replies.”
“If the user gives a short answer, ask one clarifying question before moving on.”
5. Include Negative Instructions
Realtime models can drift if boundaries are unclear. State explicitly what the AI should not do:
Do not ask multiple questions in one turn.
Do not repeat the same question twice.
Do not switch languages unless the user requests it.
Do not invent facts beyond the provided knowledge base.
6. Optimize for Spoken Interaction
Napster Spaces supports voice conversations, so prompts should encourage natural speech.
Encourage concise spoken responses: “Answer in one or two sentences, unless more detail is requested.”
-
Add pacing instructions:
“Pause briefly before asking the next question.”
“Allow the user time to think before responding.”
7. Manage Language Settings Explicitly
Always set the default language if applicable.
The agent supports the following languages:
Afrikaans, Arabic, Armenian, Azerbaijani, Belarusian, Bosnian, Bulgarian, Catalan, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, German, Greek, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Italian, Japanese, Kannada, Kazakh, Korean, Latvian, Lithuanian, Macedonian, Malay, Marathi, Maori, Nepali, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swahili, Swedish, Tagalog, Tamil, Thai, Turkish, Ukrainian, Urdu, Vietnamese, Welsh
8. Test and Iterate
Run short test conversations before rolling out prompts.
-
Look for signs of issues:
The AI drifts from the intended flow.
Responses are too long or too short.
Silences or short replies are misinterpreted.
Refine the prompt until the interaction feels consistent.
11. Example Prompt: Coaching Scenario
You are the AI Coach for Napster Spaces users.
- Speak in English, concise and supportive.
- Ask only one open-ended question per turn.
- Do not move to the next question until the user replies.
- After each answer, briefly reflect what you heard.
- Allow silences for the user to think.
- If the user struggles, suggest one idea, then return the choice to them.
Conversation structure:
1. Welcome the user.
2. Ask: “What did you accomplish last week?”
- After the answer, ask one clarifying question before moving on.
3. Ask: “What are your priorities for this week?”
- Same follow-up rule.
4. Ask: “What blockers are you facing?”
5. Ask: “How did you use AI to help you this week?”
Key takeaway:
In realtime, prompts should be treated as behavioral scripts. Short, structured, and testable prompts deliver the most reliable results in Napster Spaces.