llmSendMessageStructured

fun <T> llmSendMessageStructured(name: String? = null, config: ERROR CLASS: Symbol not found for StructuredRequestConfig<T>, fixingParser: ERROR CLASS: Symbol not found for StructureFixingParser??): AIAgentNodeBase<ERROR CLASS: Symbol not found for Message.User, ERROR CLASS: Symbol not found for Result<ERROR CLASS: Symbol not found for StructuredResponse<T>>>(source)

A node that appends a Message.User to the prompt and requests a structured response from the LLM.

Parameters

name

Optional node name, defaults to delegate's property name.

config

The StructuredRequestConfig defining the expected output type.

fixingParser

Optional StructureFixingParser for correcting malformed responses.