3 ms·
I agree the API is a bit expensive. I'm fortunate that this particular use-case is fit for caching. It caches every result and only invokes OpenAPI upon clicki
by arcastroe 5y ago
I agree the API is a bit expensive. I'm fortunate that this particular use-case is fit for caching.
It caches every result and only invokes OpenAPI upon clicking the "Generate More" button. The response is then saved for all future users of the site.
So far everything on the page has been generated for under $10. But I can see how it would become prohibitively expensive if generating unique text for each user.