Class OrchestrationSpringChatResponse
java.lang.Object
org.springframework.ai.chat.model.ChatResponse
com.sap.ai.sdk.orchestration.spring.OrchestrationSpringChatResponse
- All Implemented Interfaces:
org.springframework.ai.model.ModelResponse<org.springframework.ai.chat.model.Generation>
public final class OrchestrationSpringChatResponse
extends org.springframework.ai.chat.model.ChatResponse
Response from the orchestration service in a Spring AI
ChatResponse.
For blocking calls that execute tools internally, the usage metadata covers every request made
for the call, while getOrchestrationResponse() describes the final request only.
- Since:
- 1.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.ai.chat.model.ChatResponse
org.springframework.ai.chat.model.ChatResponse.Builder -
Method Summary
Methods inherited from class org.springframework.ai.chat.model.ChatResponse
builder, getMetadata, getResult, getResults, hasFinishReasons, hasToolCalls
-
Method Details
-
getOrchestrationResponse
-
toString
- Overrides:
toStringin classorg.springframework.ai.chat.model.ChatResponse
-
equals
- Overrides:
equalsin classorg.springframework.ai.chat.model.ChatResponse
-
canEqual
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.springframework.ai.chat.model.ChatResponse
-