ConversationalAgentSignal.SignalContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.