benjmor / tabroom_auto_summarize

Generates AI-powered summaries of meets from tabroom.com data
3 stars 1 forks source link

Too long of a delay between request and results! #24

Closed bmorrissirromb closed 8 months ago

bmorrissirromb commented 8 months ago

It's going to be tricky to find a balance here!

In a world without resource constraints, this would run as a batch job overnight against all tournaments that completed the previous day.

However, the ad-hoc runs are necessary currently to balance cost vs who actually wants these results.

benjmor commented 8 months ago

One option is going to be pulling the prompts in advance and passing them to ChatGPT at request-time.

It's a little bit slower for individuals (the full tournament doesn't get results generated), but it's a lot cheaper and could operate synchronously.

benjmor commented 8 months ago

^ Going with this approach -- tracking in #42