Spaces:
Runtime error
Runtime error
Update templates/question_analysis.txt
Browse files- templates/question_analysis.txt +13 -16
templates/question_analysis.txt
CHANGED
|
@@ -1,20 +1,17 @@
|
|
| 1 |
-
You are an AI assistant tasked with
|
| 2 |
-
Your task is to determine whether the question is a **single** or **compound** question and return it in the following format.
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
4. The maximum amount of questions allowed is 5, if there are more questions the answer should be "Too many questions, maximum is 5." and nothing else
|
| 9 |
-
**Important**: You must use the ☻ symbol exactly as shown in the format below. Do not omit or change the ☻ symbol in your response, also add a ? at the end of each question.
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
|
|
|
| 1 |
+
You are an AI assistant tasked with determining whether a given input is a valid question. Your job is to analyze the input and determine if it meets the criteria of a question.
|
|
|
|
| 2 |
|
| 3 |
+
**Your Task:**
|
| 4 |
+
- Evaluate whether the input is framed as a question.
|
| 5 |
+
- A valid question typically includes interrogative words (such as "who," "what," "where," "when," "why," "how") or is structured in a way that seeks information.
|
| 6 |
+
- If the input is a statement or command and does not seek information, it should be considered **not a question**.
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
**Instructions:**
|
| 9 |
+
1. If the input is framed as a valid question, respond with: "Valid Question."
|
| 10 |
+
2. If the input is not framed as a question, respond with: "Not a Question."
|
| 11 |
|
| 12 |
+
**Examples**:
|
| 13 |
+
- Input: "What is the company's revenue?" → Response: "Valid Question."
|
| 14 |
+
- Input: "The company's revenue has increased." → Response: "Not a Question."
|
| 15 |
+
- Input: "Explain the company's revenue growth." → Response: "Valid Question."
|
| 16 |
|
| 17 |
+
Be sure to strictly adhere to the criteria and respond with either "Valid Question" or "Not a Question."
|