SennaMa / poke_haiku

MIT License
1 stars 0 forks source link

Generate and save haikus #9

Closed SennaMa closed 10 months ago

SennaMa commented 10 months ago

Why: We want to generate a haiku a day, choosing a random pokemon id, and have it saved in a CSV for easy retreival. What: There are several functions:

  1. Create a function that finds a random poke_id
  2. Take the inputs from the CSV according to that poke_id and generate a haiku
  3. Manage env var properly
  4. Create a sleeper since there is a rate limit with Cohere's trail key. We'll want to run this in bulk to collect the full 150 #wynaut
  5. Save the results to the CSV using a new column. It'd be nice to keep them all even if they're not good, lol.
  6. Add logs to debug: we should make sure we log the model parameters. The easiest way is to log parameters whenever the generator runs. I don't foresee it changing too much after playing around with the model and assessing results.
SennaMa commented 10 months ago

https://github.com/SennaMa/poke_haiku/pull/14