Re:Show HN: I built a database GUI with ChatGPT integration
by juujian on Sunday April 30, 2023 @04:25PM
(#35766294)
Quick question out of curiosity: how do you handle the token limit of ChatGPT?
[ Parent
| on HN ]
Re:Show HN: I built a database GUI with ChatGPT integration
by Dennizz on Sunday April 30, 2023 @04:51PM
(#35766507)
Right now it's pretty simple: First I drop the table/column information if the token limit gets exceeded otherwise (this is shown as a warning in the UI). Then if the limit still gets exceeded, the I show an error to the user.
I plan to make this process more smart eventually.