llmRequestStructured
fun <T : Any> llmRequestStructured(name: String? = null, config: ERROR CLASS: Symbol not found for StructuredRequestConfig<T>, fixingParser: ERROR CLASS: Symbol not found for StructureFixingParser??): AIAgentNodeBase<String, ERROR CLASS: Symbol not found for Result<ERROR CLASS: Symbol not found for StructuredResponse<T>>>(source)
A node that sends a user message 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.