extract any valid dates from random sentences and format them in a common format?

We are trying to create the most accurate way to extract any valid dates from random sentences and format them in a common format.

has anyone done this before?

1 Like

To do this with LLMs, we have an entity extraction guide here which can be used to extract dates. I would suggest you try it for your use case. When you run into formats that it doesn’t pick up, add them as examples to the prompt so you give the model more coverage of possible formats it may encounter. And sorry your message had been hidden in the moderation. Happy to workshop the prompt if you can provide examples of the input.

thanks checking that out! will post any more questions here.