MapGptCompose
Constructors
Properties
Surfaces the current avatar used to show the conversation states.
Surfaces the conversation state used to show the chat bubble.
Surfaces if the MapGpt feature is available.
Surfaces a session error when there is one available. If there is no error, the value is null
.
Surfaces the current MapGPT connection state.
Functions
Apply the Mapbox styles to the provided ComposeView. This is often needed to use the Mapbox Compose components.
Default UI for the MapGPT carousel. This includes the chat bubble and clickable cards.
When building your own MapGPT UI, you should use this composable to connect the MapGPT state to your UI. This is also called in the default UI and is not required.
Default UI used for opening the keyboard mode.
Default UI for the MapGPT chat with the keyboard feature.
Function to handle activating the voice assistant.
Function to handle the user selecting a card from the keyboard mode.
Function to send a message through the keyboard mode.
Function that can be used to preview components.