About the Assistant Training API

The Assistant Training API enables you to train a site's AI assistant.

With this API, you can:

  • Ask a question to the AI assistant to test its answer.
  • Add feedback to the AI assistant's answer to improve its accuracy.
  • Retrieve messages which includes any feedback applied to each message.

Note: Wix AI Site-Chat is currently only available in the Wix Editor.

Before you begin

It's important to note the following point before starting to code:

Use cases

Did this help?

Setup

@wix/ai-site-chat

To use the AssistantTraining API, install the @wix/ai-site-chat package using npm or Yarn:

Copy
npm install @wix/ai-site-chat

or

Copy
yarn add @wix/ai-site-chat

Then import { assistantTraining } from @wix/ai-site-chat:

Copy
import { assistantTraining } from "@wix/ai-site-chat";
Did this help?