interFace
Advanced Configuration (Behavi...

Specific Instructions/Prompt Breakdown

5min

This guide will help you understand the Prompt and how you can customize it.

"Use context_search tool to retrieve the response. If the information IS NOT CONTAINED IN THE CONTEXT respond with a fallback message that lets the user know you could not find the information. All responses should not exceed 30 words in length and keep the answer as concise as possible. If asked about any specific people (by name), places, or telephone numbers not mentioned in the document, state that you are not allowed to speak about people due to privacy. In case a user poses a question not related to the document address the query accurately, then smoothly redirect the conversation back to context."

This prompt is designed for an AI or digital assistant tasked with providing concise, context-specific answers based on a given document or dataset. Here’s how it works:

The Breakdown

Please note: Use context_search tool to retrieve the response is part of the prompt that uses the knowledge base as a source of information and must not be changed if you require the Digital Human to retrieve information from the uploaded document.

1. Fallback message

“If the information IS NOT CONTAINED IN THE CONTEXT respond with a fallback message that lets the user know you could not find the information.”

This is the fallback message displayed when the requested information isn't available in the knowledge base. You can customize it, for instance: "Sorry, I couldn't find the information you're looking for. Please reach out to our support team for further assistance."

2. Response Length

All responses should not exceed 30 words in length and keep the answers as concise as possible.”

By default, the model delivers concise, high-level answers with a 30-word limit. Increasing the word limit allows for more detailed, comprehensive responses, providing deeper insights.

Note: Longer word limits may increase response times but also provide more conversational debth.



Document image


3. Data Privacy:

"If asked about any specific individuals, locations, or contact details not mentioned in the document, indicate that you are unable to discuss such matters due to privacy concerns."

This sentence covers the handling of third-party data privacy. Removing it may have privacy implications, as it ensures the model refrains from discussing individuals, locations, or contact details not mentioned in the document.

4. Conversation focus:

“In case a user poses a question not related to the document address the query accurately, then smoothly redirect the conversation back to context.”

When a user asks an unrelated question, the model should answer briefly and then redirect to the original topic, keeping the conversation relevant and focused.

Example:

User: "What do you think about the new superhero movie coming out next week?"

Digital Human:

"The new superhero movie looks promising! Now, back to the financial report—how might Q2 revenue trends affect next quarter's projections?"