requestLLMStructuredOneShot
open suspend override fun <T> requestLLMStructuredOneShot(structure: StructuredData<T>): StructuredResponse<T>(source)
Sends a request to the LLM using the given structured data and expects a structured response in one attempt. Updates the prompt with the raw response received from the LLM.
Return
A structured response containing both the parsed data and the raw response text from the LLM.
Parameters
structure
The structured data defining the schema, examples, and parsing logic for the response.