llmSendMessage

fun llmSendMessage(name: String? = null): AIAgentNodeBase<ERROR CLASS: Symbol not found for Message.User, ERROR CLASS: Symbol not found for Message.Assistant>(source)

Creates and returns a node for the AI agent strategy graph that is responsible for sending a message.

Return

An instance of AIAgentNodeBase that represents the message-sending operation. The node processes input of type Message.User and produces output of type Message.Assistant.

Parameters

name

An optional name for the node. If null, a default name is assigned.