https://github.com/emirkmo/chatgpt-db-schema
https://github.com/emirkmo/chatgpt-db-schema
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emirkmo/chatgpt-db-schema
- Owner: emirkmo
- License: other
- Created: 2023-03-11T12:02:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T16:53:19.000Z (over 2 years ago)
- Last Synced: 2024-01-27T17:41:03.402Z (over 2 years ago)
- Language: Jupyter Notebook
- Size: 208 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CHAT GPT Feedback on database table schema
> [!WARNING]
> This repo was created during the early days of Chat GPT 3.5 hype;
> this is not the way to do things nowadays.
Read json formatted schema for a database table, or a pydantic model that defines the same,
and Ask chatGPT for feedback on the schema including column descriptions. Nice!
## Code
Tables are implemented using a plugin architecture meaning it is trivial to plugin tables
It uses streamlit & gradio for frontend and has some abstractions
for dealing with the then pretty raw python api wrapper provided by openAI.
Run example dashboard with:
```bash
streamlit run idd_ai/frontend/streamlit.py
```
## Prompt
Very early zero shot prompt. Would be way better using chain of thought here as the task
is easy to split into multiples.