const embed = new AppEmbed('#embed-container', {
... // other options,
spotterViz: {
brandName: 'MyBrand',
brandHeadline: 'Hi, there! I\'m',
description: 'Ask questions about your data',
inputChatPlaceholder: 'Ask a question...',
hideStarterPrompts: false,
customStarterPrompts: [
{ id: '1', displayText: 'Top products', fullPrompt: 'What are the top products by revenue?' }
],
// loaderHeadline and loaderTips require SDK: 1.51.0 | ThoughtSpot Cloud: 26.8.0.cl
loaderHeadline: 'Crunching the numbers...',
loaderTips: [
{ label: 'Tip', text: 'try asking about revenue by region' },
{ label: 'Tip', text: 'use natural language' },
],
// liveboardBrandName, spotterBrandName, insightTileBrandName, insightTileViewPlanLabel and insightTileLoaderText require SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
liveboardBrandName: 'Reports',
spotterBrandName: 'Analyst',
insightTileBrandName: 'Insight card',
insightTileViewPlanLabel: 'View plan',
insightTileLoaderText: 'Generating insight',
},
})
SpotterVizConfig
Configuration for the SpotterViz interface shown on the Liveboard.
Supported embed types: AppEmbed, LiveboardEmbed
Version : SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
Indexπ
Propertiesπ
brandHeadlineπ
brandHeadline: string
Optional
Custom headline text shown before the brand name in the SpotterViz interface. Replaces the default greeting prefix (e.g. "Hi, there! Iβm").
Version : SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
default : ''
brandNameπ
brandName: string
Optional
Rename the default "SpotterViz" label shown in the SpotterViz interface with a custom brand name.
Version : SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
default : ''
customStarterPromptsπ
customStarterPrompts: SpotterVizStarterPrompt[]
Optional
Overrides the starter prompts with a custom list.
Each entry must match the SpotterVizStarterPrompt shape.
Has no effect when hideStarterPrompts is true.
Version : SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
descriptionπ
description: string
Optional
Custom description text shown in the SpotterViz interface. Replaces the default SpotterViz description.
Version : SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
hideStarterPromptsπ
hideStarterPrompts: boolean
Optional
Hides the starter prompts section entirely in the SpotterViz interface.
When set to true, the starter prompts are not displayed.
Version : SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
default : false
inputChatPlaceholderπ
inputChatPlaceholder: string
Optional
Custom placeholder text for the chat input in the SpotterViz interface. Replaces the default chat input placeholder text.
Version : SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
insightTileBrandNameπ
insightTileBrandName: string
Optional
Custom term used to replace "Insight tile" in the UI and in the agentβs responses.
Version : SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
default : ''
insightTileLoaderTextπ
insightTileLoaderText: string
Optional
Custom loader text shown on the insight tile.
Version : SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
insightTileViewPlanLabelπ
insightTileViewPlanLabel: string
Optional
Custom term used to replace "View plan" in the insight tile menu.
Version : SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
liveboardBrandNameπ
liveboardBrandName: string
Optional
Custom term used to replace "Liveboard" in the agentβs responses.
Version : SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
default : ''
loaderHeadlineπ
loaderHeadline: string
Optional
Custom headline text shown in the SpotterViz loading state. Replaces the default loading headline.
Version : SDK: 1.51.0 | ThoughtSpot Cloud: 26.8.0.cl
loaderTipsπ
loaderTips: SpotterVizLoaderTip[]
Optional
Custom tips shown in the SpotterViz loading state. Replaces the default loading tips with the provided list.
Version : SDK: 1.51.0 | ThoughtSpot Cloud: 26.8.0.cl
spotterBrandNameπ
spotterBrandName: string
Optional
Custom term used to replace "Spotter" in the agentβs responses.
Version : SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
default : ''