Just feed the text to a new ChatGPT conversation and ask it whether the text is an apology or a product description.
Or do traditional NLP, but letting ChatGPT classify your text is less effort to set up
Or do traditional NLP, but letting ChatGPT classify your text is less effort to set up
Just kidding, it should only require function calling[0] to solve this. Make the program return an error if the output isn't a boolean. It's easy to avoid this mistake.
[0]: https://platform.openai.com/docs/guides/function-calling