Optionalcfg: RecursivePartial<ExtractValues<{ qtoPreviewSize: NumberController }>>ReadonlynameDisplay name of the plugin
ReadonlysettingsPlugin settings
Number of rows of the quantity take-offs previewed in the conversation
ReadonlyviewerStatic ReadonlyToolbarToolbar items provided by the plugin
Toolbar item opening the ChatBotWidget. Disabled when the loaded source is not a Twin.
List of plugins this plugin depends on
Indicates whether the plugin has settings
Called when the plugin is registered in the viewer.
Called when the plugin is unregistred from the viewer.
StaticCreate
Plugin registering the
ChatBotwidget, a conversation with Elliot, the Teia assistant: it answers questions about the loaded Twin, executes viewer commands and previews quantity take-offs. The widget also edits the flows and the aliases of the assistant, and displays the token quota of the instance.Requires the
TeiaandViewportplugins to be registered: it uses the Tia API client of the Teia plugin. Call setupLegacyPluginsTranslation once i18next is initialized to load its translations.