Package io.dapr.client.domain
Class ConversationInputAlpha2
java.lang.Object
io.dapr.client.domain.ConversationInputAlpha2
Represents an Alpha2 input for conversation with enhanced message support.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of conversation messages.booleanChecks if Personally Identifiable Information (PII) should be scrubbed before sending to the LLM.setScrubPii(boolean scrubPii) Enable obfuscation of sensitive information present in the content field.
-
Constructor Details
-
ConversationInputAlpha2
Constructor.- Parameters:
messages- the list of conversation messages
-
-
Method Details
-
getMessages
Gets the list of conversation messages.- Returns:
- the list of messages
-
isScrubPii
public boolean isScrubPii()Checks if Personally Identifiable Information (PII) should be scrubbed before sending to the LLM.- Returns:
trueif PII should be scrubbed,falseotherwise.
-
setScrubPii
Enable obfuscation of sensitive information present in the content field. Optional- Parameters:
scrubPii- A boolean indicating whether to remove PII.- Returns:
- this.
-