No you still need to write code to add messages to the chat window. The chat window is just for displaying messages and getting user input.
Maybe you can check out this tutorial: https://forum.creaticode.com/topic/1570/cloud-ai-1-1-chat-with-moderation-difficulty-5