Skip to content

Tag: NaPoGenMo

NaPoGenMo 2024: Final Notes

So…very late, but I got something out there. I made heavy use of Microsoft Azure components like Logic Apps, Azure Functions, and Storage Accounts. And I got to use a lot of Python.

In the end, I put together something that generates – or attempts to generate – a poem three times a day, based on the weather from a random US city and state. The github repo only contains the python code along with a couple of unfinished sections.

There’s more that I would like to do, like automatically upload to YouTube, but for now I’m going to call this “good enough”.

My wife did offer some possible uses of the code as it stands: I could create generate poems for all the cities in one state and make that an audiobook. Or take one city and create a month’s worth of poems. Might just try that, as that takes little effort.

Anyway, I hope someone finds this interesting/useful:

Comments closed

NaPoGenMo commit: May 5, 2024 at 10:18PM

Massive number of changes made to this idea – and it’s not totally done. Lots of Azure components aren’t included. Will discuss at a later time.
By Bryant O’Hara
May 5, 2024 at 10:18PM
via GitHub

Comments closed

NaPoGenMo commit: April 13, 2024 at 09:36PM

All components: Changed app settings key for storage connection
DataFetcher – added POST method to route decorator and mimetype to response
VideoProducer – changed default width and height

Added a UI component – which is making me rethink the whole architecture.
By Bryant O’Hara
April 13, 2024 at 09:36PM
via GitHub

Comments closed

NaPoGenMo commit: April 12, 2024 at 10:04AM

I’m rethinking the architecture a bit. Calls to DataFetcher to retrieve audio get saved to its local directory before being uploaded to azure blob storage. This seems like too much travel across the network, so I’m creating the audio from VideoProducer. Files will be saved to the local directory, and after video rendering, they will be deleted.
By Bryant O’Hara
April 12, 2024 at 10:04AM
via GitHub

Comments closed

NaPoGenMo commit: April 11, 2024 at 10:40AM

Updated DataFetcher function app to query and OpenWeatherMap.

DataFetcher can now upload retrieved Freesound file to blob storage with filename of {guid}.mp3.
By Bryant O’Hara
April 11, 2024 at 10:40AM
via GitHub

Comments closed

Overthinking Much?

I’ve spent the past couple of days just writing out plans for how to put together my project for National Poetry Generation Month. And to be honest, I’m getting to the point where I feel like I’m overthinking things.

I’ve written so much and doodled so much that I think that if I don’t actually just start putting code to IDE, I’m never going to get this thing done.

So let’s just get started.

NaPoGenMo 2024 API design notes - pt 1
Possible ways to separate the functions for the project
NaPoGenMo 2024 API design notes - pt 2
What do I want the LLM to do? Regardless, this project requires a human to remain in the loop.
NaPoGenMo 2024 API design notes - pt 3
Honing the flow of data. I want to take cues from the Oulipo movement and computer poetry research.
Comments closed