To use the Messages API, install the @wix/ai-site-chat package using npm or Yarn:
@wix/ai-site-chat
or
Then import { messages } from @wix/ai-site-chat:
{ messages }