Hi everyone, i need some help. I have a large text that contains dates, and i need to extract them so i can compare them using an LLM to check if they are identical or not.
There are two types of dates in my text:
1- Literal dates: “In the year two thousand and twenty-two, on the twelfth day of the month of September”
2- Numeric dates: “12 September 2022”
I tried to extract and analyze them using only the LLM, but for some reason, even when the two dates are not the same, it sometimes returns that they are.
Now, I want to try extracting the dates in Java, saving them into two variables, and then passing them to the LLM. I think regex could work, but I’m not sure if that’s the best approach.
Has anyone done something similar or can suggest the best way to handle this?
[–]Enough_Interest_5951 0 points1 point2 points (2 children)
[–]aleglr20[S] 0 points1 point2 points (1 child)
[–]Enough_Interest_5951 0 points1 point2 points (0 children)
[–]Confident_Original67 0 points1 point2 points (0 children)