Share via


ConversationalAgentSignal.SignalContext Property

Definition

Gets or sets the context for the ConversationalAgentSignal.

public:
 property Platform::Object ^ SignalContext { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable SignalContext();

void SignalContext(IInspectable value);
public object SignalContext { get; set; }
var object = conversationalAgentSignal.signalContext;
conversationalAgentSignal.signalContext = object;
Public Property SignalContext As Object

Property Value

Object

Platform::Object

IInspectable

The signal context.

Remarks

The Windows Conversational Agent platform can detect other ConversationalAgentSignal during an active ConversationalAgentSession (see ConversationalAgentState). As a session is already in progress, the ConversationalAgent can decide to use it in the context of the current session, or ignore it.

An example of this behavior is when the user utters "Hey Cortana, set a reminder", Cortana begins to respond with “What would you like... [to be reminded of?]”, and the user interrupts the response with additional instructions like "pick up flowers for mom". Cortana gets this new signal and stops speaking to process the new input in the context of the original intent detection.

Applies to