Package io.dapr.client.domain
Class ConversationResponseAlpha2
java.lang.Object
io.dapr.client.domain.ConversationResponseAlpha2
Alpha2 response from the Dapr Conversation API with enhanced features.
-
Constructor Summary
ConstructorsConstructorDescriptionConversationResponseAlpha2(String contextId, List<ConversationResultAlpha2> outputs) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionThe ID of an existing chat (like in ChatGPT).Get list of conversation outputs (Alpha2 format).
-
Constructor Details
-
ConversationResponseAlpha2
Constructor.- Parameters:
contextId- context id supplied to LLM.outputs- outputs from the LLM (Alpha2 format).
-
-
Method Details
-
getContextId
The ID of an existing chat (like in ChatGPT).- Returns:
- String identifier.
-
getOutputs
Get list of conversation outputs (Alpha2 format).- Returns:
- List
ConversationResultAlpha2.
-