I'm not sure if this was some sort of short story, or just a part in a larger book, but there was a book that would converse with you, but with text that was already in the book. For example, the character would open it up to a random page and there would just happen to be text that picked back up the conversation where it left off, but that text had always been in the book, even though it impossibly references current events.
I know for certain that the book wasn't some sort of advanced technology or anything. Everything that the book would ever say would already be in the book from the very start. In reality it was just a completely normal book, but something else weird was going on for causality to be set up in such a way for this book to appear to answer questions and such.
While very similar, this story about a person trapped in a room with a book that documents all future actions, on the page that he turns to to read those actions is not it. I specifically remember the book appearing to be sentient and speak to him through it's pages.
I am almost certain it is not a movie. I read posts on reddit.com/r/nosleep every so often, so it might be a short story there. May also be a creepy pasta.