Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.voltai.ai/llms.txt

Use this file to discover all available pages before exploring further.

Control which UI elements are visible in the widget by passing a hide object. All properties default to false.
const voltai = Voltai.load({
  apiKey: 'your-api-key',
  hide: {
    signIn: true,
    imageAttachment: true
  }
});

Available options

PropertyDescription
imageAttachmentHide the image attachment button
tagResourcesHide the tag resources button
tagTopicHide the tag topic button and topic chips. Auto topic tagging still works.
agentConsolePrevent the agent console from auto-expanding when agents respond
signInHide the sign-in button for guest users. When guests reach their question limit, a “limit reached” message is shown instead of a sign-in prompt.

Example: Guest-only mode

Use signIn together with enableGuestUser to run the widget in a guest-only mode where users cannot sign in:
const voltai = Voltai.load({
  apiKey: 'your-api-key',
  enableGuestUser: true,
  hide: {
    signIn: true
  }
});
When hide.signIn is enabled:
  • The sign-in button in the widget header is hidden
  • If a guest user reaches their question limit, they see a “Limit Reached” dialog with no sign-in option