feat(ai-chat): Add SQL query field for comparison
In order to compare the (not yet implemented) SQL query generated by the LLM with an actual query, another text field was added that parses the query to `pyodbc`, which connects to our database, stores the resulting rows in a `pandas` dataframe and then visualizes it as a table in plotly dash. The SQL functionalities are implemented in the `sql_utils.py` module. Additionally, some minor updates to the overall behavior and layout of the app were implemented.
This commit is contained in:
@@ -12,7 +12,7 @@ header_style = """
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
background-color: #f8f9fa;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.heading {
|
||||
font-size: 2.5em;
|
||||
|
||||
Reference in New Issue
Block a user