marcominerva / DatabaseGPT

Query a database using natural language
https://databasegpt.azurewebsites.net/
MIT License
59 stars 13 forks source link

DatabaseGPT for Postgres (and more?) #14

Closed nicolaparo closed 9 months ago

nicolaparo commented 9 months ago

DatabaseGPT currently supports only scenarios where we have SqlServer databases. It doesn't currently support the case of a different SQL DBMS like Postgres, SQLite, MySql, etc... The major difference between all these DBMS is mainly the dialect of the SQL language used in the database and the required drivers themselves.

Since a user who is interested in using DatabaseGPT to query a SqlServer might not be interested in having the drivers also for another DBMS, it is preferrable to not include all the possible database drivers in a single package. I suggest then the refactor of the solution as follows:

If the idea is valid and interesting, I can start to design a more detailed refactoring plan and the database-specific implementations for SqlServer and Postgres.

marcominerva commented 9 months ago

The idea is definitely interesting. I have some consideration about your suggestion:

I have assigned the task to you @nicolaparo, thank your for collaboration!