Properties

accentColor string null
apiKey string ''
botAvatar string null
botName string 'Assistant'
colorScheme string 'auto'
disabled boolean false
enableClear boolean true
enableCopyCode boolean true
enableStop boolean true
headers object null
height number 580
launcherIcon string null
launcherPosition string 'bottom-right'
maxTokens number 1024
messages array []
mode string 'inline'
model string null
open boolean false
placeHolder string 'Message the assistant...'
provider string 'anthropic'
proxyUrl string null
rtl boolean false
sendButtonIcon boolean true
sendButtonLabel string 'Send'
sendRequest any null
showAvatars boolean true
showHeader boolean true
showHeaderAvatar boolean true
showTimestamps boolean true
starterPrompts array []
statusText string 'Online'
stream boolean true
subtitle string null
system string 'You are a helpful assistant embedded in a web application.'
theme string ''
title string 'AI Assistant'
typingIndicator boolean true
userAvatar string null
userName string 'You'
welcomeMessage string null
width number 400

Events

messageSent Event
responseStart Event
responseDelta Event
messageReceived Event
responseEnd Event
error Event
open Event
close Event
stop Event
create Event

Methods

sendMessage Method
stop Method
addMessage Method
appendDelta Method
getMessages Method
clearConversation Method
focus Method
openPopup Method
closePopup Method
toggle Method
val Method
render Method
refresh Method
destroy Method