Embedding the Chat Widget

Estimated reading: 2 minutes 24 views

Embedded Chat Widgets in Inquira Labs

Inquira Labs allows you to create customizable embedded chat widgets that can be seamlessly integrated into any website using a simple <script> tag. These widgets provide users with a convenient way to interact with your chatbot directly from your site.


Configuration Options

When setting up an embedded chat widget, Inquira Labs offers a variety of configuration options to tailor its appearance and behavior to your needs.


Embedded Chat Options – Part 1

  1. Workspace Selection
    • The chat widget is linked to a specific workspace. By default, it inherits all settings from the selected workspace unless overridden by custom configurations.
  2. Allowed Chat Method
    • Chat: The chatbot responds to all questions, regardless of context.
    • Query: The chatbot only answers queries related to documents in the workspace.
  3. Restrict Requests by Domain
    • Use this filter to specify allowed domains for the widget. Leaving the field empty makes the widget accessible from any website.

Embedded Chat Options – Part 2

  1. Max Chats Per Day
    • Limit the total number of chats the widget can handle in a 24-hour period. Setting it to zero allows unlimited chats.
  2. Max Chats Per Session
    • Restrict the number of chats a single user can send per session. Setting it to zero means no session-based limit.
  3. Enable Dynamic Model Use
    • Allows the chatbot to use a different LLM model than the workspace default if specified.
  4. Enable Dynamic LLM Temperature
    • Permits adjustments to the LLM’s temperature setting, overriding the default workspace configuration.
  5. Enable Prompt Override
    • Lets you override the default system prompt for more tailored interactions.

Embedding the Chat Widget

After configuring your embedded chat widget, Inquira Labs generates a link for easy integration. Simply embed the provided code into your website’s HTML using a <script> tag to activate the widget.

With these options, you can offer your users a highly customized and efficient chatbot experience directly from your website.