Publishing knowledge models

Publishing knowledge models as widgets

You can publish a knowledge model as a widget that can be embedded into an external website. When you publish a model, a copyable code snippet is generated for insertion into the external site’s code. Site users can interact with the chat functionality without access to source documents and references.

To publish a knowledge model as a widget:

  1. In Constructor Platform, go to Knowledge models > My models.
  2. In the list of your knowledge models, click the required model to open it.
  3. Click the Publish tab Publish icon.
  4. Switch to the Widget tab and enable the Publish model via widget toggle.
  5. Configure the model chat settings:
    • LLM engine
    • Sessions per minute
    • Messages per minute per session
  6. Click Publish. The HTML code field will contain a code that you need to copy and paste into your website code just before the closing </body> tag to add the knowledge model chat widget.

See also Using knowledge models for website AI assistants.