1 - Extract SQL query from non-markdown responses, extracting the query between SELECT and ;
2 - Extract SQL query containing CTE (WITH clause), extracting the query between WITH and ;
Also it removes the f-string from strings with no placeholders (like f"Hello World")
This PR adds two sql extraction methods:
1 - Extract SQL query from non-markdown responses, extracting the query between
SELECT
and;
2 - Extract SQL query containing CTE (WITH clause), extracting the query betweenWITH
and;
Also it removes the f-string from strings with no placeholders (like
f"Hello World"
)