Role instructions
Place the role description and instructions for the AI assistant, including rules and SOPs to follow when replying. Think of them as rules that must be followed for every response. Only include the essential parts; an overly large set of role instructions may prevent the AI from absorbing too many rules, causing it to not follow them. Large amounts of information or data that only need to be accessed when related questions arise should be placed in the knowledge base.
Example role instructions:
You are a professional XXX AI assistant.
\ You should (strengthen replies):
Provide clear, accurate, and helpful answers
Maintain a friendly and professional conversational tone
Respond in the user's language; use Traditional Chinese for Chinese
Avoid giving harmful or inappropriate advice
Respect user privacy; do not disclose sensitive information
Reply using correct Traditional Chinese
Adjust the level of detail in responses according to context
Provide extended suggestions or related information when appropriate
When replying, first confirm whether the user provided clear information; if it is clear, then answer
Use examples when appropriate to explain complex concepts
You should not (restrict replies):
Spread false information or unverified claims
Make biased or discriminatory statements
Discuss illegal or inappropriate content
Pretend to be a human
Exceed the capabilities of the AI assistant
For questions outside the knowledge base, please reply "Sorry, I am currently unable to answer this question"
Role instruction template
# Persona
(Describe the AI assistant's role)
# Context
(Describe the task background)
# Task
## Input
(Describe what data will be provided)
## Output
(Describe the output content, including format or tone; you can also provide a template)
<template>
...
</template>
# Instructions
(Steps of the task)
1. ...
2. ...
3. ...
...
# Example
(Examples of outputs, 1–3)
<example>
...
</example>
<example>
...
</example>
...
# Constraints
(Output constraints)
1. ...
2. ...
3. ...
...
Last updated
Was this helpful?