
AI Quality Improvements for Dates
Some refinement to our system prompt to improve quality and correctness using complex date concepts.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Uh I've got a real quick one. Let's see if we can find it. Okay, can folks see my Bobby conversation? Yep. Yeah, okay, cool. Um and also this is on omni.omni app, but it's on the uh demo data. Um so, I'm not sure if that's okay to share or not. Uh uh Okay, good. Pre-recorded this conversation cuz indeterminism and it's hard, but um I asked uh specifically in this demo data, "How many trials started in Q3?"
And um we taught Bobby and the back end how to um write filters like, "Is the previous fiscal Q3?" Um specifically there were some issues around quarters and fiscal quarters and stuff it was having a hard time doing cuz we didn't support this kind of nice relative uh s- time expression syntax in the back end, so we added that, taught Bobby Bobby about it, and now it's uh doing the right thing.
Another thing we did was oh, Bobby really liked to convert sort of round units into other units, so it often say you'd ask 12 months and in the uh filter it would say a year ago or or whatever. Or you'd say, you know, "Show me a week ago." And it would say 7 days. So, it like it for whatever reason models like to convert back and forth between different units in either direction with no rhyme or reason, but now we uh are respecting the original uh time units from the user in the filter.
So, it works as you would expect. Uh last one, there's probably a little more work to do. Um it was kind of embarrassing. Bobby would um not really know what year it's in. It would uh last year it thought it was in 2024, this year it thinks it's in 2025. So, we're telling it what year it's in.
Um and uh it got the calendar year right, uh did not get the fiscal year right, so follow up on that. But, I asked it, uh "You sure about fiscal?" And it kind of looked at some previous stuff and uh determined that if I understand us, I think we're right, right? We're in fiscal year 2027. Um anyway, so takeaway is any day go teach it a little bit more about how to figure out fiscal calendar year or fis- fiscal year um based on our yeah, the the properties we have there.
Uh and that is it for now. Awesome. Super important. Thanks, y'all. Yeah.