AIUIComponent

fun AIUIComponent(definition: AIUIComponentDefinition, content: @Composable (arguments: Map<String, Any?>, context: AIUIComponentContext) -> Unit): AIUIComponent

An AIUIComponent that shows content.

Parameters

definition

Its description, the same on every platform and for the agent.

content

How it looks for the arguments the agent wrote.