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