Skip to main content
A system prompt defines the style and behavior of what your avatar says. Effective prompting can make LemonSlice-powered avatars incredibly lifelike instead of robotic. When creating our avatars, we’ve found a few helpful guidelines.
Your system prompt controls what the avatar speaks, not how the avatar looks. Reference our Avatar Image Tips for image selection best practices.
Be concise. Short prompts reduce ambiguity. When instructions are compact and direct, the model has fewer ways to misinterpret them. Additionally, LLMs may degrade in response quality and response time if their context windows get too large. Separate instructions into sections with markdown. Sections create structure, which makes the instructions easier for LLMs to follow. LLMs are trained to pay attention to headings. Without sections, your system prompt blurs together.
Briefly restate the most important instructions at the end. Models tend to weight the most recent tokens more during generation. Instructions near the end of the prompt are more likely to influence the response. Your avatar should know that they are an embodied AI. For example, a person chatting with your avatar may ask what it looks like, or ask it to do something it can’t. Giving your avatar this context can help it respond naturally.
Normalize all text so that it’s spoken. Because we’re using LLM and TTS (text-to-speech) models, control the LLM to output symbols and numbers as words in responses. For example, bryce@gmail.com should become bryce at gmail dot com, and 3054448815 should be three zero five four four four eight eight one five. This prevents mispronunciations.