After looking at the examples on github and on readthedocs, I can see that
extract_datetime() is expecting a string argument. I tried
str(message) and then
normalize(message), but both returned
TypeError: expected string or bytes-like object.
The method works if I provide a string argument directly in the code. But I don’t see how to pass the utterance as a string.
- Is there a way to cast a message object as a string?
- Can somebody show me where the documentation is about message objects?
Thank you so much!