4 ms·
One thing I haven't heard much discussion about is the fact that ChatGPT is constantly being updated. This means that if you build a prompt for classification
by jaredsohn 3y ago
One thing I haven't heard much discussion about is the fact that ChatGPT is constantly being updated.
This means that if you build a prompt for classification and become confident that you've whacked all of the moles so that it is pretty solid with all of the edge cases, it can later start breaking again.
Some solutions I can think of are 1) choose a fixed model to test against but they become deprecated over time or 2) perhaps fine-tuning might help.
- tiborsaas 3y agoThat's a valid concern, I think just like with any other software you need to write tests for the AI model to constantly check if your prompts are working as intended. Basic unit tests would work well in this case.
- jaredsohn 3y agoThe differences here compared to unit tests are that the breaking is outside of your control and the updating process is tedious. Also, testing requires making real API calls rather than using stubs so it requires additional infrastructure.
- tiborsaas 3y agoThat's all true, but sometimes things break because some package is bumped. I'd still like to know if my app is basically broken if an LLM has changed somehow. You are right that fine tuning would probably help to minimize the risks, but it probably never can be zero. New tests will also be needed when customers find new edge cases that break our assumptions. Testing LLM prompts is a new paradigm that we'll have to learn to deal with.