Class DefaultChatClient.DefaultCallResponseSpec
java.lang.Object
org.springframework.ai.chat.client.DefaultChatClient.DefaultCallResponseSpec
- All Implemented Interfaces:
ChatClient.CallResponseSpec
- Enclosing class:
- DefaultChatClient
public static class DefaultChatClient.DefaultCallResponseSpec
extends Object
implements ChatClient.CallResponseSpec
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncontent()
protected <T> ResponseEntity<ChatResponse,
T> <T> T
<T> T
entity
(StructuredOutputConverter<T> structuredOutputConverter) <T> T
entity
(org.springframework.core.ParameterizedTypeReference<T> type) <T> ResponseEntity<ChatResponse,
T> responseEntity
(Class<T> type) <T> ResponseEntity<ChatResponse,
T> responseEntity
(StructuredOutputConverter<T> structuredOutputConverter) <T> ResponseEntity<ChatResponse,
T> responseEntity
(org.springframework.core.ParameterizedTypeReference<T> type)
-
Constructor Details
-
DefaultCallResponseSpec
-
-
Method Details
-
responseEntity
- Specified by:
responseEntity
in interfaceChatClient.CallResponseSpec
-
responseEntity
public <T> ResponseEntity<ChatResponse,T> responseEntity(org.springframework.core.ParameterizedTypeReference<T> type) - Specified by:
responseEntity
in interfaceChatClient.CallResponseSpec
-
responseEntity
public <T> ResponseEntity<ChatResponse,T> responseEntity(StructuredOutputConverter<T> structuredOutputConverter) - Specified by:
responseEntity
in interfaceChatClient.CallResponseSpec
-
doResponseEntity
-
entity
public <T> T entity(org.springframework.core.ParameterizedTypeReference<T> type) - Specified by:
entity
in interfaceChatClient.CallResponseSpec
-
entity
- Specified by:
entity
in interfaceChatClient.CallResponseSpec
-
entity
- Specified by:
entity
in interfaceChatClient.CallResponseSpec
-
chatResponse
- Specified by:
chatResponse
in interfaceChatClient.CallResponseSpec
-
content
- Specified by:
content
in interfaceChatClient.CallResponseSpec
-