I forgot again to write on Friday. I hope this doesn't become a habit.
Anyway, this week again was not so much a coding week.
I had my first kind of foray into dev ops by picking out some services that we might need for our Azure setup and exploring our options. Obviously the principal service we're looking at is Azure's OpenAI service, which would definitely be useful. There's a bunch of interesting things on there, and it's unfortunately impossible to know a lot about everything on there.
I also further fortified the analysis script, which now has the ability to lazily analyze each inquiry, which came out pretty nice and efficient. Here's an example output:
Last processed ID: 10073
How many inquiries would you like to process, or type q to quit:
1
Processing inquiry 10074: I recently had an accident at work. Tripped on the office stairs because the handrail was loose. Now management is saying that isn't their problem and I am left here with my injury and bills. I am unsure what to do next.
Task: legal_subfield_classification
Result: ["Workers Compensation Law", "Personal Injury Law", "Employment Law"]
Task: determine_urgency
Result: This inquiry is critical.
Task: identify_intent
Result: The message is related to legal services. The user is asking for advice and possibly representation in a potential personal injury or workers' compensation case.
--------------------------------------------
Last processed ID: 10074
How many inquiries would you like to process, or type q to quit:
It could probably use some further refactoring but I'm satisfied with what I have right now.
I also did some deep diving into Starlette, the engine for FastAPI, since we might have to use some of its lower-level functionality in our project, particularly the WebSockets part, since WebSockets are what drive live chats in the first place. I came up with a Python notebook with a bunch of different testing functions for all its main and relevant features.
For the game, we have hired some new people and hopefully they can start taking some of the heavy lifting from me, but I'll still be receiving some deliverables to accomplish from time to time that hopefully accommodates my time better. I still have to give the new guy some background as to what we have so far.
Top comments (0)