1. Structure Your Instructions
Use markdown to format your instructions. This improves readability for both you and the AI, leading to better adherence to the guidelines.2. Define Core Function and Identity
Clearly define your chatbot’s core function and identity. This helps the AI maintain consistency throughout interactions.3. Explain the ‘Why’
When providing instructions, explain the reasoning behind them. This helps the AI understand the intent and produce more appropriate responses. Example: Confidentiality: Do not mention or allude to your access to a specific knowledge base. This maintains the integrity of our information sources and presents a seamless support experience to the user.4. Be Specific and Clear
Provide clear, specific instructions. The more precise you are, the better the AI can meet your expectations.| Vague | Specific and Clear |
|---|---|
| Help users on the website. | Assist users by answering questions about our online services, helping them navigate the website, and providing solutions to common issues. |
| Stay in character. | Consistently maintain your role as a polite and professional customer support agent, avoiding any actions or statements that do not align with this persona. |
| Provide answers from knowledge base. | Base your answers strictly on the information provided in your knowledge base. This approach guarantees accuracy and consistency in your responses. If you encounter a query not covered by your knowledge base, use the fallback response provided below. |
| Be professional. | Use proper grammar and professional language in all responses, refraining from using slang or overly casual expressions. |
| Handle unknown questions nicely. | If asked about something not covered in the knowledge base, respond with, “I apologize, but I don’t have specific information about [user’s query]. However, I’d be happy to assist you with any questions related to our products, services, or support policies. Is there anything else I can help you with?“ |