About the Messages API

The AI Assistant Training Messages 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?

Messages: Sample Use Cases and Flows

This article shares a possible use case your app or site could support, as well as a sample flow. This can be a helpful jumping-off point.

Ask a question to the AI assistant and provide feedback on its answer

To ask a question to the AI assistant and provide feedback on its answer:

  1. Call Ask Question to send a message to the AI assistant.
  2. Analyze the answer that was sent in the response, then call Add Feedback to provide feedback on the answer.
Did this help?