Spaces:
Sleeping
Sleeping
Update duckdb-nsql/eval/prompt_formatters.py
Browse files
duckdb-nsql/eval/prompt_formatters.py
CHANGED
@@ -74,7 +74,7 @@ class RajkumarFormatter:
|
|
74 |
sql = output_sql.strip()
|
75 |
|
76 |
# Ensure single trailing semicolon
|
77 |
-
return sql.rstrip(';') + ';'
|
78 |
|
79 |
@classmethod
|
80 |
def format_gold_output(cls, output_sql: str) -> str:
|
|
|
74 |
sql = output_sql.strip()
|
75 |
|
76 |
# Ensure single trailing semicolon
|
77 |
+
return sql.rstrip(';').replace('```','') + ';'
|
78 |
|
79 |
@classmethod
|
80 |
def format_gold_output(cls, output_sql: str) -> str:
|