You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/backend/sql_agents/semantic_verifier/prompt.txt
+9-12Lines changed: 9 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,18 @@
7
7
- Do not hallucinate or assume any functionality that is not explicitly mentioned in the queries.
8
8
- Avoid using any first person language in any of the output.
9
9
- You are allowed to make common sense assumptions about the data and return types.
10
-
- Your final answer should be a JSON with the following fields: 'analysis', 'judgement', 'differences'.
11
-
- If the scripts are not semantically equivalent, judgement would be 'Semantically Not Equivalent' and list the differences in the 'differences' field.
10
+
- If the scripts are not semantically equivalent, judgement would be 'Semantically Not Equivalent' and the differences would be listed in the 'differences' field.
12
11
- If the scripts are semantically equivalent, judgement would be 'Semantically Equivalent' and the differences filed would be an empty list.
13
12
14
-
# Output structure description
15
-
Your final answer should **strictly** adhere to the following JSON structure:
13
+
# Output
14
+
Return a JSON object with keys ‘analysis’, ‘judgement’, ‘differences’, and ‘summary’ containing the results of your analysis.
15
+
Do not include any metadata, schema descriptions, or commentary—only output the JSON result.
16
+
Your final output should be a JSON object like:
16
17
{
17
-
"analysis": "Here, you should provide a brief analysis of the source and target queries and the differences you found.",
18
-
"judgement": "Semantically Equivalent/Semantically Not Equivalent",
19
-
"differences": [
20
-
"Description of the difference 1",
21
-
"Description of the difference 2",
22
-
<...>
23
-
]
24
-
"summary": "A one sentence description about your activities."
18
+
"analysis": "Brief analysis of the queries.",
19
+
"judgement": "Semantically Equivalent or Semantically Not Equivalent",
20
+
"differences": ["Difference 1", "Difference 2"],
21
+
"summary": "One sentence summary of your analysis."
0 commit comments