embedding the chat