Prompt Tuning Instructions
5 min
when creating a digital human, certain configurations may need to be added to the prompt to address formatting telephone numbers to have the llm model read out a phone number with each digit stated separately, use the following syntax read out the following phone number, saying each digit separately for example, if the number were 555 123 4567, you would say "five five five, one two three, four five six seven " \[insert phone number here] time formatting to ensure consistent formatting of times in the model's responses, include the following instructions in your prompt when displaying times in your responses, format them as follows \ for times from 1 00 to 11 59 (both am and pm), write them as '\[hour] \[minutes] \[am/pm]', e g '5 00 pm' \ for times from 12 00 to 12 59 in the afternoon, write them as '12 \[minutes] pm' \ for times from 12 00 to 12 59 at night or in the morning, write them as '12 \[minutes] am' \ for times from 13 00 to 23 59, first convert them to 12 hour clock format, then write them as '\[converted hour] \[minutes] \[am/pm]', e g '17 00' should be written as '5 00 pm' languages to specify the language in which the model should respond, use the following syntax respond in \[language] only please note that by default the microphone is listening for english replace \[language] with the desired language, such as "english," "spanish," "french," etc question asking to have the model survey with a series of questions, use the following format ask the following questions individually, wait for the user's response, acknowledge their answer briefly, and then proceed to the next question until the survey is complete assistant i’m going to ask you 5 questions one by one after each question, please provide your answer once all 5 questions are answered, i will give you a final response based on your answers question 1 \[ask your first question here] ( wait for user response ) question 2 \[ask your second question here] ( wait for user response ) question 3 \[ask your third question here] ( wait for user response ) question 4 \[ask your fourth question here] ( wait for user response ) question 5 \[ask your fifth question here] ( wait for user response ) assistant (final response) \[provide a comprehensive response based on the user’s answers to all 5 questions ] currency and units formatting if your users work with financial figures or measurements, include a prompt for how currency or units should be formatted example when mentioning monetary values, display them in \[currency] format, e g , "$100" or "€100" when using units of measurement, use \[imperial/metric] based on regional preferences embedding rich content in responses (oc and doc qa) for digital humans operating in oc (open conversation) or doc qa mode, you can instruct the model to include html formatted content — such as hyperlinks and images — directly within its responses this is supported both in system prompts and inside knowledge base entries this is particularly useful when you want the digital human's responses to surface relevant reference links or visual content alongside its text output how it works you include html formatting instructions in your system prompt or knowledge base the model will follow these instructions and output the corresponding html tags as part of its response, which the embed surface then renders for the end user appending links to responses to instruct the model to always append relevant urls as clickable links, add the following to your system prompt always append applicable urls below every answer using html anchor tags, for example learn more replace the href value and link text with urls relevant to your content domain including images in responses to instruct the model to include an image alongside its answers, add the following to your system prompt or knowledge base entry always include exactly one image per recommendation replace image url with the actual url of the image you want displayed, and provide a meaningful alt attribute for accessibility this approach works because the embed surface renders the model's raw output as html the system prompt or knowledge base entry acts as a formatting contract that the model follows when composing its responses full example inside your prompt configuration always append the applicable urls below every answer using html anchor tags wordalways include exactly one image per recommendation image