What I Did At Work Today, 2024

It's 2024 and my job today was to create a custom skill for a cognitive search indexer. The custom skill was to be invoked after the out-of-the-box skills were used to read text and images, convert them into a single file, split it into smaller chunks, and then detect keywords. The problem was that the keywords it extracted were not very business relevant. So, I built a tiny Node JS function app configured with an array of keywords to detect, deployed it to Azure (well, VS Code deployed it to Azure, I just clicked a button).

I then updated my skillset to pass the chunks to this API to detect matches. ChatGPT wrote the Regexes for me, but I was the one that told it what ones to write, and then the one who tested it and found that it had assumed I wanted to look ahead to the end of the chunk even though I clearly said exclude only the next word. But perhaps I'm the idiot because I didn't create an agent grid and have one model executing predefined test cases. There's only so many hours in a day...

I felt motivated to do this today. Partly because it would be a nice change from SvelteKit/TypeScript/Pocketbase/Tailwind development which I did on the weekend, partly because it was cool. Mostly because I had a 4pm meeting to demo it already scheduled.

I did get the indexing working with the new custom field/skillset. It felt good writing that odata query and seeing the filter bring back records with the matching keywords. Alas the demo did not happen because key people were on holiday.

Hopefully the way this is going we will all be on holiday soon. But perhaps I am looking ahead too far.

Comments

Add Comment
Toggle Comments Form
Next Entry: Prioritising

Along with the Azure AI Search functionality I described back on Monday, my time at work so far this year has been mainly dedicated to using Chat GPT to write python code for me that generates Mule projects based on a dictionary of metadata. That is pretty cool, and I do hope it saves upward of the 30+ days of development I have invested so far in creating it.

Promoted Entry: Sunrise

Today was always going to be the best day of the year to see a sunrise.

Promoted Entry: Winter 2018

Winter is over! As well as another three months of me making a video every day.

Previous Entry: Sides

Amazon royalties for copies of my books sold between 2018 and 2023: $6.10 Return from 3 months of ad revenue from a dumb programming project: $250.84 Return from $104 worth of tickets in the $150M Powerball: $97.40


Enjoy what you've read? Want to receive updates and publishing news in your inbox? Sign up to the bradism mailing list. You'll also receive an ebook, free!