zengm icon indicating copy to clipboard operation
zengm copied to clipboard

Generate draft reports using LLM

Open SkourtsidisGiorgos opened this issue 5 months ago • 4 comments

It would be amazing if we had a draft report for prospects. We can use the cheapest LLM api to generate these reports

Using this site: https://llmpricecheck.com/ we can compare prices and use the cheapest image

Example from gpt-4o: https://chatgpt.com/share/66eace74-e17c-8011-8937-f244e398df49

As this game is free, the only viable way I see this working is this:

  • Developer will pick a company/API that provides LLMs (OpenAI, Anthropic etc) and the user will have the option to enable this feature by providing his API key.

Requirements:

  • Send requests to LLM, get responses, parse text, put this text into draft report. A fast model has to be selected in order to minimize latency
  • Good documentation on how to generate api key, how to enable this feature and where to put the key (tell the users to NEVER share a key)

In order to minimize cost, a "draft report" button will be available for each player. When user clicks it, then app sends the request to LLM API. This draft report can then be stored for each player. Draft reports should be deleted after a few seasons in order not to run out of space. Also, they should not be included in league export-import

If you think this feature has value, we can ask the users in the Reddit community how they feel about this, because people might don't want to pay for these reports or they will find it hard-to-use.

This idea can also be used for other stuff, such as league news or player's background stories

SkourtsidisGiorgos avatar Sep 18 '24 13:09 SkourtsidisGiorgos