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?' }
],
},
})
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