Apr 1, 2021
One naïve approach might be: Catch any (too-many-token) exceptions, shorten the input, and retry: https://gist.github.com/boscacci/be03d2024f1fa22aa2c0c5cccfdcfb29
One naïve approach might be: Catch any (too-many-token) exceptions, shorten the input, and retry: https://gist.github.com/boscacci/be03d2024f1fa22aa2c0c5cccfdcfb29
Get my book on computer vision and society for 99¢