|
7 | 7 | {{~/system}} |
8 | 8 |
|
9 | 9 | {{#block hidden=True}} |
10 | | -{{~! The assistant either starts the conversation or not, depending on if the user query is offensive or no}} |
| 10 | +{{~! The assistant either starts the conversation or not, depending on if the user's query is offensive or not}} |
11 | 11 | {{#user~}} |
12 | | -Utilizing your extensive understanding of common moral and ethical principles, please evaluate the following user's query {{question}}. Analyze the potential implications and outcomes associated with the query, considering various ethical frameworks such as consequentialism, deontology, and virtue ethics, among others. Also consider the social, cultural, and legal context of the query. Is the user's query ethical and/or moral? |
| 12 | +Utilizing your extensive understanding of common moral and ethical principles, please evaluate the following user's query: {{question}}. Analyze the potential implications and outcomes associated with the query, considering various ethical frameworks such as consequentialism, deontology, and virtue ethics, among others. Also consider the social, cultural, and legal context of the query. Is the user's query ethical and/or moral? |
13 | 13 | {{~/user}} |
14 | 14 |
|
15 | 15 | {{#assistant~}} |
|
34 | 34 | {{~/assistant}} |
35 | 35 |
|
36 | 36 | {{#if (equal query_type "Phatic")~}} |
37 | | -Observation: The user's query is conversational. I need to answer as an helpful assistant while taking into account our chat history; |
| 37 | +Observation: The user's query is conversational. I need to answer as a helpful assistant while taking into account our chat history; |
38 | 38 | Chat history: {{history}} |
39 | 39 | Latest user message: {{question}} |
40 | | -Thought: I need to stay in my role of an helpful assistant and make casual conversation. |
| 40 | +Thought: I need to stay in my role of a helpful assistant and make casual conversation. |
41 | 41 | Final Answer: {{gen 'phatic answer' temperature=0.7 max_tokens=50}} |
42 | 42 | {{else}} |
43 | 43 |
|
|
100 | 100 | {{~/assistant}} |
101 | 101 |
|
102 | 102 | {{#if (equal query_type "Phatic")~}} |
103 | | -Observation: The user's query is conversational. I need to answer as an helpful assistant while taking into account our chat history; |
| 103 | +Observation: The user's query is conversational. I need to answer as a helpful assistant while taking into account our chat history; |
104 | 104 | Chat history: {{history}} |
105 | 105 | Latest user message: {{question}} |
106 | | -Thought: I need to stay in my role of an helpful assistant and make casual conversation. |
| 106 | +Thought: I need to stay in my role of a helpful assistant and make casual conversation. |
107 | 107 | Final Answer: {{gen 'phatic answer' temperature=0.7 max_tokens=50}} |
108 | 108 | {{else}} |
109 | 109 |
|
|
138 | 138 | Search: Useful for when you need to answer questions about current events. The input is the question to search relevant information. |
139 | 139 | {{~/system}} |
140 | 140 |
|
141 | | -{{~! The assistant either starts the conversation or not, depending on if the user query is offensive or no}} |
| 141 | +{{~! The assistant either starts the conversation or not, depending on if the user's query is offensive or not}} |
142 | 142 | {{#user~}} |
143 | 143 | Utilizing your extensive understanding of common moral and ethical principles, please evaluate the following user's query {{question}}. Analyze the potential implications and outcomes associated with the query, considering various ethical frameworks such as consequentialism, deontology, and virtue ethics, among others. Also consider the social, cultural, and legal context of the query. Is the user's query ethical and/or moral? |
144 | 144 | {{~/user}} |
|
156 | 156 | {{#system~}} |
157 | 157 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. |
158 | 158 | ### Instruction: |
159 | | -You are an helpful assistant. Answer the following questions as best you can. You have access to the following tools: |
| 159 | +You are a helpful assistant. Answer the following questions as best you can. You have access to the following tools: |
160 | 160 | Search: Useful for when you need to answer questions about current events. The input is the question to search relevant information. |
161 | 161 | {{~/system}} |
162 | 162 |
|
163 | | -{{~! The assistant either starts the conversation or not, depending on if the user query is offensive or no}} |
| 163 | +{{~! The assistant either starts the conversation or not, depending on if the user's query is offensive or not}} |
164 | 164 | {{#user~}} |
165 | | -Utilizing your extensive understanding of common moral and ethical principles, please evaluate the following user's query {{question}}. Analyze the potential implications and outcomes associated with the query, considering various ethical frameworks such as consequentialism, deontology, and virtue ethics, among others. Also consider the social, cultural, and legal context of the query. Is the user's query ethical and/or moral? |
| 165 | +Utilizing your extensive understanding of common moral and ethical principles, please evaluate the following user's query: {{question}}. Analyze the potential implications and outcomes associated with the query, considering various ethical frameworks such as consequentialism, deontology, and virtue ethics, among others. Also consider the social, cultural, and legal context of the query. Is the user's query ethical and/or moral? |
166 | 166 | {{~/user}} |
167 | 167 | {{#assistant~}} |
168 | 168 | Observation: Let's see if the query is inherently offensive. |
|
174 | 174 | {{#system~}} |
175 | 175 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. |
176 | 176 | ### Instruction: |
177 | | -You are an helpful assistant. Answer the following questions as best you can. You have access to the following tools: |
| 177 | +You are a helpful assistant. Answer the following questions as best you can. You have access to the following tools: |
178 | 178 | Search: Useful for when you need to answer questions about current events. The input is the question to search relevant information. |
179 | 179 | {{~/system}} |
180 | 180 | {{~! The assistant then classifies the user intent to decide whether he needs to enter qa mode}} |
|
193 | 193 | {{#system~}} |
194 | 194 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. |
195 | 195 | ### Instruction: |
196 | | -You are an helpful assistant. Answer the following questions as best you can. You have access to the following tools: |
| 196 | +You are a helpful assistant. Answer the following questions as best you can. You have access to the following tools: |
197 | 197 | Search: Useful for when you need to answer questions about current events. The input is the question to search relevant information. |
198 | 198 | {{~/system}} |
199 | 199 |
|
200 | | -Observation: The user's query is conversational. I need to answer him as an helpful assistant while taking into account our chat history; |
| 200 | +Observation: The user's query is conversational. I need to answer him as a helpful assistant while taking into account our chat history; |
201 | 201 | Chat history: {{history}} |
202 | 202 | Latest user message: {{question}} |
203 | 203 | Final Answer: {{gen 'phatic_answer' temperature=0 max_tokens=50}}''' |
|
206 | 206 | {{#system~}} |
207 | 207 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. |
208 | 208 | ### Instruction: |
209 | | -You are an helpful assistant. Follow user queries as best you can. You have access to the following tools: |
| 209 | +You are a helpful assistant. Follow user queries as best you can. You have access to the following tools: |
210 | 210 | Search: Useful for when you need to answer questions about factual information. The input is the question to search relevant information. |
211 | 211 | {{~/system}} |
212 | 212 |
|
|
227 | 227 | {{#system~}} |
228 | 228 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. |
229 | 229 | ### Instruction: |
230 | | -You are an helpful assistant. Answer the following questions as best you can. You have access to the following tools: |
| 230 | +You are a helpful assistant. Answer the following questions as best you can. You have access to the following tools: |
231 | 231 | Search: Useful for when you need to answer questions about current events. The input is the question to search relevant information. |
232 | 232 | {{~/system}} |
233 | 233 |
|
|
0 commit comments