Package-level declarations

Types

Link copied to clipboard
data class PromptUiState(val modelInfo: ModelInstanceUiModel? = null, val messages: List<PromptOrResponseUiModel> = listOf(), val inProgress: TextPromptUiModel? = null)

Functions

Link copied to clipboard
fun PromptScreen(uiState: PromptUiState, modifier: Modifier = Modifier, columnState: ScalingLazyColumnState = rememberColumnState( ScalingLazyColumnDefaults.responsive( firstItemIsFullWidth = false, ), ), onSettingsClick: () -> Unit? = null, promptDisplay: @Composable (PromptOrResponseUiModel) -> Unit = { PromptOrResponseDisplay( promptResponse = it, onClick = {}, ) }, promptEntry: @Composable () -> Unit)

A screen to display metrics, e.g. workout metrics. It can display up to four metrics, and it's recommended that at least two metrics should be displayed.