Commit Graph
13 Commits
Author SHA1 Message Date
Tobias Quadfasel 724c04d5f2 Exchange cloud structure SVG with PNG 2024-09-04 08:19:34 +02:00
Tobias Quadfasel fb53ddcc8e Update README, include cloud structure schematic 2024-09-04 08:15:12 +02:00
Tobias Quadfasel 0344da8191 Minor docstring improvement 2024-09-04 01:32:58 +02:00
Tobias Quadfasel 583444261e Removing unneccessary print call 2024-09-04 00:00:32 +02:00
Tobias Quadfasel 02f1b41cb9 feat(azure): Added necessary azure components to app
Using respective credentials for both local development as well as
deployment. When deployed on azure, the app authenticates with the SQL
database via Entra ID (formerly active directory) and accesses other
credentials via key vault as a system managed identity.
2024-09-03 21:51:12 +02:00
Tobias Quadfasel 22000f1b0e feat(azure): Add azure-related python packages for deployment 2024-09-03 20:44:17 +02:00
Tobias Quadfasel a583f07751 fix(docker): Added minor change to app notification for users 2024-09-03 17:27:24 +02:00
Tobias Quadfasel e9adb3c588 fix(docker): Fix docker file
The docker file was updated to align with the software
requirements of the app. An additional script `install_odbc.sh` is added
to install the required microsoft ODBC driver.
2024-09-03 17:23:41 +02:00
Tobias Quadfasel 60206f48ef feat(auth): Add basic authentication to app 2024-09-03 16:05:18 +02:00
Tobias Quadfasel 0b7a8218e7 feat(auth): Add dash-auth package
In order to be able to authenticate with the app, a simple approach
using dash-auth with environment-based secrets is used for now.
2024-09-03 16:03:35 +02:00
Tobias Quadfasel 2c83ad2ee5 feat(ai-chat): Add text field to describe manual SQL input field
Before, there was no direct description about the usage of the manual
SQL query input field. A plotly dash component was added with a more
precise description for the user.
2024-09-03 15:06:32 +02:00
Tobias Quadfasel 94b5545173 feat(ai-chat): Add code logic for AI-based data chat
Add the first working code logic both in terms of backend and
frontend-related tasks. Add a detailled system message for improved
results. Add several UI improvements for result display and user
information. Add text input field for direct SQL code comparison.

The implementation of the openAI backend had to be changed due to strict
rate limits of azure OpenAI free tier and was replaced with a regular
openai API key.
2024-09-03 14:48:38 +02:00
Tobias Quadfasel 4b9fa0579e 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.
2024-09-02 20:43:48 +02:00