Interface ChatClient.CallResponseSpec
- All Known Implementing Classes:
DefaultChatClient.DefaultCallResponseSpec
- Enclosing interface:
- ChatClient
public static interface ChatClient.CallResponseSpec
-
Method Summary
Modifier and TypeMethodDescription@Nullable org.springframework.ai.chat.model.ChatResponse@Nullable Stringcontent()<T> @Nullable T<T> @Nullable Tentity(org.springframework.ai.converter.StructuredOutputConverter<T> structuredOutputConverter) <T> @Nullable Tentity(org.springframework.core.ParameterizedTypeReference<T> type) <T> ResponseEntity<org.springframework.ai.chat.model.ChatResponse,T> responseEntity(Class<T> type) <T> ResponseEntity<org.springframework.ai.chat.model.ChatResponse,T> responseEntity(org.springframework.ai.converter.StructuredOutputConverter<T> structuredOutputConverter) <T> ResponseEntity<org.springframework.ai.chat.model.ChatResponse,T> responseEntity(org.springframework.core.ParameterizedTypeReference<T> type)
-
Method Details
-
entity
<T> @Nullable T entity(org.springframework.core.ParameterizedTypeReference<T> type) -
entity
<T> @Nullable T entity(org.springframework.ai.converter.StructuredOutputConverter<T> structuredOutputConverter) -
entity
-
chatClientResponse
ChatClientResponse chatClientResponse() -
chatResponse
@Nullable org.springframework.ai.chat.model.ChatResponse chatResponse() -
content
@Nullable String content() -
responseEntity
-
responseEntity
<T> ResponseEntity<org.springframework.ai.chat.model.ChatResponse,T> responseEntity(org.springframework.core.ParameterizedTypeReference<T> type) -
responseEntity
<T> ResponseEntity<org.springframework.ai.chat.model.ChatResponse,T> responseEntity(org.springframework.ai.converter.StructuredOutputConverter<T> structuredOutputConverter)
-