This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# While it's possible to feed an LLM the context of your database, such as chatgpt with interpreter, you can also manually give GPT the structure of your database. | |
# This script will output the structure of a postgresql database which you can feed an LLM so that it can write | |
# accurate SQL-queries for you, or API-design. | |
# 1. Add this execution rights to the script: | |
# chmod +x myscript.sh |