Uses of Interface
org.springframework.ai.converter.StructuredOutputConverter
Packages that use StructuredOutputConverter
Package
Description
Chat client API.
Provides converters for transforming AI model text outputs into structured Java types.
-
Uses of StructuredOutputConverter in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client with parameters of type StructuredOutputConverterModifier and TypeMethodDescriptionprotected <T> ResponseEntity<ChatResponse,T> DefaultChatClient.DefaultCallResponseSpec.doResponseEntity(StructuredOutputConverter<T> outputConverter) protected <T> ResponseEntity<ChatResponse,T> DefaultChatClient.DefaultCallResponseSpec.doResponseEntity(StructuredOutputConverter<T> outputConverter, BaseAdvisorChain advisorChain) <T> @Nullable TChatClient.CallResponseSpec.entity(StructuredOutputConverter<T> structuredOutputConverter) Deserializes the response using the given converter.<T> @Nullable TChatClient.CallResponseSpec.entity(StructuredOutputConverter<T> structuredOutputConverter, Consumer<ChatClient.EntityParamSpec> entityParamSpecConsumer) Deserializes the response using the given converter, with behaviour configured via theentityParamSpecConsumer.<T> @Nullable TDefaultChatClient.DefaultCallResponseSpec.entity(StructuredOutputConverter<T> structuredOutputConverter) <T> @Nullable TDefaultChatClient.DefaultCallResponseSpec.entity(StructuredOutputConverter<T> structuredOutputConverter, Consumer<ChatClient.EntityParamSpec> entitySpecConsumer) <T> ResponseEntity<ChatResponse,T> ChatClient.CallResponseSpec.responseEntity(StructuredOutputConverter<T> structuredOutputConverter) Returns aResponseEntitycontaining both the completeChatResponseobject and an entity converted using a specifiedStructuredOutputConverter.<T> ResponseEntity<ChatResponse,T> ChatClient.CallResponseSpec.responseEntity(StructuredOutputConverter<T> structuredOutputConverter, Consumer<ChatClient.EntityParamSpec> entityParamSpecConsumer) Returns aResponseEntitycontaining both the completeChatResponseobject and an entity converted using a specifiedStructuredOutputConverter, with behaviour configured via theentityParamSpecConsumer.<T> ResponseEntity<ChatResponse,T> DefaultChatClient.DefaultCallResponseSpec.responseEntity(StructuredOutputConverter<T> structuredOutputConverter) <T> ResponseEntity<ChatResponse,T> DefaultChatClient.DefaultCallResponseSpec.responseEntity(StructuredOutputConverter<T> structuredOutputConverter, Consumer<ChatClient.EntityParamSpec> entityParamSpecConsumer) -
Uses of StructuredOutputConverter in org.springframework.ai.converter
Classes in org.springframework.ai.converter that implement StructuredOutputConverterModifier and TypeClassDescriptionclassAbstractStructuredOutputConverterimplementation that uses a pre-configuredDefaultConversionServiceto convert the LLM output into the desired type format.classAbstractStructuredOutputConverterimplementation that uses a pre-configuredMessageConverterto convert the LLM output into the desired type format.classAn implementation ofStructuredOutputConverterthat transforms the LLM output to a specific object type using JSON schema.classStructuredOutputConverterimplementation that uses aDefaultConversionServiceto convert the LLM output into aListinstance.classStructuredOutputConverterimplementation that uses a pre-configuredJacksonJsonMessageConverterto convert the LLM output into a java.util.Map<String, Object> instance.