Package io.dapr.client.domain
Class ConversationResponse
java.lang.Object
io.dapr.client.domain.ConversationResponse
Response from the Dapr Conversation API.
-
Constructor Summary
ConstructorsConstructorDescriptionConversationResponse(String contextId, List<ConversationOutput> outputs) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionThe ID of an existing chat (like in ChatGPT).Get list of conversation outputs.
-
Constructor Details
-
ConversationResponse
Constructor.- Parameters:
contextId- context id supplied to LLM.outputs- outputs from the LLM.
-
-
Method Details
-
getContextId
The ID of an existing chat (like in ChatGPT).- Returns:
- String identifier.
-
getConversationOutputs
Get list of conversation outputs.- Returns:
- List
ConversationOutput.
-