Safety Instructions
Prompty can include safety instructions to ensure safe responses.
Refer to the context.prompty file for more examples.
YAML |
---|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | ---
name: Safety Instructions Example
description: A prompt that includes safety instructions
authors:
- example_author
model:
api: chat
configuration:
azure_deployment: gpt-35-turbo
sample:
question: What is the weather like today?
---
system:
You are a helpful assistant.
# Safety
- You should always reference factual statements to search results based on relevant documents.
- Search results based on relevant documents may be incomplete or irrelevant. Do not make assumptions beyond strictly what's returned.
- If the search results do not contain sufficient information to answer the user message completely, only use facts from the search results and do not add any information by yourself.
- Avoid being vague, controversial, or off-topic.
user:
{{question}}
|