Show HN: A Python package to get help from ChatGPT when an exception is thrown(github.com)
github.com
Show HN: A Python package to get help from ChatGPT when an exception is thrown
https://github.com/fkhan0520/cgpt_exceptions
4 comments
This is a good example of the low hanging fruit that GPT models will feast on. A really nice usability improvement with a very simple implementation. I expect to see a tonne of these products/tools spring up over the next year.
A key challenge with something like this demo would be figuring out how not to leak PII or other sensitive data (embedded in the exception or stack trace) to a third-party web site.
Super cool. Big fan of LLMs for explaining code/helping debug as opposed to autocomplete.
Have you tried playing with the prompt? Curious if something (so silly) like “how would an experienced engineer fix this error: <stacktrace>” make a difference.
Have you tried playing with the prompt? Curious if something (so silly) like “how would an experienced engineer fix this error: <stacktrace>” make a difference.
Simple and clever, I might try something similar for front-end React errors.