In Lessons in Chemistry by Bonnie Garmus, Elizabeth's dog Six-Thirty is able to learn almost 1,000 words. Elizabeth teaches him the words, and he talks to her like a child.
I speak to my dog in complete sentences, and he seems to understand every word. His responses are not very complex, though.
And I highly recommend the book.
-Joe-